[committed] Explicitly link against against libatomic in various libstdc++ tests

2020-02-29 Thread John David Anglin
We need to explicity link against libatomic on hppa. The attached changes add "dg-add-options libatomic" to the test setup where needed. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2020-02-29 John Da

[committed] Add dg-require-visibility to some tests

2020-02-29 Thread John David Anglin
This fixes the failure of g++.dg/ext/visibility/ref-temp1.C, gfortran.dg/pr90988_4.f and gfortran.dg/pr91372.f90 on hppa2.0w-hp-hpux11.11. Dave 2020-02-29 John David Anglin * g++.dg/ext/visibility/ref-temp1.C: Require visibility. * gfortran.dg/pr90988_4.f: Likewise

[committed] Update baseline symbols for hppa-linux

2020-02-29 Thread John David Anglin
The attached change updates the baseline symbols for hppa-linux-gnu. Tested on hppa-unknown-linux-gnu. Dave 2020-02-29 John David Anglin PR libstdc++/92906 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/config/abi/post/hppa-linux

[committed] Fix passing of homogeneous SFmode and DFmode on hppa

2020-02-21 Thread John David Anglin
size check in pa_function_value as it could accept arguments with a size other than word or double word. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk, gcc-9 and gcc-8. Dave 2020-02-21 John David Anglin * gcc/config/pa/pa.c (pa_function_value): Fix

[committed] Fix ICE in pa_elf_select_rtx_section

2020-01-30 Thread John David Anglin
David Anglin * config/pa/pa.c (pa_elf_select_rtx_section): Place function pointers without a DECL in .data.rel.ro.local. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index fb7e2ee110f..24b88304637 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -9852,7 +9852,7

[committed] Add include hack to fix missing SCNuMAX defines in inttypes.h on hpux11.[01]*

2020-01-25 Thread John David Anglin
In porting git trunk to hppa2.0w-hp-hpux11.11, I found that we lack defines for SCNuMAX: https://public-inbox.org/git/c9aa5047-7438-8f2f-985c-1c8771354...@bell.net/T/#u This patch adds the missing defines. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave 2020-01-25 John David

Re: [PATCH] Fix PR libgcc/92988

2020-01-15 Thread John David Anglin
On 2020-01-15 3:45 p.m., Jeff Law wrote: > On Mon, 2019-12-30 at 14:23 -0500, John David Anglin wrote: >> Tested on hppa64-hp-hpux11.11. >> >> Okay? >> >> Dave >> >> 2019-12-30 John David Anglin >> >> PR libgcc/92988 >>

Re: [committed] Fix comparison operator used for B and S integer comparisons on hppa

2020-01-06 Thread John David Anglin
On 2020-01-01 4:11 p.m., John David Anglin wrote: > This fixes PR target/93111. The ICE > > The comparison_operator predicate is too broad and includes a couple of > comparisons > that aren't valid for integer comparisons on hppa. We need to use the > ordered_comparison_op

[committed] Fix placement of references to functions in COMDAT groups on hppa-linux

2020-01-01 Thread John David Anglin
in .data.rel.ro.local when they refer to a function in a COMDAT group. Tested on hppa-unknown-linux-gnu. The change fixes the build of the Debian voronota package. Committed to trunk and gcc-9 branch. Dave 2020-01-01 John David Anglin PR target/67834 * config/pa/pa.c

[committed] Fix comparison operator used for B and S integer comparisons on hppa

2020-01-01 Thread John David Anglin
a couple of comparisons that are valid for the cmpib patterns. Again we can use the ordered_comparison_operator predicate. Tested on hppa-unknown-linux-gnu. Committed to active branches. Dave 2020-01-01 John David Anglin PR target/93111 * config/pa/pa.md (scc): Use

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

2020-01-01 Thread John David Anglin
Tested on hppa-unkown-linux-gnu. Committed to trunk. Dave 2020-01-01 John David Anglin * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. Index: config/abi/post/hppa-linux-gnu/baseline_symbols.txt

Re: [PATCH] Fix PR libgcc/92988

2020-01-01 Thread John David Anglin
This bug was introduced by the following change: https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00766.html On 2019-12-30 2:23 p.m., John David Anglin wrote: > Tested on hppa64-hp-hpux11.11. > > Okay? > > Dave > > 2019-12-30 John David Anglin > > PR libgcc

[committed] Fix compilation of libgomp/target.c on hppa*-*-hpux11.*

2019-12-30 Thread John David Anglin
# The attached change fixes the INTPTR_MAX and UINTPTR_MAX defines, and adds the SIZE_MAX define. The defines are taken from gcc's stdint.h header file. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave 2019-12-30 John David Anglin PR libgomp/93066

[PATCH] Fix PR libgcc/92988

