[committed] HP-UX 11 reentrant functions

2014-10-13 Thread John David Anglin
ago. This resolves PR libfortran/63471. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-01-13 John David Anglin dave.ang...@nrc-cnrc.gc.ca PR libfortran/63471 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS

[committed] Fix ICE in pa_output_function_epilogue

2014-09-28 Thread John David Anglin
The attached change fixes a segmentation fault that occurs building llvm-toolchain-3.4. Tested on hppa-unknown-linux-gnu. Committed to trunk, 4.9 and 4.8 branches. Dave -- John David Anglin dave.ang...@bell.net 2014-09-28 John David Anglin dang...@gcc.gnu.org * config

[committed] Fix problem handling return value aggregates on PA

2014-09-16 Thread John David Anglin
or double word. This avoids an ICE in store_field. Tested on hppa2.0w-hp-hpux11.11, hppa-unknown-linux-gnu and hppa64-hp- hpux11.11. Committed to trunk and 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-09-16 John David Anglin dang...@gcc.gnu.org PR target

Re: [PATCH v2] Use sscanf instead of atoll in gcov-tool.c

2014-09-14 Thread John David Anglin
On 8-Sep-14, at 5:21 AM, Richard Biener wrote: On Sun, Sep 7, 2014 at 7:36 PM, John David Anglin dave.ang...@bell.net wrote: The attached patch fixes bootstrap on hpux which doesn't have the atoll function. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk? ll

Re: [PATCH] Fix PR debug/60433: Handle TEMPLATE_TYPE_PARM in dbxout_type

2014-09-11 Thread John David Anglin
On 9/11/2014 4:18 PM, Jeff Law wrote: On 09/07/14 11:52, John David Anglin wrote: The attached change fixes an ICE in dbxout_type on hppa2.0w-hp-hpux11.11 compiling auto-fn24.C. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk and 4.9? Is dbxout.c allowed to look

[PATCH] Use sscanf instead of atoll in gcov-tool.c

2014-09-07 Thread John David Anglin
The attached patch fixes bootstrap on hpux which doesn't have the atoll function. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-09-07 John David Anglin dang...@gcc.gnu.org PR gcpv-profile/61790

[PATCH] Fix PR debug/60433: Handle TEMPLATE_TYPE_PARM in dbxout_type

2014-09-07 Thread John David Anglin
The attached change fixes an ICE in dbxout_type on hppa2.0w-hp- hpux11.11 compiling auto-fn24.C. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk and 4.9? Dave -- John David Anglin dave.ang...@bell.net 2014-09-07 John David Anglin dang...@gcc.gnu.org PR

[committed] Require lto for gcc.dg/pr61868.c

2014-09-06 Thread John David Anglin
gcc.dg/pr61868.c requires lto support. The attach change fixes fail on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-09-06 John David Anglin dang...@gcc.gnu.org * gcc.dg/pr61868.c: Require lto. Index

[committed] Require visibility for g++.dg/ipa/pr61800.C

2014-09-06 Thread John David Anglin
The attached change fixes the failure of g++.dg/ipa/pr61800.C 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-09-06 John David Anglin dang...@gcc.gnu.org * g++.dg

[committed] PR testsuite/56194

2014-09-06 Thread John David Anglin
The attached change avoids the failure of the scan-assembler-not check for rodata on hppa*-*-*. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-09-06 John David Anglin dang

[committed] Update libstdc++ baseline symbols on hppa-linux

2014-08-30 Thread John David Anglin
We now have support for future on hppa-linux. The attached change updates the baseline symbols for it. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-08-30 John David Anglin dang...@gcc.gnu.org * config/abi/post

[committed] Don't request function descriptors when generating fast indirect calls on hppa

2014-08-30 Thread John David Anglin
, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-08-30 John David Anglin dang...@gcc.gnu.org * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation prefix to function labels when generating fast indirect calls. Index: config/pa/pa.c

[committed] Update 4.8 baseline symbols on hppa-linux

2014-08-26 Thread John David Anglin
Attached is an update to the baseline symbols on hppa-linux to fix the abi test failure in the current 4.8 tree. Dave -- John David Anglin dave.ang...@bell.net 2014-08-26 John David Anglin dang...@gcc.gnu.org * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update

