Re: [PATCH][RFC] Always require a 64bit HWI

2014-04-30 Thread John David Anglin
this change as I know this causes support issues. The HP ansi C compiler and aCC have long long. This is not an issue for linux. I believe people can find HP-UX GCC binaries on the net. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH][RFC] Always require a 64bit HWI

2014-04-30 Thread John David Anglin
ber but without ansi support one needs to start with an early 4.X version. Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Fix PR60706

2014-04-08 Thread John David Anglin
32 and 64 bits. Dave -- John David Anglin dave.ang...@bell.net

Re: [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*

2014-04-06 Thread John David Anglin
On 6-Apr-14, at 12:51 PM, Mike Stump wrote: On Apr 6, 2014, at 9:23 AM, John David Anglin wrote: This test is an expected fail on hppa*-*-hpux* because there is no lockless atomic support. One can add “no lockless atomic” in there somewhere… The reason is that a secondary port that

[committed] g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*

2014-04-06 Thread John David Anglin
Fixes PR testsuite/60671. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR testsuite/60671 g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux

[committed] g++.dg/cpp1y/auto-fn25.C: Require lto

2014-04-06 Thread John David Anglin
Changes fixes fail on hppa2.0w-hp-hpux11.11. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR testsuite/60672 * g++.dg/cpp1y/auto-fn25.C: Require lto. Index

[committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*

2014-04-06 Thread John David Anglin
This test is an expected fail on hppa*-*-hpux* because there is no lockless atomic support. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin * gcc.dg/atomic/stdatomic

[committed] Generate debug line info for thunks on hppa

2014-04-06 Thread John David Anglin
fixes PR debug/55794. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR debug/55794 * config/pa/pa.c (pa_output_function_epilogue): Skip

Re: [PATCH]: Revise gcse.c to handle parallels TRAP_IF and other RTL codes not handled by single_set

2014-04-04 Thread John David Anglin
On 4/4/2014 11:27 AM, Jeff Law wrote: On 03/13/14 17:06, John David Anglin wrote: This patch fixes PR rtl-optimization/60155. The PA backend has a number of INSN patterns which trap on signed overflow. These are implemented as parallels using the trap_if code. Currently, single_set does not

Re: [committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-27 Thread John David Anglin
On 24-Mar-14, at 2:45 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy) @@ -1,5 +1,6 @@ /* { dg

Re: [committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-24 Thread John David Anglin
On 3/24/2014 2:45 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy) @@ -1,5 +1,6 @@ /* { dg-do

Re: [committed] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux*

2014-03-24 Thread John David Anglin
On 3/24/2014 2:48 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/tree-prof/pr59003.c === --- gcc.dg/tree-prof/pr59003.c (revision 208769) +++ gcc.dg/tree-prof/pr59003.c (working copy) @@ -1,6 +1,7 @@ /* PR

[PATCH] Fix g++.dg/opt/pr56999.C

2014-03-23 Thread John David Anglin
ved to non-exported definition in file "/var/tmp// ccUra9KR.o". FAIL: g++.dg/opt/pr56999.C -std=gnu++98 (test for excess errors) Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net pr56999.C.d Description: Binary data

[committed] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux*

2014-03-23 Thread John David Anglin
gcc.dg/tree-prof/pr59003.c fails on hppa*-*-hpux* because of limited variable alignment when -fno-common is not specified in the options. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David

[committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-23 Thread John David Anglin
The test fails because there is no undefined weak support on 32-bit hpux. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin * gcc.dg/torture/pr60092.c: Skip on 32-bit

[committed] Skip gfortran.dg/erf_3.F90 and gfortran.dg/round_4.f90 on hppa*-*-hpux*

2014-03-23 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin PR libfortran/59313 PR libfortran/58015 * gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux

[committed] Skip compilation of testsuite/23_containers/bitset/45713.cc on hppa*64*-*-*

2014-03-23 Thread John David Anglin
This test fails on hppa*64*-*-* since bitsizetype is not wider than sizetype. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin * testsuite/23_containers/bitset/45713.cc

[committed] Update baseline symbols for hppa-unknown-linux-gnu

2014-03-23 Thread John David Anglin
The attached symbol update fixes libstdc++/60623. Tested on hppa-unknown-linux-gnu and committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin PR libstdc++/60623 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update

[PATCH]: Revise gcse.c to handle parallels TRAP_IF and other RTL codes not handled by single_set

2014-03-13 Thread John David Anglin
-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-03-13 John David Anglin PR rtl-optimization/60155 * gcse.c (record_set_data): New function. (single_set_gcse): Ne

Re: [PATCH] Fix overflows in get_ref_base_and_extent (PR tree-optimization/59779)

2014-03-13 Thread John David Anglin
e can end up with negative bit_offset here. We might want to store a zero offset in this case. */ - *poffset = hbit_offset; - *psize = bitsize; - *pmax_size = maxsize; + *poffset = bit_offset.to_shwi (); + if (!maxsize.fits_shwi () || maxsize.is_negative ()) +*pmax_size = -1; + else +*pmax_size = maxsize.to_shwi (); return exp; } Jakub -- John David Anglindave.ang...@bell.net

[committed] Fix ICE caused by adjusting potentially invalid addresses in pa_output_move_double

2014-02-24 Thread John David Anglin
11.11. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2014-02-24 John David Anglin * config/pa/pa.c (pa_output_move_double): Don't valididate when adjusting offsetable addresses. Index: conf

[committed] Remove auto increment FIXME from pa.c

2014-02-12 Thread John David Anglin
This hunk of code disabling auto increment instructions can be removed on the trunk now that PR middle-end/56791 is fixed there. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-02-12 John David Anglin

[committed] Fix simplification and argument expansion of TLS references on PA

2014-02-04 Thread John David Anglin
. Dave -- John David Anglin dave.ang...@bell.net 2014-02-04 John David Anglin PR target/59777 * config/pa/pa.c (legitimize_tls_address): Return original address if not passed a SYMBOL_REF rtx. (hppa_legitimize_address): Call legitimize_tls_address for all TLS

[committed] hppa: Use indirect long call to non-local functions when generating 32-bit code

2014-01-26 Thread John David Anglin
, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-01-26 John David Anglin * config/pa/pa.md (call): Generate indirect long calls to non-local functions when outputing 32-bit code. (call_value

[committed] Slightly improve some indirect call sequences on PA

2014-01-26 Thread John David Anglin
known-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-01-26 John David Anglin * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of portable runtime and PIC indirect

[committed] Fix length of long non-pic millicode calls on PA

2014-01-19 Thread John David Anglin
$$sh_func_adrs. It has a couple of branches that branch past the call when a call isn't needed. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2014-01-19 John David Anglin * c

[committed] Fix long call support for indirect calls on hppa

2014-01-17 Thread John David Anglin
David Anglin dave.ang...@bell.net 2014-01-17 John David Anglin * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when TARGET_LONG_CALLS is true. Index: config/pa

[committed] Fix PR target/59652: reload problem for 14-bit register offsets

2014-01-07 Thread John David Anglin
own- linux-gnu. Committed to trunk and 4.8 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-01-07 John David Anglin PR target/59652 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload for 14-bit register offsets when INT14_OK_

[committed] Skip run/compile on hppa*-*-* for various tests that fail with a branch of one

2014-01-05 Thread John David Anglin
This change adds hppa*-*-* to the lists of targets that fail in these tests. The tests fail with the PA7XXX scheduling models that have a branch cost pf 1. Tested on hppa1.1-hp-hpux11.11, hppa2.0-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net

Re: Revert libsanitizer patches or fix 59009

2013-11-15 Thread John David Anglin
o you want the asan/asan_linux.cc (# elif defined(__hppa__)) part to be in the llvm tree? --kcc On Sat, Nov 16, 2013 at 3:55 AM, John David Anglin > wrote: On 15-Nov-13, at 9:51 AM, Jakub Jelinek wrote: On Fri, Nov 15, 2013 at 08:16:47AM -0600, Peter Bergner wrote: On Wed, 2013-11-13 at 11:25

Re: Revert libsanitizer patches or fix 59009

2013-11-15 Thread John David Anglin
/configure.tgt says that hppa* is UNSUPPORTED, so libsanitizer should never be built there. Furthermore, it would be nice to understand why the sigaction is different. Actually, it turns out I have had a patch in my tree enabling it. Dave -- John David Anglin dave.ang...@bell.net Index

[committed] Skip long double test in c-c++-common/opaque-vector.c on hppa

2013-10-19 Thread John David Anglin
John David Anglin dave.ang...@bell.net 2013-10-19 John David Anglin * c-c++-common/opaque-vector.c: Skip long double test on hppa. Index: c-c++-common/opaque-vector.c === --- c-c++-common/opaque-vector.c(rev

[committed] Skip gnat.dg/specs/linker_alias.ads on hppa*-*-hpux*

2013-10-19 Thread John David Anglin
Skipped because alias definitions are not supported on 32-bit hpux targets. Tested on hppa2.0w-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-10-19 John David Anglin PR testsuite/58645 * gnat.dg/specs/linker_alias.ads: Skip on hppa*-*-hpux

[committed] Fix identifier conflict on hppa*-*-hpux*

2013-10-19 Thread John David Anglin
The attached change fixes an identifer conflict caused by renaming the member _slot to m_slot. This fixes PR target/58603. Committed as obvious. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp- hpux11.11 and hppa1.1-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-10-19

[committed] Define extra_parts on hppa*64*-*-linux* and hppa*-*-linux*

2013-10-02 Thread John David Anglin
John David Anglin dave.ang...@bell.net

[committed] Don't define MULTIARCH_DIRNAME on hppa*64*-*-linux*

2013-10-02 Thread John David Anglin
_file variable in config.gcc. Tested on hppa-unknown-linux-gnu and committed to trunk, 4.8 and 4.7. Dave -- John David Anglin dave.ang...@bell.net 2013-10-02 John David Anglin * config.gcc (hppa*64*-*-linux*): Don't add pa/t-linux to tmake_file. Index:

[PATCH] Fix bootstrap with java on multiarch systems

2013-09-28 Thread John David Anglin
OK to backport the attached change to 4.7 and 4.8? Dave -- John David Anglin dave.ang...@bell.net 2013-09-28 John David Anglin PR driver/58505 Backport from mainline: 2013-05-22 Matthias Klose * jvspec.c (jvgenmain_spec): Add %I to cc1 call. Index

[committed] Work around auto increment/decrement reload issue on PA

2013-09-20 Thread John David Anglin
ed to trunk and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2013-09-20 John David Anglin PR middle-end/56791 * config/pa/pa.c (pa_option_override): Disable auto increment and decrement instructions until reload is completed. Index: config/pa

[commited] Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_[1,2,4] on PA linux

2013-09-20 Thread John David Anglin
Anglin dave.ang...@bell.net 2013-09-20 John David Anglin * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2, and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Index: config/pa/pa-linux.h

Re: [committed] Accept "const_int 0" operand 1 in PA "scc" insns

2013-09-20 Thread John David Anglin
The attached change fixes a regression in my last change. Detected on 4.8 branch. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-09-20 John David Anglin * config/pa/pa.md: In "scc" insn patterns, cha

[committed] Fix incorrect mode used in pa_expand_prologue

2013-09-14 Thread John David Anglin
Dave -- John David Anglin dave.ang...@bell.net 2013-09-14 John David Anglin PR target/58382 * config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC calls to word_mode. Index: config/pa/pa.c =

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-09-01 Thread John David Anglin
R_P (y) && hard_regno_nregs[REGNO(y)][mode] == 1)) try_int = false; Eric, your patch works for me. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net Index: expr.c ==

[committed] Accept "const_int 0" operand 1 in PA "scc" insns

2013-09-01 Thread John David Anglin
The patch fixes this inconsistency. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Applied to active branches. Dave -- John David Anglin dave.ang...@bell.net 2013-09-01 John David Anglin * config/pa/pa.md: Allow &quo

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-29 Thread John David Anglin
y to trigger a reload pattern for this case in the backend. There are no reloads patterns for insert and extract operations. The middle is supposed to handle it. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-29 Thread John David Anglin
On 29-Aug-13, at 6:52 PM, Steven Bosscher wrote: Can the target make the move I'm asking for without introducing new registers... Yes, it can execute extract and insert instructions using the same source and target register. Of course, this clobbers the source. Dave -- John David A

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-28 Thread John David Anglin
On 24-Aug-13, at 6:43 AM, Steven Bosscher wrote: On Fri, Aug 23, 2013 at 2:47 AM, John David Anglin wrote: Ping. On 28-Jul-13, at 12:17 PM, John David Anglin wrote: This patch fixes PR middle-end/56382 on hppa64-hp-hpux11.11. The patch prevents moving a complex float by parts if we

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-24 Thread John David Anglin
On 24-Aug-13, at 10:37 AM, John David Anglin wrote: On 24-Aug-13, at 6:43 AM, Steven Bosscher wrote: I'm trying to understand how the patch would help... The code you're patching is: /* Move floating point as parts. */ if (GET_MODE_CLASS (mode) == MODE_COM

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-24 Thread John David Anglin
de, rtx x, return get_last_insn (); } - ret = emit_move_via_integer (mode, x, y, true); + ret = emit_move_via_integer (mode, x, y, can_create_pseudo_p ()); if (ret) return ret; } Thanks, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-08-22 Thread John David Anglin
Ping. On 28-Jul-13, at 12:17 PM, John David Anglin wrote: This patch fixes PR middle-end/56382 on hppa64-hp-hpux11.11. The patch prevents moving a complex float by parts if we can't create pseudos. On a big endian 64-bit target, we need a psuedo to move a complex float and this

[PATCH]: Fix PR middle-end/56382 -- Only move MODE_COMPLEX_FLOAT by parts if we can create pseudos

2013-07-28 Thread John David Anglin
This patch fixes PR middle-end/56382 on hppa64-hp-hpux11.11. The patch prevents moving a complex float by parts if we can't create pseudos. On a big endian 64-bit target, we need a psuedo to move a complex float and this fails during reload. OK for trunk? Dave -- John David A

Re: [PATCH] Fix nested function support on OpenBSD/hppa

2013-07-25 Thread John David Anglin
MBOL_REF (Pmode, "__enable_execute_stack"), +LCT_NORMAL, VOIDmode, 1, XEXP (m_tramp, 0), Pmode); +#endif } /* Perform any machine-specific adjustment in the address of the trampoline. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Small OpenBSD/hppa cleanup

