[committed] XFAIL some IPA tests that are not supported on 32-bit hppa*-*-hpux*

2020-02-29 Thread John David Anglin
IPA-SRA does not handle structures passed by invisible reference when the callee does copies. This patch xfails test that depend on this feature on 32-bit hppa*-*-hpux*. Dave 2020-02-29 John David Anglin PR ipa/92548 * gcc.dg/ipa/ipa-sra-12.c: xfail parameter split test on

[committed] Skip/xfail various tests for gcc-10 on hppa*-*-hpux*

2020-02-29 Thread John David Anglin
This change addresses a bunch of miscellaneous testsuite issues for hppa*-*-hpux*. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave 2020-02-29 John David Anglin * g++.dg/pr90981.C: Skip on hppa*-*-hpux*. * gcc.dg/gnu2x-attrs-1.c: Add dg-require-alias

[committed] Disable gnat.dg/socket1.adb on hppa*-*-hpux*

2020-02-29 Thread John David Anglin
Committed to trunk and gcc-9 branch. Dave 2020-02-29 John David Anglin PR ada/91100 * gnat.dg/socket1.adb: Disable on hppa*-*-hpux*. diff --git a/gcc/testsuite/gnat.dg/socket1.adb b/gcc/testsuite/gnat.dg/socket1.adb index a6bdade304b..154a7aff190 100644 --- a/gcc/testsuite

[committed][hppa] Define builtin __BIG_ENDIAN__

2020-03-24 Thread John David Anglin
Although Martin provided stronger fix, this fixes lto/94249 on hppa-linux. It seems we never defined __BIG_ENDIAN__. Probably, a few packages test for it. Tested on hppa-unknown-linux-gnu. Committed to trunk, gcc-9 and gcc-8. Dave 2020-03-24 John David Anglin PR lto/94249

[committed][hppa] Remove duplicate .align output

2020-03-29 Thread John David Anglin
This patch removes a bit of extraneous output from .s files. Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave 2020-03-29 John David Anglin * gcc/config/pa/pa.c (pa_asm_output_aligned_bss): Delete duplicate .align output. diff --git a/gcc

[committed][hppa] Fix weakening of external objects

2020-04-21 Thread John David Anglin
ve 2020-04-21 John David Anglin * config/pa/som.h (ASM_WEAKEN_LABEL): Delete. (ASM_WEAKEN_DECL): New define. (HAVE_GAS_WEAKREF): Undefine. diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h index 505fdd65d79..81aee862aa0 100644 --- a/gcc/config/pa/som.h +++ b

[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

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

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

2019-10-12 Thread John David Anglin
ht 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

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

2019-10-12 Thread John David Anglin
entry. 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): A

[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

[PATCH] libcody: Fix build on hppa*-*-hpux11.11

2020-12-26 Thread John David Anglin
The following patch fixes the compilation of libcody/resolver.cc on hppa*-*-hpux11.11. I believe fstatat was introduced in POSIX 2008. Okay? Regards, Dave Fix libcody build on hppa*-*-hpux11.11. libcody/ChangeLog: * resolver.cc: Only use fstatat when _POSIX_C_SOURCE >= 200809L. diff

[committed] Skip asm goto test fails on hppa

2021-01-18 Thread John David Anglin
The hppa target is a reload target and asm goto is not supported on reload targets. Skip failing tests on hppa. Committed to master. Regards, Dave Skip asm goto tests on hppa*-*-*. gcc/testsuite/ChangeLog: PR testsuite/97987 * gcc.c-torture/compile/asmgoto-2.c: Skip on hppa.

[commited] Avoid no-stack-protector-attr fails on hppa*-*-*

2021-01-18 Thread John David Anglin
The stack grows up on hppa and stack protection is not supported. Committed to master. Regards, Dave Avoid no-stack-protector-attr fails on hppa*-*-*. gcc/testsuite/ChangeLog: * g++.dg/no-stack-protector-attr-3.C: Don't compile on hppa*-*-*. * g++.dg/no-stack-protector-attr.C:

[committed] Fix PR ada/97504 on hppa*-*-hpux*

2020-11-29 Thread John David Anglin
The following change fixes PR ada/97504 on hppa*-*-hpux*. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Regards, Dave 2020-11-29 John David Anglin gcc/ada/ PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) : Use wraplf version of Aux_Long_Long_Float. diff