[committed] Fix bug target/62038 Out of range branch target in thunk

2014-08-23 Thread John David Anglin
- linux-gnu. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-08-23 John David Anglin dang...@gcc.gnu.org PR target/62038 * config/pa/pa.c (pa_output_function_epilogue): Don't set last_address when the current function is a thunk

[committed] Use ASM_OUTPUT_ADDR_VEC and ASM_OUTPUT_ADDR_DIFF_VEC to output branch tables

2014-08-16 Thread John David Anglin
. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Committed to trunk and 4.9. Dave -- John David Anglin dave.ang...@bell.net 2014-08-16 John David Anglin dang...@gcc.gnu.org PR target/61641 * config/pa/pa-protos.h (pa_output_addr_vec

[committed] Use branch with link register for jump from thunk

2014-08-11 Thread John David Anglin
branch so the linker will provide a long branch stub if needed. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11 with no observed regressions. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-08-11 John Dave Anglin

Re: [committed] Use branch with link register for jump from thunk

2014-08-11 Thread John David Anglin
On 11-Aug-14, at 3:24 PM, John David Anglin wrote: Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64- hp-hpux11.11 with no observed regressions. Committed to trunk, 4.9 and 4.8. There is a problem... Patch reverted. Dave -- John David Anglin dave.ang...@bell.net

[committed] Fix alignment in gcc.dg/pr57233.c and c-c++-common/pr50459.c on hppa*-*-hpux*

2014-08-07 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Both hunks committed to trunk. First hunk committed to 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-08-07 John David Anglin dang...@gcc.gnu.org * gcc.dg/pr57233.c: Add -fno-common option on hppa

[committed] Fix failure of gcc.c-torture/compile/pr60655-1.c on 32-bit hppa-hpux

2014-08-07 Thread John David Anglin
32-bit hppa-hpux doesn't support -fdata-sections causing the test to fail. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-08-07 John David Anglin dang...@gcc.gnu.org * gcc.c

[committed] Fix trivial failure of gcc.dg/atomic/c11-atomic-exec-[45].c on hppa-hpux

2014-08-07 Thread John David Anglin
_POSIX_C_SOURCE is predefined on hppa-hpux, so it needs to be undefined before it can be redefined. Tested on hppa2.0-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-08-07 John David Anglin dang

[PATCH] Don't unilaterally include ieeefp.h when checking for fpsetmask

2014-08-07 Thread John David Anglin
The attached change fixes the build of libgfortran on hppa1.1-hp- hpux10.20 (I know I'm going for the oldest system that will build gfortran). OK? Dave -- John David Anglin dave.ang...@bell.net 2014-08-08 John David Anglin dang...@gcc.gnu.org * configure.ac: Guard include

[committed] xfail gfortran.dg/pr45636.f90 on 32-bit hppa-*-*

2014-08-07 Thread John David Anglin
Test fails on all 32-bit hppa systems. Tested on hppa-unknown-linux-gnu. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-08-07 John David Anglin dang...@gcc.gnu.org PR tree-optimization/60707 * gfortran.dg/pr45636.f90: xfail on 32

Re: [committed] Use __kernel_cmpxchg for __sync_lock_release

2014-07-18 Thread John David Anglin
On 7/18/2014 7:28 AM, Mikael Pettersson wrote: John David Anglin writes: Because the atomic sync functions in config/pa/linux-atomic.c are not lock free, we need to use __kernel_cmpxchg for the __sync_lock_release. This was found in glibc's pthread_spin_unlock implementation

[committed] Use __kernel_cmpxchg for __sync_lock_release

2014-07-17 Thread John David Anglin
Because the atomic sync functions in config/pa/linux-atomic.c are not lock free, we need to use __kernel_cmpxchg for the __sync_lock_release. This was found in glibc's pthread_spin_unlock implementation. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin

[committed] Define HAVE_sync_compare_and_swap* on hppa-linux

2014-07-17 Thread John David Anglin
The attached change enables future support using the kernel assisted atomic support. It's a bit of a fudge since the libcall routines are not lock free, but everything appears to work. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-07-08 Thread John David Anglin
hppa*-*-hpux* to hppa*-*-*. Dave -- John David Anglindave.ang...@bell.net

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-07-07 Thread John David Anglin
, @function So, we still need hppa specific version . Dave -- John David Anglindave.ang...@bell.net

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-07-06 Thread John David Anglin
{ cleanup-tree-dump original } } Dominique -- John David Anglin dave.ang...@bell.net

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-07-05 Thread John David Anglin
\]*myBindC,%r2 1 { target { hppa*-*-hpux* } } } } myBindC,%r2 will work on hppa*-*-*. I don't believe preceding stuff is needed on hppa. Dave -- John David Anglin dave.ang...@bell.net

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-07-05 Thread John David Anglin
/-flto}' to see the difference. On hppa, the ,%r2 uniquely identifies the call. The test passes with -flto. Dave -- John David Anglin dave.ang...@bell.net