2013-07-25 Thread John David Anglin
PA_11" tm_file="${tm_file} dbxelf.h elfos.h openbsd.h openbsd-stdint.h openbsd-libpthread.h \ pa/pa-openbsd.h pa/pa32-regs.h pa/pa32-openbsd.h" - tmake_file="${tmake_file} pa/t-openbsd" extra_options="${extra_options} openbsd.opt"

Re: Can -mno-big-switch be removed from the PA port?

2013-05-05 Thread John David Anglin
On 14-Apr-13, at 7:37 AM, Steven Bosscher wrote: On Tue, Apr 9, 2013 at 3:46 AM, John David Anglin wrote: Seems to cause a reload problem: Problem may be in not removing the continuation character "\" from various macro definitions. Right, ASM_OUTPUT_ADDR_V

Re: Can -mno-big-switch be removed from the PA port?

2013-04-22 Thread John David Anglin
On 14-Apr-13, at 7:37 AM, Steven Bosscher wrote: On Tue, Apr 9, 2013 at 3:46 AM, John David Anglin wrote: Seems to cause a reload problem: Problem may be in not removing the continuation character "\" from various macro definitions. Right, ASM_OUTPUT_ADDR_V

[committed] Fix GCC bootstrap on hppa*-*-hpux* using HP cat

