[committed] Fix signal trampoline detection on hppa-linux

2014-10-26 Thread John David Anglin
on hppa-unknown-linux-gnu. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-10-26 John David Anglin * config/pa/linux-unwind.h (pa32_read_access_ok): New function. (pa32_fallback_frame_state): Use pa32_read_access_ok to check if

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. O

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, 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
imes "\[ \t\]\[$,_0-9\]*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
arget_board=unix'{- m32,-m64,-m32/-flto,-m64/-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: [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
dg-final { scan-tree-dump-times "test \\\(&parm\\." 1 "original" } } ! { dg-final { 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-07 Thread John David Anglin
ork on hppa64-hp-hpux11.11 due to following statement: .type myBindC, @function So, we still need hppa specific version . Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] hppa-linux: add missing cpp specs

2015-05-27 Thread John David Anglin
ches. ChangeLog entry should mention _REENTRANT. Thanks, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa-linux: add missing cpp specs

2015-05-27 Thread John David Anglin
f poor thread behavior of many applications running on parisc hardware. I want to see the patch in Debian and you probably want it for Gentoo. Dave -- John David Anglin dave.ang...@bell.net

[PATCH, committed] Fix print format used for 'o' operand in pa_print_operand

2015-05-27 Thread John David Anglin
The attached change fixes a build error in stage2 on hppa. Tested on hppa64-hp-hpux11.11 with no regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-05-27 John David Anglin * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC

[PATCH, committed] Fix placement of REG_EQUAL note in pa_emit_move_sequence

2015-05-27 Thread John David Anglin
The attached change fixes the placement of a REG_EQUAL note when an insert is done to load the most significant bits of a 64-bit constant. Tested on hppa64-hp-hpux11.11 with no observed regressions. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2015-05

[committed] Update HP-UX builtin predefines

2015-06-06 Thread John David Anglin
, we now define _XOPEN_SOURCE_EXTENDED when building with c++. I also reviewed the existing predefines and added some new ones for c++ and hpux11.31. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and gcc-5 branch. Dave -- John David Anglin dave.ang...@bell.net 2015-06

Re: [PATCH][expr.c] PR 65358 Avoid clobbering partial argument during sibcall

2015-04-27 Thread John David Anglin
shing partial args to the stack would clobber the register part load the overlapping part into a pseudo and put it into the hard reg after pushing. 2015-04-22 Honggyu Kim PR target/65358 * gcc.dg/pr65358.c: New test. Thanks, Kyrill Jeff Regards, Dave -- John David Anglin dave.ang...@bell.net

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-04 Thread John David Anglin
32-bit build and not the 64-bit build reported in PR. However, I would expect similar printf support. Don't have a 64-bit build handy. Dave -- John David Anglin dave.ang...@bell.net

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-05 Thread John David Anglin
0xc12731d8 :ldw 1c(ret0),r22 0xc12731dc :copy r4,r19 0xc12731e0 :copy ret0,r3 0xc12731e4 :copy r19,r4 End of assembler dump. (gdb) p/x $ret0 $1 = 0x0 It would seem resolve_device returned 0. Dave -- John David Anglin dave.ang...@bell.net

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-05 Thread John David Anglin
On 2015-05-05 8:43 AM, John David Anglin wrote: It would seem resolve_device returned 0. dispatchers[acc_device_nvidia] is zero when resolve_device is called. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH][expr.c] PR 65358 Avoid clobbering partial argument during sibcall

2015-05-06 Thread John David Anglin
On 2015-04-27 9:16 AM, John David Anglin wrote: Hi Dave, Would it be possible for you to test this patch on a 64-bit hppa or at least bootstrap it? https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01288.html I started a build and test with your patch on hppa64-hp-hpux11.11 this morning. The

[committed] Update config/pa/linux-atomic.c to use new subword and double word atomic support

2014-11-21 Thread John David Anglin
The attached change updates the linux atomic support to use the new kernel calls for subword and double word types. Tested on hppa-unknown-linux-gnu and committed to trunk. The majority of this change, including the kernel patch, was contributed by Guy Martin. Dave -- John David Anglin

Re: [committed] Update config/pa/linux-atomic.c to use new subword and double word atomic support

2014-11-22 Thread John David Anglin
o add this support to libatomic? Currently pa is using the posix path, using locks. Will take a look when I get a chance. Dave -- John David Anglin dave.ang...@bell.net