Re: missing symbols in libstdc++.so.6 built from the 4.9 branch

2014-07-04 Thread John David Anglin
if this works with our library functions :- Dave -- John David Anglindave.ang...@bell.net

Re: missing symbols in libstdc++.so.6 built from the 4.9 branch

2014-07-02 Thread John David Anglin
David Anglin dave.ang...@bell.net

Re: missing symbols in libstdc++.so.6 built from the 4.9 branch

2014-07-01 Thread John David Anglin
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, etc, in pa-linux.h. I'll experiment with defining ATOMIC_INT_LOCK_FREE there. Thanks, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Fix PR middle-end/61141

2014-06-09 Thread John David Anglin
On 6/9/2014 12:41 PM, Jeff Law wrote: What's new is the verification after assembly output. Right. Thanks for the analysis. I know it takes significant time. Not a problem. Thanks for installing the change. Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Fix PR middle-end/61141

2014-06-08 Thread John David Anglin
On 4-Jun-14, at 3:38 AM, Jeff Law wrote: On 05/24/14 12:39, John David Anglin wrote: The insns are being deleted in final after the assembly output has being done. So, for example, pa_output_call is never called with a delayed branch sequence containing a NOTE_INSN_DELETED. OK. That's

Re: [PATCH] Fix PR middle-end/61141

2014-05-24 Thread John David Anglin
should be done before the dbr pass. If dbr_sequence() ignored notes, we would emit the nop. However, it doesn't look like it does. It fairly easy to check for this case but I hesitate to add code to handle cases that aren't supposed to happen. Dave -- John David Anglin dave.ang

Re: [PATCH] Fix PR middle-end/61141

2014-05-19 Thread John David Anglin
Hi Jeff, On 19-May-14, at 1:51 PM, Jeff Law wrote: On 05/18/14 09:33, John David Anglin wrote: The attached change appears to fix PR middle-end/61141. On PA, we can get deleted insn notes in call sequences. The attached change checks to make sure we have a valid insn before calling

[PATCH] Fix PR middle-end/61141

2014-05-18 Thread John David Anglin
-hpux11.11 and hppa64-hp- hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-05-18 John David Anglin dang...@gcc.gnu.org PR middle-end/61141 * emit-rtl.c (reset_all_used_flags): In a sequence, check that XVECEXP (pat, 0, i) is an INSN before

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

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

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

2014-04-30 Thread John David Anglin
with 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
ansi support one needs to start with an early 4.X version. Dave -- John David Anglindave.ang...@bell.net

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

2014-04-30 Thread John David Anglin
with 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] Fix PR60706

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

[committed] Generate debug line info for thunks on hppa

2014-04-06 Thread John David Anglin
. This 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 dang...@gcc.gnu.org PR debug/55794 * config/pa/pa.c