2013-04-06 Thread John David Anglin
branch? This is a 4.7 regression. Dave -- John David Anglin dave.ang...@bell.net 2013-04-06 John David Anglin PR other/55274 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define. Index: config/t-slibgcc-hpux

[committed] Fix PR target/55487: Don't increment label nuses on NOTE_INSN_DELETED_LABEL notes

2013-04-06 Thread John David Anglin
The fix is obvious. Tested on hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu with no observed regressions. Committed to 4.8 and trunk. Dave -- John David Anglin dave.ang...@bell.net 2013-04-06 John David Anglin PR target/55487 * config/pa/pa.c

Re: [committed] xfail gcc.dg/tree-ssa/pr55579.c on 32-bit hppa*-*-hpux*

2013-03-11 Thread John David Anglin
on hppa2.0w-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-11 John David Anglin * gcc.dg/tree-ssa/vector-4.c: Add comment regarding xfail. * gcc.dg/tree-ssa/pr55579.c: Likewise. Index: gcc.dg/tree-ssa/vector-4.c

[committed] xfail gcc.dg/tree-ssa/vector-4.c on 32-bit hppa*-*-*

2013-03-10 Thread John David Anglin
This is a callee copy issue. Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin PR testsuite/54119 * gcc.dg/tree-ssa/vector-4.c: xfail on 32-bit hppa