[PATCH] Check for strtol, strtoul, strtoll and strtoull declarations

2014-11-22 Thread John David Anglin
auto-host.h. Then, the declarations for these functions in libiberty.h are appropriated enabled. Tested on hppa2.0w-hp-hpux11.11. OK for trunk. Dave -- John David Anglin dave.ang...@bell.net libiberty ChangeLog: 2014-11-22 John David Anglin PR other/63694

Re: [PATCH] Check for strtol, strtoul, strtoll and strtoull declarations

2014-11-22 Thread John David Anglin
On 22-Nov-14, at 9:50 AM, Jakub Jelinek wrote: On Sat, Nov 22, 2014 at 09:40:58AM -0500, John David Anglin wrote: libiberty ChangeLog: 2014-11-22 John David Anglin PR other/63694 * configure.ac: Check for strtol, strtoul, strtoll and strtoull declarations

Re: [PATCH] Don't unilaterally include when checking for fpsetmask

2014-11-24 Thread John David Anglin
On 8/7/2014 4:22 PM, John David Anglin wrote: 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? Ping. Dave -- John David Anglindave.ang...@bell.net

[committed] Replace abort instruction with __builtin_trap() in config/pa/linux_atomic.c

2014-11-24 Thread John David Anglin
The attached change uses __builtin_trap() instead of an asm as the compiler can better optimize code using __builtin_trap. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-11-24 John David Anglin * config/pa/linux

Re: [PATCH v3] Use strtoll instead of atoll in gcov-tool.c

2014-11-24 Thread John David Anglin
g long. Tested on hppa2.0w-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net gcov-tool.c.d.3 Description: Binary data

[PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-11-28 Thread John David Anglin
call arguments are not passed correctly on PA. The attached change disables this behavior. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu. Okay for trunk, 4.9 and 4.8? Dave -- John David Anglin dave.ang...@bell.net 2014-11-28 John David A

Re: [PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-12-01 Thread John David Anglin
frame_pointer_group. */ if (stores_off_frame_dead_at_return) { unsigned int i; group_info_t group; FOR_EACH_VEC_ELT (rtx_group_vec, i, group) { if (group->process_globally && group->frame_related) bitmap_ior_into (bb_info->gen, group-&

[committed] Add dg-require-alias to gcc.dg/ipa/ipa-icf-34.c

2015-03-08 Thread John David Anglin
This test requires alias support and fails on hppa2.0-hp-hpux11.11 as a result. Tested on hppa2.0-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin * gcc.dg/ipa/ipa-icf-34.c: Add dg-require-alias. Index: gcc.dg/ipa

[committed] Add target c99_runtime to gcc.dg/ipa/pr64307.c

2015-03-08 Thread John David Anglin
gcc.dg/ipa/pr64307.c includes complex.h. It is only available on c99 targets and fails as a result on hppa*-*-hpux*. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin

[committed] Add dg-require-effective-target c99_runtime to gcc.dg/signbit-sa.c

2015-03-08 Thread John David Anglin
The signbit function was introduced in c99. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin * gcc.dg/signbit-sa.c: Add dg-require-effective-target c99_runtime Index: gcc.dg/signbit-sa.c

[committed] xfail gfortran.dg/quad_2.f90 on hppa*-*-hpux*

2015-03-08 Thread John David Anglin
The HP quad precision libcall has a 1 ULP error in computing the sqrt of 2. This causes the test to fail. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin PR target/62251 * gfortran.dg

[committed] Add dg-require-effective-target named_sections to g++.dg/ipa/pr63621.C

2015-03-08 Thread John David Anglin
The test uses named sections. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin * g++.dg/ipa/pr63621.C: Add dg-require-effective-target named_sections. Index: g++.dg/ipa/pr63621.C

[committed] Skip failing scan-assembler checks in g++.dg/abi/anon3.C and g++.dg/abi/rtti3.C

2015-03-08 Thread John David Anglin
Since r214177, DECL_COMDAT no longer triggers comdat_linkage. As a result, some types that were previously "weak" are no longer weak on hppa-hpux. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John Da

[committed] Fix gcc.dg/torture/pr65270-1.c an gcc.dg/torture/pr65270-2.c on hppa*-*-hpux*

2015-03-15 Thread John David Anglin
The attach change adds the -fno-common option on hppa*-*-hpux*. This provides necessary alignment. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-15 John David Anglin * gcc.dg/torture/pr65270-1.c: Add -fno-common

[committed] Don't run testsuite/libgomp.oacc-c-c++-common/reduction-4.c on hppa*-*-hpux*

2015-03-21 Thread John David Anglin
This test fails on targets that don't have complex.h. The standard c99_runtime check doesn't work in the libgomp testsuite, so I explicitly disabled the test on hppa*-*-hpux*. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John Da

[committed] hpux11_lwp_rwlock_valid fix

2015-03-28 Thread John David Anglin
-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-28 John David Anglin PR libstdc++/65500 * inclhack.def (hpux11_lwp_rwlock_valid): New fix. * fixincl.x: Regenerate. * tests/base/sys

[PATCH] libffi testsuite: Use split to ensure valid tcl list

2015-03-28 Thread John David Anglin
The attached change fixes tcl errors that occur running the complex.exp and go.exp test sets. See: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65567>. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net libffi-split.d Description:

[PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*

2015-03-28 Thread John David Anglin
The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David A

Re: [PATCH] libffi testsuite: Use split to ensure valid tcl list

2015-03-29 Thread John David Anglin
. I'm will to wait for stage1 on the other patch. Dave -- John David Anglin dave.ang...@bell.net

[committed] Fix wrong generated by pa_output_move_double

2015-04-02 Thread John David Anglin
tted to trunk, and 4.9 and 4.8 branches. Dave -- John David Anglin dave.ang...@bell.net 2015-04-02 John David Anglin * config/pa/pa.c (pa_output_move_double): Directly handle register indexed memory operand. Simplify handling of scaled register indexed memory o

[committed] Fix ICE compiling gcc.dg/torture/pr66123.c on hppa

2015-06-11 Thread John David Anglin
The attached change adds support for LABEL_REF plus CONST_INT in pa_output_global_address and fixes ICE compiling gcc.dg/torture/pr66123.c. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to active branches. Dave -- John David Anglin dave.ang

[PATCH] Adjust argument ordering in pa/linux-atomic.c

2015-07-01 Thread John David Anglin
to match the kernel implementation. Tested on hppa-unknown-linux-gnu with no observed regressions. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-07-01 John David Anglin * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder

[committed] Remove condition from PA indirect_jump

2015-07-04 Thread John David Anglin
The attached change removes the C condition from the PA indirect jump since it depended on operands[] and this isn't generally allowed in named patterns. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk and active branches. Dave -- John David A

[committed] Remove long long support from linux-atomic.c

2015-01-31 Thread John David Anglin
loads and stores have to be done using the floating-point co-processor in the 32-bit parisc runtime, so maybe we are better off without long long support. Tested on hppa-unknown-linux-gnu. Committed to trunk and 4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-01-31 John Da

[committed] Change "Q" and "T" constraints to memory constraints

2015-02-13 Thread John David Anglin
1.11, hppa64-hp-hpux11.11 and hppa-unknown-linu-gnu. Committed to trunk and 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2015-02-13 John David Anglin * config/pa/constraints.md: Change "Q" and "T" constraints to memory

Re: [committed] Change "Q" and "T" constraints to memory constraints

2015-02-14 Thread John David Anglin
On 2015-02-13, at 12:08 PM, Richard Henderson wrote: > On 02/13/2015 05:22 AM, John David Anglin wrote: >> + /* Reload sometimes tries to put const data symbolic operands in >> + readonly memory. The HP SOM linker doesn't allow symbolic data >> + in rea

[committed] Improve handling of reloads for floating point loads and stores on PA

2015-02-15 Thread John David Anglin
4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2015-02-15 John David Anglin * config/pa/pa.c (pa_secondary_reload): Request a secondary reload for all floading point loads and stores except those using a register index address. * config/pa/pa.md

Re: [committed] Change "Q" and "T" constraints to memory constraints

2015-02-16 Thread John David Anglin
section. Thanks, I see the problem. default_reloc_rw_mask returns 0 when not generating PIC code, so rtx went to readonly_data_section. I was thinking that pa_select_section was somehow broken. Dave -- John David Anglin dave.ang...@bell.net

Re: [committed] Change "Q" and "T" constraints to memory constraints

2015-02-19 Thread John David Anglin
On 2015-02-16, at 1:47 PM, John David Anglin wrote: > On 2015-02-16, at 11:38 AM, Richard Henderson wrote: > >>> >>> Possibly the constant can somehow be forced into the data section where the >>> relocations >>> aren't a problem? >>

[committed] Always force (const (plus (symbol) (const_int))) to const mem

2015-02-19 Thread John David Anglin
-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-02-19 John David Anglin * config/pa/pa.c (pa_emit_move_sequence): Always force (const (plus (symbol) (const_int))) to const mem. Put REG_EQUAL note on in

[committed] Add PA trap insn

2014-11-06 Thread John David Anglin
The attached change implements a trap insn on PA. This insn is need to implement __builtin_trap() and to successfully build glibc 2.20. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014

[committed] Fix problem reloading floating-point operands in xmpyu patterns on 64-bit parisc

2019-05-24 Thread John David Anglin
to be reloaded, we need to indicate to reload that DI to SI mode class changes are okay. Otherwise, we end up with an invalid SUBREG insn. The attached change fixes this problem. Tested on hppa64-hp-hpux11.11. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2019

[committed] hppa: Fix warning in pa32_fallback_frame_state

2019-05-26 Thread John David Anglin
The attached patch fixes a warning in pa32_fallback_frame_state. Tested on hppa-unknown-linux-gnu. Committed to gcc-9 branch and trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-05-26 John David Anglin * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast

Re: [committed] hppa: Fix warning in pa32_fallback_frame_state

2019-05-26 Thread John David Anglin
On 2019-05-26 12:13 p.m., Andreas Schwab wrote: > On Mai 26 2019, John David Anglin wrote: > >> Index: config/pa/linux-unwind.h >> === >> --- config/pa/linux-unwind.h (revision 271614) >> +++ config/p

[PATCH] hppa: Improve mcount argument setup

2019-05-28 Thread John David Anglin
We don't need to pass to mcount the exact start of the called routine. This saves one instruction when long calls are being used. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk, gcc-9 and gcc-8 branches. Dave -- John David Anglin dav

[PATCH] parisc: Use lpa instruction to load physical addresses in driver code

2019-06-02 Thread John David Anglin
rocessors which don't have a sba, so we don't hit this problem. Tested on c3750, c8000 and rp3440. This patch includes the previous change to use implicit space register access in loading the coherence index as the two changes conflict. Signed-off-by: John David Anglin --

[committed] hppa: Fix support for -fpatchtable-function-entry on hppa-linux

2019-06-07 Thread John David Anglin
change needed was to output the function label and associated callinfo data using ASM_DECLARE_FUNCTION_NAME instead of TARGET_ASM_FUNCTION_PROLOGUE. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk, gcc-9 and gcc-8. Dave -- John David Anglin dave.ang...@bell.net

[committed]: Add pattern for hppa*-*-linux* to dg-function-on-line

2019-06-07 Thread John David Anglin
As a result of moving the function label position on hppa-linux, we need a new pattern for hppa*-*-linux* in dg-function-on-line. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk, gcc-9 and gcc-8. Dave -- John David Anglin dave.ang...@bell.net 2019-06-07 John

Re: [patch] Add NetBSD/hppa target

2019-06-14 Thread John David Anglin
A code is ultimately derived from). I'd be really > surprised if there's any PA1.1 hardware running anywhere, though there's > certainly some PA2.0 hardware out in the wild. You might also consider adding MASK_CALLER_COPIES as libgomp is broken for callee copies.  This is an ABI choice so ideally you should do it now or not at all. Dave -- John David Anglin dave.ang...@bell.net

[committed] pa: Fix nonlocal_goto and builtin_longjmp expanders

2019-06-16 Thread John David Anglin
on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-06-16 John David Anglin PR middle-end/64242 * config/pa/pa.md (nonlocal_goto): Restore frame pointer last. Add frame clobbers and schedule

[committed] hppa: Add target support infrastructure for D front end

2018-12-09 Thread John David Anglin
The attached change has been tested on hppa-unknown-linux-gnu with an initial implementation of libphobos.  Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-12-09 John David Anglin * config.gcc (hppa*-*-linux*): Add pa/t-pa to tmake_file. Define

[PATCH] hppa: Add libphobos support

2018-12-09 Thread John David Anglin
The attached change implements a first cut at libphobos support on hppa/glibc/linux.  Test results are here: <https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg00778.html>. Okay? Dave -- John David Anglin dave.ang...@bell.net 2018-12-09 John David Anglin * configure.tgt: Ad

Re: [PATCH] hppa: Add libphobos support

2018-12-10 Thread John David Anglin
On 2018-12-09 6:10 p.m., Iain Buclaw wrote: > On Sun, 9 Dec 2018 at 21:16, John David Anglin wrote: >> The attached change implements a first cut at libphobos support on >> hppa/glibc/linux. Test >> results are here: >> <https://gcc.gnu.org/ml/gcc-testresults/2018

Re: [committed] hppa: Add target support infrastructure for D front end

2018-12-10 Thread John David Anglin
familiar with it. Dave -- John David Anglin dave.ang...@bell.net

[committed] : Enable building pa-d.c on all hppa targets

2018-12-29 Thread John David Anglin
results are much better than the 32-bit results. Dave -- John David Anglin dave.ang...@bell.net 2018-12-29 John David Anglin * config.gcc (hppa*64*-*-linux*): Add pa/t-pa to tmake_file. Define d_target_objs. (hppa*-*-openbsd*): Likewise. (hppa[12]*-*-hpux10

Re: [patch] Add NetBSD/hppa target

2019-07-31 Thread John David Anglin
\ > +__attribute__ ((__used__, section(".ctors"), \ > + aligned(sizeof(func_ptr \ > += { (func_ptr) (-1) } > diff --git a/libgcc/config.host b/libgcc/config.host > index 91fed5fa473..602fc97a321 100644 &

Re: [PATCHv5] Fix not 8-byte aligned ldrd/strd on ARMv5 (PR 89544)

2019-08-20 Thread John David Anglin
27; 3264 | OP (const T1 &x, const T2 &y) \ | ^~ make[5]: *** [Makefile:1118: function.o] Error 1 make[5]: *** Waiting for unfinished jobs We have the following define for STACK_POINTER_OFFSET: #define STACK_POINTER_OFFSET \ (TARGET_64BIT ? -(crtl->outgoing_args_size + 48) : poly_int64 (-32))   Dave -- John David Anglin dave.ang...@bell.net

[PATCH] Remove spurious extended character(s) for pa.c

2019-09-20 Thread John David Anglin
This fixes build failure on trunk. Patch committed to all active branches. Dave -- John David Anglin dave.ang...@bell.net 2019-09-20 John David Anglin * config/pa/pa.c (pa_trampoline_init): Remove spurious extended character. Index: config/pa/pa.c

[committed] Fix longjmp expander on hppa

2019-07-01 Thread John David Anglin
64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-07-01 Wilco Dijkstra John David Anglin setjmp PR target/90963 * config/pa/pa.md (builtin_longjmp): Restore hard_frame_pointer_rtx using saved frame pointer. Index: conf

[PATCH] Put more data in read-only data on hppa

2019-07-17 Thread John David Anglin
implements the above. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk and gcc-9. Dave -- John David Anglin dave.ang...@bell.net 2019-07-17 John David Anglin * config/pa/pa.c (pa_som_asm_init_sections): Don't force all con

[PATCH] parisc: Move declaration.

2019-07-20 Thread John David Anglin
This patch moves to declaration of hppa_profile_hook to pa-protos.h. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-07-20 John David Anglin * config/pa/pa.h (hppa_profile_hook): Delete declaration. * config/pa/pa

Re: [PATCH] Fix a test (PR testsuite/89441).

2019-02-22 Thread John David Anglin
to require visibility support on 32-bit hppa-hpux. See attached. Dave -- John David Anglin dave.ang...@bell.net Index: gcc/testsuite/g++.dg/ipa/pr89009.C === --- gcc/testsuite/g++.dg/ipa/pr89009.C (revision 268997) +++ gcc/testsuit

[committed] Skip gfortran.dg/ieee/ieee_9.f90 on hppa*-*-linux*

2019-03-09 Thread John David Anglin
See attached. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR fortran/89639 * gfortran.dg/ieee/ieee_9.f90: Skip on hppa*-*-linux*. Index: gfortran.dg/ieee/ieee_9.f90

[PATCH] Fix libstdc++ tests requiring atomic support on hppa-hpux

2019-03-09 Thread John David Anglin
The hppa*-*-hpux* target has no builtin atomic support, so we need to explicitly link applications requiring atomic support against libatomic. Okay? Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR libstdc++/89461 * testsuite/20_util

[committed] Update target-supports.exp for hppa*-*-hpux*

2019-03-09 Thread John David Anglin
The hppa*-*-hpux* doesn't support undefined weak. The existing check doesn't work on the 64-bit runtime. Likewise, we don't have ascii locale. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin * lib/targ

[committed] Skip two gnat tests on 32-bit hppa*-*-hpux*

2019-03-09 Thread John David Anglin
The 32-bit hppa*-*-hpux* target doesn't support dwarf, so we need to skip these two tests. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin * gnat.dg/debug11.adb: Skip on 32-bit hppa*-*-hpux*. * gnat.dg/debug12.adb: Lik

[committed] Fix failure of gfortran.dg/coarray_data_1.f90 on hppa-hpux

2019-03-09 Thread John David Anglin
Due to the lack of builtin atomics, we need to link against libatomic. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin * gfortran.dg/coarray_data_1.f90: Link against libatomic if target libatomic_available. Index

[committed] Skip gcc.dg/torture/20180712-1.c on hppa*-*-*

2019-03-09 Thread John David Anglin
Because of the limited number of registers available to load PIC data, we need to skip this test. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR inline-asm/87010 * gcc.dg/torture/20180712-1.c: Skip on hppa*-*-*. Index

[committed] Fix g++.dg/ext/visibility/lambda1.C test on 32-bit hppa-hpux

2019-03-09 Thread John David Anglin
The test requires visibility support. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin * g++.dg/ext/visibility/lambda1.C: Require visibility. Index: g++.dg/ext/visibility/lambda1.C

[committed] Fix g++.dg/tls/pr77285-2.C on hppa*-*-hpux*

2019-03-09 Thread John David Anglin
We only have emutls on hppa*-*-hpux*. This test needs native support. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-03-09 John David Anglin * g++.dg/tls/pr77285-2.C: Require tls_native support. Index: g++.dg/tls/pr77285-2.C

[committed] Skip some tests that require assembler .ident support on 32-bit hppa*-*-hpux*

2019-03-09 Thread John David Anglin
The 32-bit hppa*-*-hpux* target lacks .ident support, so we need to fix some failing ident tests. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin * c-c++-common/ident-0b.c: Also skip on 32-bit hppa*-*-hpux*. * c-c++-common

[committed] Fix failure of gcc.dg/debug/dwarf2/inline5.c on hppa

2019-03-09 Thread John David Anglin
This fixes test failure on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR testsuite/89472 * gcc.dg/debug/dwarf2/inline5.c: XFAIL one scan-assembler-times check. Index: gcc.dg/debug/dwarf2/inline5.c

[committed] Skip c-c++-common/gomp/clauses-2.c on 32-bit hppa*-*-hpux*

2019-03-09 Thread John David Anglin
The 32-bit hppa*-*-hpux* target is a callee-copies target. This causes the test to fail. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR middle-end/68733 * c-c++-common/gomp/clauses-2.c: Skip on 32-bit hppa*-*-hpux

[committed] Skip g++.dg/abi/abi-tag18a.C on 32-bit hppa*-*-hpux*

2019-03-09 Thread John David Anglin
The symbols don't match on 32-bit hppa*-*-hpux*, so skip. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin PR c++/70349 * g++.dg/abi/abi-tag18a.C: Skip on 32-bit hppa*-*-hpux*. Index: g++.dg/abi/abi-tag

Re: [PATCH] Fix libstdc++ tests requiring atomic support on hppa-hpux

2019-03-11 Thread John David Anglin
obably also be enabled for riscv*-*-*. > > So all the more reason to do it this way, so the list of targets is > only maintained in one place Your suggestion looks good to me.  We still need hunk that sets up LD_LIBRARY_PATH. This is what is done in fortran tests: ! { dg-additional-options "-latomic" { target libatomic_available } } Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Fix libstdc++ tests requiring atomic support on hppa-hpux

2019-03-12 Thread John David Anglin
ge before I saw Joseph's comment.  I don't believe -latomic can be found without a -L option in the libstdc++ testsuite.  That's why it's done for libgomp. However, it's not needed for c, c++, fortran testsuites.  They also setup LD_LIBRARY_PATH for testing in build tree.  I've never had to use a board file to get this right. -- John David Anglin dave.ang...@bell.net

[committed] Remove hppa*-*-hpux* from check_ascii_locale_available

2019-03-16 Thread John David Anglin
The previous change was incorrect. POSIX and C locales are available. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin * lib/target-supports.exp (check_ascii_locale_available): Remove hppa*-*-hpux*. Index: lib/target-supports.exp

[committed] Fix failure of c-c++-common/Wattributes.c on hppa*64*-*-*

2019-03-16 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin PR testsuite/83453 * c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*. Index: c-c++-common/Wattributes.c

[committed] Fix "FAIL: gcc.dg/Wattributes-6.c (test for warnings, line 404)" on hppa64-*-*

2019-03-16 Thread John David Anglin
Same as fix for c-c++-common/Wattributes.c. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin PR testsuite/84174 * gcc.dg/Wattributes-6.c: Skip warning check at line 404 on hppa*64*-*-*. Index: gcc.dg/Wattributes-6.c

[committed] Fix tests needing large alignment on hppa*-*-hpux*

2019-03-16 Thread John David Anglin
We need to disable common for tests needing large alignments. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin * gcc.dg/Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*. * gcc.dg/gimplefe-34.c: Likewise

[committed] Skip gcc.dg/pr84941.c on hppa*-*-*

2019-03-16 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin PR testsuite/89471 * gcc.dg/pr84941.c: Skip on hppa*-*-*. Index: gcc.dg/pr84941.c === --- gcc.dg/pr84941.c

[committed] Skip tests on 32-bit hppa*-*-hpux* with unsupported attributes

2019-03-16 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin * c-c++-common/builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*. * gcc.dg/attr-copy-6.c: Likewise. * gcc.dg/pr87793.c: Likewise. Index: c-c++-common/builtin-has

[committed] Skip tests on 32-bit hppa*-*-hpux* that need .weak assembler directive

2019-03-16 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-16 John David Anglin PR testsuite/89393 * g++.dg/abi/ref-temp1.C: Skip on 32-bit hppa*-*-hpux*. * g++.dg/cpp0x/pr84497.C: Likewise. Index: g++.dg/abi/ref-temp1.C

[committed] Fix test failures that require alias support on hppa*-*-hpux*

2019-03-17 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-17 John David Anglin PR testsuite/89666 * c-c++-common/builtin-has-attribute-3.c: Define SKIP_ALIAS on hppa*-*-hpux*. * gcc.dg/attr-copy.c: Require alias support. * gcc.dg/ipa

[committed] Fix tests that need c99 complex support

2019-03-17 Thread John David Anglin
This patch fixes three tests that fail on hppa*-*-hpux* due to the lack of c99 complex support. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-17 John David Anglin * gcc.dg/pr88074.c: Require c99_runtime. * gcc.dg/warn-abs-1.c: Likewise

[committed] Fix failure of two tests requiring visibility support on 32-bit hppa*-*-hpux*

2019-03-17 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2013-03-17 John David Anglin * gfortran.dg/pointer_init_10.f90: Require visibility support. * gfortran.dg/temporary_3.f90: Likewise. Index: gfortran.dg/pointer_init_10.f90

[committed] Fix another test needing large alignment on hppa*-*-hpux*

2019-03-17 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-03-17 John David Anglin * gcc.dg/compat/pr83487-1_x.c: Use -fno-common option on hppa*-*-hpux*. * gcc.dg/compat/pr83487-1_y.c: Likewise. Index: gcc.dg/compat/pr83487-1_x.c

[committed] Fix PR libgfortran/79540

2019-03-25 Thread John David Anglin
y fill put with nulls when i in non negative. This fixes the testcase with no regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net Index: io/write_float.def === --- io/write_float.def (revision 2698

[PATCH] New hpux fix to add noreturn attribute to longjmp declarations in setjmp.h

2016-08-13 Thread John David Anglin
cc/fortran/parse.c:2618:1: error: 'noreturn' function does return [-W error] The attached patch fixes the above by adding the noreturn attribute to the "longjmp" declarations in setjmp.h. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net

[committed] Update hpux_longjmp fix for hpux11.00

2016-09-04 Thread John David Anglin
The attached change updates the hpux_longjmp fix to handle the various longjmp declarations on hpux11.00. Tested with hppa2.0w-hp-hpux11.00 and hppa64-hp-hpux11.11 builds. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-09-04 John David Anglin

[committed] libffi: Support go closures on 32-bit hppa

2016-09-04 Thread John David Anglin
The attached change adds libffi go closure support on 32-bit hppa. It also has some cleanups. We now use CFI directives for unwind support on linux. Go is a work in progress. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to gcc trunk. Dave -- John David Anglin

<    1   2   3   4   5   6   7   >