[committed] Fix hppa64-hpux11 build to remove source paths from embedded path.

2020-11-29 Thread John David Anglin
paths from the source build. The same option is used on ia64-hpux. I didn't update libgo since go is not currently supported and it is more or less separately maintained. The libtool.m4 change was submitted to the libtool project three months ago. Regards, Dave -- 2020-11-29 John David A

Re: [committed] Fix hppa64-hpux11 build to remove source paths from embedded path.

2020-12-01 Thread John David Anglin
generated. Thanks, Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Skip guality tests on hppa*-*-hpux*

2022-11-13 Thread John David Anglin
Committed to trunk. Dave --- Skip guality tests on hppa-hpux. The guality check command hangs. This causes TCL errors in other tests and slows testsuite execution. 2022-11-13 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/guality/guality.exp: Skip on hppa*-*-hpux

[committed] libstdc++-v3/testsuite: Add options to link with libatomic in various tests

2021-03-10 Thread John David Anglin
This change fixes various tests that need linking against libatomic on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net Add options to link with libatomic in various tests. libstdc++-v3/ChangeLog: * testsuite/29_atomics/atomic/wait_notify/bool.cc: Add options

Re: [committed] libstdc++-v3/testsuite: Add options to link with libatomic in various tests

2021-03-10 Thread John David Anglin
On 2021-03-10 12:36 p.m., Jonathan Wakely wrote: > Most of this looks good but I think we'll want to remove it from this > test again, as we're about to change the atomic type from ptrdiff_t to > int, and so hppa won't need libatomic. That would be good. -- Joh

[committed] hppa: Use memcpy instead of strncpy to avoid error with -Werror=stringop-truncation