[committed] xfail gcc.dg/tree-ssa/pr55579.c on 32-bit hppa*-*-hpux*

2013-03-10 Thread John David Anglin
Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin PR debug/56307 * gcc.dg/tree-ssa/pr55579.c: xfail 32-bit hppa*-*-hpux*. Index: gcc.dg/tree-ssa/pr55579.c

[committed] Skip compilation of gcc.dg/pr44194-1.c on hppa64-*-*

2013-03-10 Thread John David Anglin
Compilation of gcc.dg/pr44194-1.c fails on hppa*64*-*-* and needs to skipped as on most other 64-bit targets. Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin

Re: [committed] Work around bug in powf function on HP-UX

2013-03-10 Thread John David Anglin
On 18-Feb-13, at 11:45 AM, John David Anglin wrote: 2013-02-18 John David Anglin PR target/56347 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark registers %fr12 and %fr12R as call used. I committed the attached change. It no longer unconditionally

[PATCH] Remove broken powf hack

2013-02-18 Thread John David Anglin
(613) 990-0752 (FAX: 952-6602) 2013-02-18 John David Anglin PR target/56347 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for broken powf. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise. * intrinsics/c99_functions.c: Likewise

[committed] Work around bug in powf function on HP-UX

2013-02-18 Thread John David Anglin
ed on hppa2.0w-hp-hpux11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-02-18 John David Anglin PR target/