2019-12-30 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Okay? Dave 2019-12-30 John David Anglin PR libgcc/92988 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if DEFAULT_USE_CXA_ATEXIT is true. Index: crtstuff.c

[committed] Fix linux-atomic.c build on hppa-linux

2019-11-17 Thread John David Anglin
-17 John David Anglin * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to volatile void *. Remove trap check. (__kernel_cmpxchg2): Likewise. (FETCH_AND_OP_2): Adjust operand types. (OP_AND_FETCH_2): Likewise. (FETCH_AND_OP_WORD

[committed] pa: Revise memory barriers to use strongly ordered ldcw instruction

2019-11-07 Thread John David Anglin
a compiler memory barrier. I believe acquire and release fences can be defined in a similar way using an ordered load and an ordered store, respectively. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave 2019-11-07 John David Anglin

[committed] pa: Update libstdc++-v3 baseline symbols for hppa-linux

2019-10-26 Thread John David Anglin
Committed to trunk. Dave -- 2019-10-26 John David Anglin * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. Index: config/abi/post/hppa-linux-gnu/baseline_symbols.txt === --- config/abi/post/hppa-linux-gnu

[committed] hppa: Improve ordering of accesses during function pointer canonicalization

2019-10-15 Thread John David Anglin
2019-10-15 John David Anglin * config/pa/fptr.c (_dl_read_access_allowed): Change argument to unsigned int. Adjust callers. (__canonicalize_funcptr_for_compare): Change plabel type to volatile unsigned int *. Load relocation offset before function pointer

[committed] Update indirect call sequences to preserve descriptor address in register %r22

2019-10-12 Thread John David Anglin
. Tested on hppa-unknown-linux-gnu. Committed to trunk and gcc-9 branch. Dave 2019-10-12 John David Anglin * config/pa/pa.c (pa_output_call): Load descriptor address to register %r22. Load function address before global pointer. (pa_attr_length_indirect_call): Adjust

[committed]

2019-10-12 Thread John David Anglin
be possible that a function is entered with an incorrect global pointer. This patch slightly improves $$dyncall on Linux. Tested on hppa-unknown-linux-gnu. Committed to trunk and gcc-9 branch. 2019-10-12 John David Anglin * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21

[committed] Fix warning compiling pa.c

2019-10-12 Thread John David Anglin
This patch fixes a warning from pa.c. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave Index: gcc/config/pa/pa.c === --- gcc/config/pa/pa.c (revision 276877) +++ gcc/config/pa/pa.c (working copy) @@ -535,7 +535,7 @@

[committed] pa: Disable -Warray-bounds in fptr.c

2019-10-03 Thread John David Anglin
. Dave 2019-10-03 John David Anglin * config/pa/fptr.c: Disable -Warray-bounds warning. Index: config/pa/fptr.c === --- config/pa/fptr.c(revision 276260) +++ config/pa/fptr.c(working copy) @@ -62,6 +62,9 @@ return

[committed] pa: Adjust MAX_PCREL17F_OFFSET to match stub group size default for ELF

2019-10-03 Thread John David Anglin
that in binutils. I also made the maximum offset for PIC and non-PIC code the same. While PIC long branches are three instructions versus two, the stubs for non-local calls are the same length. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave 2019-10-03 John David Anglin

[committed] pa: Remove 64-bit sibcall call sequence

2019-10-03 Thread John David Anglin
64-bit sibling calls are disabled on all PA-RISC targets. This is because the argument pointer handling is incompatible with doing sibcalls. Thus, we can remove the non-local sibcall sequence that was used in testing. Tested on hppa64-hp-hpux11.11. Dave 2019-10-03 John David Anglin

[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

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

2019-08-20 Thread John David Anglin
he 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

Re: [patch] Add NetBSD/hppa target

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

[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

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

[committed] Fix longjmp expander on hppa

2019-07-01 Thread John David Anglin
-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: config/pa

[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

Re: [patch] Add NetBSD/hppa target

2019-06-14 Thread John David Anglin
e 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]: 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

[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

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

2019-06-02 Thread John David Anglin
essors 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 --- diff --git a

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

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

[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

[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] Fix PR libgfortran/79540

2019-03-25 Thread John David Anglin
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 269890) +++ io

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

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

2019-03-12 Thread John David Anglin
ph'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

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

[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-tag18a.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] 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 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 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] 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] 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 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 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: Likewise

[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/target-supports.exp

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

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] : 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: [committed] hppa: Add target support infrastructure for D front end

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

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

[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

[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

[committed] Don't optimize comparison if either operand is a function pointer when target requires function pointer canonicalization

2018-09-28 Thread John David Anglin
This fixes the lack of symmetry in checking for function pointer arguments in simple_comparison. In other places, we check both operands as it is possible one is a void pointer. This only affects 32-bit hppa. Tested on hppa-unknown-linux-gnu.  Committed to trunk. Dave -- John David Anglin

[PATCH] hppa: Remove TARGET_SCHED_ADJUST_PRIORITY hook

2018-09-19 Thread John David Anglin
. Dave -- John David Anglin dave.ang...@bell.net 2018-09-19 John David Anglin * config/pa/pa.c (pa_adjust_priority): Delete. (TARGET_SCHED_ADJUST_PRIORITY): Delete define. Index: config/pa/pa.c === --- config/pa

Re: [committed] hppa: Revise atomic support to use sync barrier

2018-09-19 Thread John David Anglin
On 2018-08-11 6:17 PM, John David Anglin wrote: It recently came to my attention that PA 2.0 supports out-of-order execution for loads and stores.  Loads and stores are strongly ordered on PA 1.x.  This has caused no end of confusion. This out-of-order execution is discussed in the following

Re: [committed] hppa: Fix canonicalize of method and void pointers in comparison operations

2018-09-17 Thread John David Anglin
On 2018-09-17 11:02 AM, Jeff Law wrote: On 9/14/18 5:44 PM, John David Anglin wrote: The attached change fixes the canonicalization of method and void pointers in comparisons against another method or function pointer on 32-bit hppa targets.  As far as I know, 32-bit hppa is the only

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-17 Thread John David Anglin
ded the assert because the hppa implementation of TARGET_SCHED_ADJUST_PRIORITY assumes scheduling priorities are non negative.  If that is not the case, I tend to think this should be documented. It seems ia64 is the only target tripping on the assert. Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix canonicalize of method and void pointers in comparison operations

2018-09-14 Thread John David Anglin
on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu, GCC trunk and 8.  Committed to trunk and gcc-8 branch. Dave -- John David Anglin dave.ang...@bell.net 2018-09-14 John David Anglin PR middle-end/87188 * dojump.c (do_compare_and_jump): Canonicalize function pointers

Re: [PATCH][4/4][v2] RPO-style value-numbering for FRE/PRE

2018-09-12 Thread John David Anglin
On Wed, Sep 05, 2018 at 12:12:39AM +0200, Gerald Pfeifer wrote: > On Fri, 24 Aug 2018, Richard Biener wrote: > > Comments are still welcome - I've re-bootstrapped and tested the series > > on x86_64-unknown-linux-gnu for all languages and will talk about > > this work@the Cauldron in more detail.

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-10 Thread John David Anglin
On 2018-09-10 8:35 AM, Andreas Schwab wrote: On Sep 06 2018, Jeff Law wrote: On 09/03/2018 08:32 AM, John David Anglin wrote: The documentation for TARGET_SCHED_ADJUST_PRIORITY indicates that the hook can reduce the priority of INSN to execute it later.  The hppa hook only reduces

[PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-03 Thread John David Anglin
provides any benefit on hppa.  It was supposed to keep addil instructions close to the following instruction to reduce pressure on register %r1. Okay? Dave -- John David Anglin dave.ang...@bell.net 2018-09-03 John David Anglin PR rtl-optimization/85458 * sel-sched.c

[committed] hppa: Revise atomic support to use sync barrier

2018-08-11 Thread John David Anglin
.  Committed to trunk.  Probably, I will backport the change once the change receives more testing. Dave -- John David Anglin dave.ang...@bell.net 2018-08-11 John David Anglin gcc * config/pa/pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum. Update comment for atomic

Re: [PATCH 00/11] (v2) Mitigation against unsafe data speculation (CVE-2017-5753)

2018-08-07 Thread John David Anglin
On 2018-08-07 10:05 AM, Richard Earnshaw (lists) wrote: Thanks. Wrong PR, though: that was for the SPU port. The hppa PR is 86785. Oops, sorry for extra work. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH 00/11] (v2) Mitigation against unsafe data speculation (CVE-2017-5753)

2018-08-06 Thread John David Anglin
on hppa-unknown-linux-gnu. Dave -- John David Anglin dave.ang...@bell.net 2018-08-06 John David Anglin PR target/86807 * config/pa/pa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. Index: config/pa/pa.c

Re: [PATCH 00/11] (v2) Mitigation against unsafe data speculation (CVE-2017-5753)

2018-08-02 Thread John David Anglin
overkill. So, I'm going to install attached change after testing is complete. Dave -- John David Anglin dave.ang...@bell.net Index: config/pa/pa.c === --- config/pa/pa.c (revision 263228) +++ config/pa/pa.c (working

[committed] Move non-PIC jump table to rodata on 32-bit linux

2018-07-29 Thread John David Anglin
, this requires deferring the output of branch tables to final. When generating PIC code, the references are relative and the label is removed by the assembler. Tested change on hppa-unknown-linux-gnu.  Committed change to active branches. Dave -- John David Anglin dave.ang...@bell.net 2018

Re: [PATCH 00/11] (v2) Mitigation against unsafe data speculation (CVE-2017-5753)

2018-07-27 Thread John David Anglin
access memory on my rp3440. As far as I know, the details of speculative execution on PA-RISC are not public.  Jeff would know best. Dave -- John David Anglin dave.ang...@bell.net

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread John David Anglin
On Sun, Jul 22, 2018 at 03:24:48AM +0200, Carlo Pisani wrote:> > On HPPA: > - "gnatgcc" is not existing out of the debian pagkage(1) > - gnat make calls "gcc-4.3" > - the installed gcc (provided by gentoo) can't compile ada-files > - since the compiler was compiled with languages=C,C++,Fortran >

Re: [Patch, Fortran] PR25829: Asynchronous I/O

2018-06-11 Thread John David Anglin
    ldo 160(r1),sp => 0x40002c7c <+12>:    std r18,-f8(sp) Store fails after creating 12 MB frame. Dave -- John David Anglin dave.ang...@bell.net

Re: [Patch, Fortran] PR25829: Asynchronous I/O

2018-06-11 Thread John David Anglin
didn't see any regressions but asynchronous_9 fails: FAIL: libgomp.fortran/asynchronous_9.f90   -O  execution test Dave -- John David Anglin dave.ang...@bell.net

[committed] Disable use of GNU-stack notes on hppa-linux

2018-05-27 Thread John David Anglin
The attached change disables the use of GNU-stack notes on hppa-linux.  The Linux kernel requires an executable stack for syscall restarts and signal returns.  Enabling GNU-stack notes breaks glibc signal handling. Committed to trunk and gcc-8 branch. Dave -- John David Anglin dave.ang

[committed] hppa: Fix handling of secondary reloads for floating-point loads and stores

2018-03-14 Thread John David Anglin
pa_emit_move_sequence and emit the original operand. This patch revises the handling of these reloads to always  emit the reload with the adjusted operand. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11.  Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-03-14 John David

[committed] hppa: Update handling of internal labels on hppa-hpux

2018-03-06 Thread John David Anglin
-- John David Anglin dave.ang...@bell.net 2018-03-06 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.h (ASM_GENERATE_INTERNAL_LABEL): Revise to use sprint_ul. (ASM_OUTPUT_ADDR_VEC_ELT): Revise for above change. (ASM_OUTPUT_ADDR_DIFF_ELT): Li

[committed] hppa: Add read access checks to __canonicalize_funcptr_for_compare

2018-03-06 Thread John David Anglin
likely to generate a segmentation fault canonicalizing a function pointer. Tested on hppa-unknown-linux-gnu with no observed regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-03-06 John David Anglin <dang...@gcc.gnu.org> * config/pa/

[committed, hppa] Fix loading of PIC labels

2018-02-14 Thread John David Anglin
e -- John David Anglin dave.ang...@bell.net 2018-02-14 John David Anglin <dang...@gcc.gnu.org> PR target/83984 * config/pa/pa.md: Load address of PIC label using the linkage table if the label is nonlocal. Index:

[committed] hppa: Fix conflict between -pg and -mlong-call options

2018-02-10 Thread John David Anglin
the problem. Dave -- John David Anglin dave.ang...@bell.net 2018-02-10 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label. Index: config/p

Re: [PR target/84089] handle E_VOIDmode in PA's base14_operand

2018-02-01 Thread John David Anglin
On 2018-02-01 12:20 PM, Aldy Hernandez wrote: Perhaps someone with access to a PA box can run further tests. I have a couple of tests running. Thanks, Dave -- John David Anglin dave.ang...@bell.net

Re: [committed] hppa: Switch hppa-linux to caller copies ABI

2018-01-21 Thread John David Anglin
On 2018-01-17 3:26 AM, Richard Biener wrote: That deserves a warning in gcc-8/changes.html Done. https://gcc.gnu.org/gcc-8/changes.html Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix alignment test failures on hppa-hpux

2018-01-21 Thread John David Anglin
The following patch fixes a few test failures on hpux due to the limited alignment of common. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-21 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/pr83621.c: Add -fno-

[committed] hppa: Use targetm.binds_local_p to check local binding in pa_function_ok_for_sibcall

2018-01-21 Thread John David Anglin
The attached change fixes the failure of gcc.dg/plugin/must-tail-call-1.c on hppa-linux. Using targetm.binds_local_p is less restrictive than TREE_PUBLIC in determining what binds local. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Add gnu_lto_v1 stub

2018-01-21 Thread John David Anglin
to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-21 John David Anglin <dang...@gcc.gnu.org> PR lto/83452 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition. * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment. Index: con

<    1   2   3   4   5   6   7   8   >