2021-03-19 Thread John David Anglin
This change fixes a stringop-truncation warning in pa.c. Tested on hppa-unknown-linux-gn, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- Use memcpy instead of strncpy to avoid error with -Werror=stringop-truncation. gcc/ChangeLog: * config/pa/pa.c (import_

[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] hppa: Fix addvdi3 and subvdi3 patterns

2022-11-30 Thread John David Anglin
force immediate operands to register operands on the 64-bit target and use the add/sub instructions which can trap on 64-bit signed overflow. 2022-11-30 John David Anglin gcc/ChangeLog: * config/pa/pa.md (addvdi3): Force operand 2 to a register. Remove "addi,tsv,*" instru

[committed] hppa: Improve atomic store implementation on hppa-linux

2021-12-27 Thread John David Anglin
atomic store implementation on hppa-linux. 2021-12-27 John David Anglin gcc/ChangeLog: * config/pa/pa-protos.h: Delete pa_maybe_emit_compare_and_swap_exchange_loop() declaration. * config/pa/pa.c (pa_expand_compare_and_swap_loop): Delete

[COMMITTED] hppa: Use optab_libfunc to access sync_lock_test_and_set libfunc

2022-01-02 Thread John David Anglin
and gcc-11 branch. Dave --- Use optab_libfunc to access sync_lock_test_and_set libfunc on hppa-linux. 2022-01-02 John David Anglin gcc/ChangeLog: * config/pa/pa.md (atomic_storeq): Use optab_libfunc to access sync_lock_test_and_set libfunc. Call convert_memory_address to

[COMMITTED] hppa: Generate illegal instruction fault if LWS syscall returns -EFAULT

2022-01-02 Thread John David Anglin
instruction fault if LWS syscall returns -EFAULT. 2022-01-02 John David Anglin libgcc/ChangeLog: * config/pa/linux-atomic.c (_ASM_EFAULT): Define. (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error return is not equal _ASM_EFAULT. (__kernel_cmpxchg2

[COMMITTED] hppa: Skip gcc.dg/guality/example.c on hppa-linux

2022-01-02 Thread John David Anglin
This test hangs on hppa-linux. Don't know why exactly but it seems to be a sequencing issue with gdb. The hang breaks automated builds as the test doesn't timeout. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- Skip gcc.dg/guality/example.c on hppa-linux. 2022-01-02

[COMMITTED] hppa: Adjust shadd-2 and shadd-3 scan counts

2022-01-02 Thread John David Anglin
Fixes shadd-2.c and shadd-3.c test fails on trunk. Committed to trunk. Dave --- Adjust shadd-2 and shadd-3 scan counts. 2022-01-02 John David Anglin gcc/testsuite/ChangeLog: * gcc.target/hppa/shadd-2.c: Adjust count to 3. * gcc.target/hppa/shadd-3.c: Likewise. diff --git

[committed] hppa: Add assember CFI directives to millicode division and remainder routines

2023-04-05 Thread John David Anglin
John David Anglin libgcc/ChangeLog: PR target/109374 * config/pa/milli64.S (RETURN_COLUMN): Define. ($$divI): Add CFI directives. ($$divU): Likewise. ($$remI): Likewise. ($$remU): Likewise. diff --git a/libgcc/config/pa/milli64.S b/libgcc/config/pa

[committed] hppa: Fix 22_locale/locale/cons/12658_thread-2.cc on hppa

2023-04-05 Thread John David Anglin
Committed to trunk. Dave --- Fix 22_locale/locale/cons/12658_thread-2.cc on hppa. 2023-04-05 John David Anglin libstdc++-v3/ChangeLog: * testsuite/22_locale/locale/cons/12658_thread-2.cc: Double timeout factor on hppa*-*-*. diff --git a/libstdc++-v3/testsuite/22_locale

[committed] hppa: Fix gcc.dg/long_branch.c on hppa

2023-04-08 Thread John David Anglin
Committed to trunk. Dave --- Fix gcc.dg/long_branch.c on hppa. 2023-04-08 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/long_branch.c: Use timeout factor 2.0 on hppa*-*-*. diff --git a/gcc/testsuite/gcc.dg/long_branch.c b/gcc/testsuite/gcc.dg/long_branch.c index 97fb169b043

[committed] hppa: Fix handling of large arguments passed by value

2023-04-15 Thread John David Anglin
ng of large arguments passed by value. 2023-04-15 John David Anglin gcc/ChangeLog: PR target/109478 * config/pa/pa-protos.h (pa_function_arg_size): Update prototype. * config/pa/pa.cc (pa_function_arg): Return NULL_RTX if argument size is

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

2018-08-02 Thread John David Anglin
't think there's a suitable barrier.  The sync instruction seems like 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 =

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

2018-08-06 Thread John David Anglin
nge after testing 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. I

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

[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

[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-linux: Update baseline symbols

2017-11-29 Thread John David Anglin
The attached patch updates the hppa-linux baseline symbols for gcc-8. Dave -- John David Anglin dave.ang...@bell.net 2017-11-29 John David Anglin * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. Index: config/abi/post/hppa-linux-gnu/baseline_symbols.txt

[committed] hppa: Fix bootstrap on hppa-hpux

2017-12-03 Thread John David Anglin
-- John David Anglin dave.ang...@bell.net

Re: [committed] hppa: Fix bootstrap on hppa-hpux

2017-12-03 Thread John David Anglin
ister operands. The attached change fixes this problem. Dave -- John David Anglin dave.ang...@bell.net 2017-12-03 John David Anglin * config/pa/pa.c (pa_legitimate_address_p): For scaled indexing, require base operand is a REG_POINTER prior to reload on targets wit

[committed] hppa: Fix comment for pa_som_asm_init_sections

2017-12-17 Thread John David Anglin
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-12-17 John David Anglin * config/pa/pa.c (pa_som_asm_init_sections): Fix comment. Index: config/pa/pa.c === --- config/pa/pa.c

[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

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

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

2018-06-11 Thread John David Anglin
t;+8>: 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: Move pa.h FUNCTION_ARG_SIZE to pa.c (PR83858)

2018-01-16 Thread John David Anglin
y. I want to see if ASM_DECLARE_FUNCTION_NAME can be turned into a function in pa.c as well. This would allow pa_function_arg_size to be static. Dave -- John David Anglin dave.ang...@bell.net

Re: Move pa.h FUNCTION_ARG_SIZE to pa.c (PR83858)

2018-01-16 Thread John David Anglin
On 2018-01-16 9:48 AM, Richard Sandiford wrote: Oops, yes. Installed with that change, thanks. Oops, I just realized the CEIL function needs to be applied to the GET_MODE_SIZE return as well... Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix move of FUNCTION_ARG_SIZE to pa.c

2018-01-16 Thread John David Anglin
We need to apply CEIL to the case where mode != BLKmode. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-16 John David Anglin * config/pa/pa.c (pa_function_arg_size): Apply CEIL to GET_MODE_SIZE return value. Index: config/pa/pa.c

[commited] hppa: Cleanup ASM_DECLARE_FUNCTION_NAME define in som.h

2018-01-16 Thread John David Anglin
This shortens and simplifies a number of lines in ASM_DECLARE_FUNCTION_NAME. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-16 John David Anglin * config/pa/som.h (ASM_DECLARE_FUNCTION_NAME): Cleanup type and mode variables. Index: config/pa

[committed] hppa: Rework MALLOC_ABI_ALIGNMENT macro

2018-01-16 Thread John David Anglin
. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-16 John David Anglin * config/pa.h (MALLOC_ABI_ALIGNMENT): Set 32-bit alignment default to 64 bits. * config/pa/pa32-linux.h (MALLOC_ABI_ALIGNMENT): Set alignment to 128 bits. Index

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

2018-01-16 Thread John David Anglin
problems that result from the switch. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-16 John David Anglin * config.gcc (hppa*-*-linux*): Change callee copies ABI to caller copies. Index: config.gcc

Re: [PATCH] Add clobbers for callee copied argument temporaries (PR sanitizer/81715, PR testsuite/83882)

2018-01-17 Thread John David Anglin
rget.  The hpux and bsd targets are still callee copies. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Add clobbers for callee copied argument temporaries (PR sanitizer/81715, PR testsuite/83882)

2018-01-18 Thread John David Anglin
-Os execution test FAIL: gcc.dg/compat/pr83487-1 c_compat_y_tst.o compile FAIL: gcc.dg/compat/pr83487-2 c_compat_y_tst.o compile Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Add clobbers for callee copied argument temporaries (PR sanitizer/81715, PR testsuite/83882)

2018-01-18 Thread John David Anglin
On 2018-01-18 12:51 PM, Jakub Jelinek wrote: On Thu, Jan 18, 2018 at 08:10:50AM -0500, John David Anglin wrote: On 2018-01-17 3:07 PM, Jakub Jelinek wrote: PR83882 complains that PR81715 testcase fails on callee copies parameter targets. The following patch ought to fix that, but I have only

Re: [PATCH] Add clobbers for callee copied argument temporaries (PR sanitizer/81715, PR testsuite/83882)

2018-01-18 Thread John David Anglin
On 2018-01-18 2:44 PM, John David Anglin wrote: I don't have hpux or hppa-linux fenv.h, so can't check pr52451.c. Will have to investigate.  I see they predate your patch. This is a test issue.  The long double support on hpux is a software emulation and it's not supported the

[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 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: config/pa/stublib.c

[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: 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 * gcc.dg/pr83621.c: Add -fno-common additional option on

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

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

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

2018-02-10 Thread John David Anglin
problem. Dave -- John David Anglin dave.ang...@bell.net 2018-02-10 John David Anglin * config/pa/pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label. Index: config/pa/pa.c === --- config/pa

[committed, hppa] Fix loading of PIC labels

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

[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 * config/pa/fptr.c (_dl_read_access_allowed

[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 * 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): Likewise. * config/pa/pa64

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

2018-03-14 Thread John David Anglin
ll through 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

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 the

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

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

2018-09-14 Thread John David Anglin
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]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-17 Thread John David Anglin
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

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

[PATCH] hppa: Remove TARGET_SCHED_ADJUST_PRIORITY hook

2018-09-19 Thread John David Anglin
trunk. 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 === --- conf

[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

[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 * gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*. * c-c

[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 * gcc.c-torture/co

[committed] Fix alignment in gcc.dg/memcpy-5.c on hppa*-*-hpux*

2014-08-07 Thread John David Anglin
Tested on hppa2.0-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-08-07 John David Anglin * gcc.dg/memcpy-5.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/memcpy-5.c

[committed] Add comment to gcc.dg/atomic/stdatomic-flag.c regarding xfail

2014-08-07 Thread John David Anglin
The attached change adds a requested comment regarding the xfail. 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 * gcc.dg/atomic/stdatomic-flag.c: Add

[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

[PATCH] Don't unilaterally include 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 * configure.ac: Guard inclu

[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 PR tree-optimization/60707 * gfortran.dg/pr45636.f90: xfail on 32-bit hppa

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

2014-08-11 Thread John David Anglin
k() to use a bl 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 J

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] 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 PR target/61641 * config/pa/pa-protos.h (pa_output_addr_vec

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

2014-08-23 Thread John David Anglin
pux11.11 and hppa-unknown- linux-gnu. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-08-23 John David Anglin PR target/62038 * config/pa/pa.c (pa_output_function_epilogue): Don't set last_address when t

[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 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. Index: config/abi

[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 * config/abi/post/hppa

[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 * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation prefix to function labels when generating fast indirect calls. Index: config/pa

[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 * gcc.dg/pr61868.c: Require lto. Index: gcc.dg/pr61868.c

[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 * g++.dg/ipa/pr61800.C

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

[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 PR gcpv-profile/61790 * gcov-t

[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 PR debug/60433

Re: Revert libsanitizer patches or fix 59009

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

Re: Revert libsanitizer patches or fix 59009

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

[committed] HP-UX 11 reentrant functions

2014-10-13 Thread John David Anglin
years 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 PR libfortran/63471 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REEN

[committed] Remove hppa -mjump-in-delay option

2014-10-18 Thread John David Anglin
call support and this was an additional complication. So, I decided it was time to remove this option. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu with no regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-

Re: [committed] Remove hppa -mjump-in-delay option

2014-10-19 Thread John David Anglin
On 19-Oct-14, at 10:13 AM, Segher Boessenkool wrote: You can set it to "Ignored" in pa.opt now? And remove the mask? Yes, will update. Dave -- John David Anglin dave.ang...@bell.net

[committed] Change -mjump-in-delay option on PA to ignored

2014-10-21 Thread John David Anglin
The attached patch changes the -mjump-in-delay option to "Ignore" and removes the mask. Tested on hppa-unknown-linux-gnu with no regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-10-21 John David Anglin * config.g

[committed] Fix typo in last change to pa.c

2014-10-23 Thread John David Anglin
The attached change fixes a compile error caused by the last change to pa.c. Committed as obvious. Dave -- John David Anglin dave.ang...@bell.net 2014-10-23 John David Anglin * config/pa/pa.c (pa_can_combine_p): Fix typo in last change. Index: config/pa/pa.c

<    1   2   3   4   5   6   7   >