[committed] Fix PR target/56214

2013-02-18 Thread John David Anglin
...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-02-18 John David Anglin PR target/56214 * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode and HImode, require all displacements to be an integer

Re: [PATCH] Disable PCH for -g other than dwarf[234] (PR pch/54117, take 2)

2013-02-18 Thread John David Anglin
The patch successfully disables stabs+PCH on hppa2.0w-hp-hpux11.11 and fixes the testsuite regressions. Also tested on hppa64-hp-hpux11.11 with no regressions. On 2013-02-15 9:08 AM, Jakub Jelinek wrote: On Thu, Feb 14, 2013 at 05:48:57AM -0700, Jeff Law wrote: I think two tests should be su

Re: [PATCH] Temporarily revert Steven's PCH changes for 4.8 (PR pch/54117)

2013-02-13 Thread John David Anglin
On 2013-02-13 3:33 PM, David Edelsohn wrote: Perhaps Dave can explain what would have to be done to move this > platform to DWARF2...? > I had looked at this a bit in the past. I don't think it's that difficult to add DWARF2 support to GCC on hppa. Although we don't support named sect

Re: [committed] Delete GO_IF_LEGITIMATE_ADDRESS on PA target

2013-02-03 Thread John David Anglin
On 3-Feb-13, at 3:25 PM, John David Anglin wrote: Committed to trunk. Oops, forgot to attach change. Dave -- John David Anglin dave.ang...@bell.net 2013-02-03 John David Anglin * config/pa/constraints.md: Adjust unused letters. Change "T" constraint to

[committed] Delete GO_IF_LEGITIMATE_ADDRESS on PA target

2013-02-03 Thread John David Anglin
The main goal of this change was to replace the deprecated GO_IF_LEGITIMATE_ADDRESS macro with TARGET_LEGITIMATE_ADDRESS_P. The patch also modifies the LEGITIMIZE_RELOAD_ADDRESS macro to use pa_legitimize_reload_address and tightens the memory address constraint used for floating point moves and st

[committed] Add DImode atomic load and store patterns on hppa

2013-01-20 Thread John David Anglin
. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-20 John David Anglin * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, atomic_storedi_1

Re: [committed] Update extract and insert patterns on PA

2013-01-09 Thread John David Anglin
Forgot this hunk in last change. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-09 John David Anglin * config/pa/pa.c (pa_emit_move_sequence): Replace calls

[committed] Update extract and insert patterns on PA

2013-01-08 Thread John David Anglin
Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-08 John David Anglin * config/pa/pa.h (VAL_U6_BITS_P): Define. (INT_U6_BITS): Likewise. * config/pa/predicates.md (uint6_operand): New predicate. (shift5_operand, shift6_operand): Likewise

Re: [committed] Fix ICE in gen_reg_rtx, at emit-rtl.c:864/865 compiling GNU MPFR

2013-01-03 Thread John David Anglin
OL_REF_TLS_P (x)) { enum tls_model model = SYMBOL_REF_TLS_MODEL (x); if (model == TLS_MODEL_GLOBAL_DYNAMIC || model == TLS_MODEL_LOCAL_DYNAMIC) return false; } so maybe that should just be: if (PA_SYMBOL_REF_TLS_P (x)) return false; Dave -- John David Anglin dave.ang...@be