[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 dang...@gcc.gnu.org * gcc.dg

[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 dang...@gcc.gnu.org PR testsuite/60672 * g++.dg/cpp1y/auto-fn25.C

[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 dang...@gcc.gnu.org PR testsuite/60671 g++.dg/pr49718.C: Adjust scan-assembler-times

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 dave.ang...@bell.net 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

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

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 dave.ang...@bell.net writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy

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 dave.ang...@bell.net 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

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 dave.ang...@bell.net writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy) @@ -1,5

[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 dang...@gcc.gnu.org PR libstdc++/60623 * config/abi/post/hppa-linux-gnu

[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 dang...@gcc.gnu.org * testsuite

[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 dang...@gcc.gnu.org PR libfortran/59313 PR libfortran/58015 * gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux

[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 dang...@gcc.gnu.org * gcc.dg/torture/pr60092.c

[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

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

2014-03-23 Thread John David Anglin
-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

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

2014-03-13 Thread John David Anglin
() || maxsize.is_negative ()) +*pmax_size = -1; + else +*pmax_size = maxsize.to_shwi (); return exp; } Jakub -- John David Anglindave.ang...@bell.net

[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
, 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 dang...@gcc.gnu.org PR rtl-optimization/60155 * gcse.c (record_set_data): New function. (single_set_gcse): New function

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

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

[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 dang...@gcc.gnu.org PR target/59777 * config/pa/pa.c (legitimize_tls_address): Return original address if not passed a SYMBOL_REF rtx. (hppa_legitimize_address): Call

[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 dang...@gcc.gnu.org * config/pa/pa.md (call): Generate indirect long calls to non-local functions when outputing 32-bit code

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

2014-01-19 Thread John David Anglin
to $$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 dang...@gcc.gnu.org

[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 dang...@gcc.gnu.org * 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/pa.c

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

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

[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
? libsanitizer/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

Re: Revert libsanitizer patches or fix 59009

2013-11-15 Thread John David Anglin
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 dave.ang...@bell.net 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

[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] 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 dang...@gcc.gnu.org PR testsuite/58645 * gnat.dg/specs/linker_alias.ads: Skip

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

2013-10-19 Thread John David Anglin
David Anglin dave.ang...@bell.net 2013-10-19 John David Anglin dang...@gcc.gnu.org * 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

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

2013-10-02 Thread John David Anglin
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 dang...@gcc.gnu.org * config.gcc (hppa*64*-*-linux*): Don't add pa/t-linux to tmake_file. Index: config.gcc

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

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

[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 dang...@gcc.gnu.org PR driver/58505 Backport from mainline: 2013-05-22 Matthias Klose d...@ubuntu.com * jvspec.c

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 dang...@gcc.gnu.org * config/pa/pa.md: In scc insn

[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 dang...@gcc.gnu.org * 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

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

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

[committed] Fix incorrect mode used in pa_expand_prologue

2013-09-14 Thread John David Anglin
The attached change fixes a bug in pa_expand_prologue. The mode argument in the calls to gen_rtx_POST_INC should be the same as tmpreg (word_mode). Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu. Committed to trunk, 4.8 and 4.7. Dave -- John David Anglin

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

2013-09-01 Thread John David Anglin
-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 dang...@gcc.gnu.org * config/pa/pa.md: Allow const_int 0 operand 1 in scc insns. Index: config/pa/pa.md

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
; 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 === --- expr.c (revision 202102) +++ expr.c (working copy

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 Anglin

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
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-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
, 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-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_COMPLEX_FLOAT

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 fails

[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 Anglin

Re: [PATCH] Small OpenBSD/hppa cleanup

2013-07-25 Thread John David Anglin
-- John David Anglin dave.ang...@bell.net

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

2013-07-25 Thread John David Anglin
(gen_rtx_SYMBOL_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: 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_VEC_ELT

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_VEC_ELT

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

2013-04-06 Thread John David Anglin
thrash. This occurs on machines with shared instruction and data TLBs. Would this help? Dave -- John David Anglin dave.ang...@bell.net

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

2013-04-06 Thread John David Anglin
On 6-Apr-13, at 3:16 PM, Steven Bosscher wrote: On Sat, Apr 6, 2013 at 7:09 PM, John David Anglin wrote: On 6-Apr-13, at 12:25 PM, Steven Bosscher wrote: Are there any reasons against removing !TARGET_BIG_SWITCH support? It would really help if this code can go away... Yes, branch

[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 dave.ang...@nrc-cnrc.gc.ca PR target/55487 * config/pa

[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 dave.ang...@nrc-cnrc.gc.ca PR other/55274 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define. Index: config/t-slibgcc-hpux

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 dave.ang...@nrc-cnrc.gc.ca * 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

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 dave.ang...@nrc-cnrc.gc.ca 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

[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 dave.ang...@nrc

<    1   2   3   4   5   6   7   8   >