[committed] gcc.dg/pr55430.c: Define MAP_FAILED if not defined

2013-01-02 Thread John David Anglin
Tested on hppa1.1-hp-hpux10.20. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-02 John David Anglin * gcc.dg/pr55430.c: Define MAP_FAILED if not defined

Re: [PATCH, libbacktrace] Don't call __sync_lock_test_and_set if we don't have sync functions

2012-12-30 Thread John David Anglin
Ping. On 9-Dec-12, at 2:08 PM, John David Anglin wrote: On hppa*-*-hpux*, we don't have sync functions. However, __sync_lock_test_and_set is called in backtrace_alloc and backtrace_free. This causes an abort before ICE proccessing is fully complete. hppa64 is an ELF target and backt

Re: [PATCH] Fix handling of EXPAND_MEMORY for TFmode memory constraint in asm

2012-12-30 Thread John David Anglin
Ping. On 1-Dec-12, at 5:46 PM, John David Anglin wrote: The attached change fixes the compilation of the following asm in libquadmath/math/fmaq.c: asm volatile ("" : : "m" (v.value)); The issue arises because there is no support for directly loading TFmode objects.

[committed] Fix ICE in gen_reg_rtx, at emit-rtl.c:864/865 compiling GNU MPFR

2012-12-26 Thread John David Anglin
earch Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-25 John David Anglin PR target/53789 * config/pa/pa.md (movsi): Reject expansion of TLS symbol references after reload starts. Index: config/pa/

Re: [PATCH] Fix recent warning about pending_assemble_externals_processed

2012-12-17 Thread John David Anglin
On 12/17/2012 12:08 PM, John David Anglin wrote: On 12/17/2012 11:42 AM, Jan-Benedict Glaw wrote: 2012-12-17 Jan-Benedict Glaw * gcc/varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL. This was fixed on trunk yesterday. The warning must be present on 4.6

Re: [PATCH] Fix recent warning about pending_assemble_externals_processed

2012-12-17 Thread John David Anglin
build error. Thanks, Dave -- John David Anglindave.ang...@bell.net

[PATCH] Fix Infinite loop in pointer_set_insert

2012-12-16 Thread John David Anglin
-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-16 John David Anglin PR middle-end/55709 Forward port from 4.7 branch: 2012-04-10 John David Anglin PR middle-end/52894 * varasm.c

[PATCH, libbacktrace] Find executable on ia64 and 64-bit hppa hpux

2012-12-09 Thread John David Anglin
ch Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin * fileline.c (getexecname): Define to getexecname_hpux on ia64 and 64-bit hppa hpux. (getexecname_hpux): New. Index: fileline.c ==

[PATCH, libbacktrace] Don't call __sync_lock_test_and_set if we don't have sync functions

2012-12-09 Thread John David Anglin
(FAX: 952-6602) 2012-12-09 John David Anglin * mmap.c: Define HAVE_SYNC_FUNCTIONS if not defined. (backtrace_alloc): Don't call __sync_lock_test_and_set if we don't have sync functions. (backtrace_free): Like

[PATCH, libbacktrace] Fix build on hpux10

2012-12-09 Thread John David Anglin
-6602) 2012-12-09 John David Anglin * mmapio.c: Define MAP_FAILED if not defined. Index: mmapio.c === --- mmapio.c(revision 194272) +++ mmapio.c(working copy) @@ -40,6 +40,10 @@ #include "backtrace.h" #incl

[committed] Fix gcc.misc-tests/gcov-12.c test on hpux10

2012-12-09 Thread John David Anglin
: 952-6602) 2012-12-09 John David Anglin * gcc.misc-tests/gcov-12.c: Fix dg order. Index: gcc.misc-tests/gcov-12.c === --- gcc.misc-tests/gcov-12.c(revision 194055) +++ gcc.misc-tests/gcov-12.c(working copy) @@ -1,8

[committed] xfail hooray4 test in gcc.dg/ipa/iinline-4.c on 32-bit hppa

2012-12-09 Thread John David Anglin
Discussion is in PR. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin PR middle-end/54470 * gcc.dg/ipa/iinline

[committed] Fix gcc.dg/torture/pr47917.c on *-*-hpux10*

2012-12-09 Thread John David Anglin
This fixes fail on *-*-hpux10*. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin * gcc.dg/torture/pr47917.c: Change

[committed] Defined MAP_FAILED in gcc.dg/20050826-1.c and gcc.dg/20050826-1.c if not defined

2012-12-09 Thread John David Anglin
This fixes gcc.dg/20030711-1.c and gcc.dg/20050826-1.c on HP-UX 10. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin

Re: [committed] Fix call branch shortening on PA

2012-12-05 Thread John David Anglin
On Mon, 12 Nov 2012, John David Anglin wrote: > The attached change fixes PR target/55195. The attached change updates the above fix. It results in slightly better code being generated by genattrab. However, the main reason for the change is that eliminating the use of match_test makes the

[PATCH] Fix handling of EXPAND_MEMORY for TFmode memory constraint in asm

2012-12-01 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR middle-end/55198 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non BLKmode objects when EXPAND_ME

[committed] Remove xfail for hppa*-*-hpux* from gcc.dg/torture/pr52402.c

2012-12-01 Thread John David Anglin
Test no longer fails on trunk. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR middle-end/52450 * gcc.dg

[committed] Fix ada build on hpux10

2012-12-01 Thread John David Anglin
Tested on hppa1.1.-hp-hpux10.20. Commetted to trunk and 4.7. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR ada/52110 * s

[committed] Fix testsuite/30_threads/condition_variable/members/53841.cc on hppa*-hp-hpux11*

2012-12-01 Thread John David Anglin
cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR libstdc++/55503 * testsuite/30_threads/condition_variable/members/53841.cc: Add hppa*-hp-hpux11* to -pthread dg-options. Index: testsuite/

Re: [5/8] Tweak bitfield alignment handling

2012-11-19 Thread John David Anglin
On Sun, 18 Nov 2012, Richard Sandiford wrote: >HOST_WIDE_INT start = bitpos_ - (bitpos_ % unit); >if (bitregion_start_ && start < bitregion_start_) > break; > - if (bitregion_end_ && start + unit > bitregion_end_ + 1) > + if (start + unit > bitregion_end_ + 1) This

[committed] Fix call branch shortening on PA

2012-11-12 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-11-12 John David Anglin PR target/55195 * config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types. (in_branch_dela

[committed] Add -fno-common to various testcases on hppa*-hp-hpux*

2012-11-11 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-11-11 John David Anglin * gcc.dg

[committed] Remove 32-bit PA DImode and, not and, ior and xor patterns

2012-10-05 Thread John David Anglin
committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-10-05 John David Anglin PR rtl-optimization/54739 * config/pa/pa.md: Remove DImode and

[committed] Fix HImode add pattern on PA

2012-10-05 Thread John David Anglin
1 and hppa64-hp-hpux11.11. Committed to 4.6, 4.7 and trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-10-05 John David Anglin * config/pa/pa.md: Adjust unamed

[committed] Skip gcc.dg/torture/pr53922.c on 32-bit hppa-*-hpux*

2012-09-30 Thread John David Anglin
-- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-09-30 John David Anglin PR target/54083 * gcc.dg/torture/pr53922.c: Skip on 32-bit hppa-*-hpux*. Index: gcc.dg/to

Re: [PATCH] OpenBSD/hppa support

2012-09-18 Thread John David Anglin
On Thu, 06 Sep 2012, Mark Kettenis wrote: > Most bits are stolen from Linux, but there are a few subtle > differences since our assembler is configured to be slightly more > HP-UX-ish. > > > libgcc/: > > 2012-09-06 Mark Kettenis > > * config.host (hppa-*-openbsd*): New target. >

Re: [committed] Fix gnat.dg/lto15.adb on hppa

2012-09-16 Thread John David Anglin
On 16-Sep-12, at 1:27 PM, Eric Botcazou wrote: Thanks for fixing this. The testcase is also on the 4.7 branch. I'm aware of that. Will fix branch after the 4.7.2 release. -- John David Anglin dave.ang...@bell.net

[committed] Fix g++.dg/debug/dwarf2/nested-3.C to handle hppa assembler comment

2012-09-16 Thread John David Anglin
John David Anglin PR debug/54460 * g++.dg/debug/dwarf2/nested-3.C: Add hppa assembler comment character to scary regexp. Index: g++.dg/debug/dwarf2/nested-3.C === --- g++.dg/debug/dwarf2/nested-3.C

<    1   2   3   4   5   6   7   >