Re: [PATCH,doc] install: Drop hppa*-hp-hpux10, remove old notes on hppa*-hp-hpux11

2023-12-17 Thread John David Anglin
;t been ported to 64-bit HP-UX@ and doesn't build. Refer to @uref{binaries.html,,binaries} for information about obtaining -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix pr110279-1.c on hppa

2023-12-24 Thread John David Anglin
This test needs fma support. It is only available on hppa in PA 2.0. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Fix pr110279-1.c on hppa 2023-12-24 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pr110279-1.c: Add -march=2.0 option on hppa

[committed] hppa: Fix bind_c_coms.f90 and bind_c_vars.f90 tests on hppa

2024-01-08 Thread John David Anglin
e the gfortran.dg/bind_c_coms.f90 and gfortran.dg/bind_c_vars.f90 tests. These tests check whether bind_c works between fortran and C. Adding the -fcommon option fixes the tests. Probably, gcc and HP C are now by default inconsistent but that's water under the bridge. 2024-01-08 John Da

[committed] Skip gfortran.dg/dec_math.f90 on hppa*-*-hpux*

2024-01-08 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip gfortran.dg/dec_math.f90 on hppa hppa*-*-hpux* doesn't have any long double trig functions. 2024-01-08 John David Anglin gcc/testsuite/ChangeLog: * gfortran.dg/dec_math.f90: Skip on hppa*-*-hpux*. diff --git

[committed] xfail dg-final "Sunk statements: 5" on hppa*64*-*-*

2024-01-08 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- xfail dg-final "Sunk statements: 5" on hppa*64*-*-* 2024-01-08 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/ssa-sink-18.c: xfail dg-final "Sunk statements: 5" on hppa*64*-*-

[committed] Fix c-c++-common/fhardened-[12].c test fails on hppa

2023-12-06 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- Fix c-c++-common/fhardened-[12].c test fails on hppa The -fstack-protector and -fstack-protector-strong options are not supported on hppa since the stack grows up. 2023-12-06 John David Anglin gcc/testsuite/ChangeLog

[committed] Suppress warning from -fstack-protector on hppa

2022-12-16 Thread John David Anglin
it on hppa. This is problematic since hppa is the only significant architecture where the stack grows up. 2022-12-16 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_option_override): Disable -fstack-protector. gcc/testsuite/ChangeLog: * lib/target-supports.exp

[committed] hppa: Fix atomic operations on PA-RISC 2.0 processors

2023-01-05 Thread John David Anglin
e. 2023-01-05 John David Anglin libstdc++-v3/ChangeLog: * config/cpu/hppa/atomicity.h (_PA_LDCW_INSN): Define. (__exchange_and_add): Use _PA_LDCW_INSN. Use ordered store for lock release. Revise loop. (__atomic_add): Likewise. diff --git a/libstdc++-v3/config/cpu

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

2023-01-07 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix compilation of gcc.dg/atomic/c11-atomic-exec-[45].c on hpux. _HPUX_SOURCE needs to be defined to provide various types needed for pthreads. 2023-01-07 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/atomic/c11

[PATCH] c++tools: Fix compilation of server.cc on hpux

2023-01-07 Thread John David Anglin
Tested on trunk and gcc-12 with hppa64-hp-hpux11.11. Okay? Dave --- Fix compilation of server.cc on hpux. Select and FD_ISSET are declared in sys/time.h on most versions of hpux. As a result, HAVE_PSELECT and HAVE_SELECT can be 0. 2023-01-07 John David Anglin c++tools/ChangeLog

[committed] hppa: Fix support for atomic loads and stores on hppa

2023-01-13 Thread John David Anglin
o the word size. There are now a few atomic libcalls in the libgcc code, so we need sync support on all targets. 2023-01-13 John David Anglin gcc/ChangeLog: * config/pa/pa-linux.h (TARGET_SYNC_LIBCALL): Delete define. * config/pa/pa.cc (pa_init_libfuncs): Use MAX_SY

[committed] hppa: Revise REG+D address support to allow long displacements before reload

2023-11-16 Thread John David Anglin
reloads for floating-point accesses. This change allows long displacements before reload and corrects a couple of issues in the constraint handling for integer and floating-point accesses. 2023-11-16 John David Anglin gcc/ChangeLog: PR rtl-optimization/112415 * config/pa/pa.cc

Re: [committed] hppa: Revise REG+D address support to allow long displacements before reload

2023-11-16 Thread John David Anglin
On 2023-11-16 4:52 p.m., Jeff Law wrote: On 11/16/23 10:54, John David Anglin wrote: Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11.  Committed to trunk. This patch works around problem compiling python3.11 by improving REG+D address handling.  The change results in smaller code

Re: [committed] hppa: Revise REG+D address support to allow long displacements before reload

2023-11-17 Thread John David Anglin
0   9feeb0:   0f c9 10 9d ldw -c(sp),ret1 There are 2169 xmpyu instructions in cc1plus in my current gcc bootstrap on linux. Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix integer REG+D address reloads

2023-11-22 Thread John David Anglin
of integer REG+D instructions. Further, the Q constraint is used for some non-simple instructions (movb and addib). Thus, we need to return true when reload is in progress. 2023-11-22 John David Anglin gcc/ChangeLog: PR target/112617 * config/pa/predicates.md

[committed] hppa: Define MAX_FIXED_MODE_SIZE

2023-11-22 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Fixes FAIL: c-c++-common/pr111309-1.c ICE. Dave --- hppa: Define MAX_FIXED_MODE_SIZE Replace default define. We support TImode when TARGET_64BIT is true. 2023-11-22 John David Anglin gcc/ChangeLog: PR

[committed] hppa: Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-*

2023-11-23 Thread John David Anglin
The warning is now properly generated. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-* 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * c-c++-common/Wattributes.c: Don't skip

[committed] hppa: xfail scan-assembler-not check in g++.dg/cpp0x/initlist-const1.C

2023-11-23 Thread John David Anglin
The scan-assembler-not check needs to be xfailed on hppa*-*-hpux*. Dave --- hppa: xfail scan-assembler-not check in g++.dg/cpp0x/initlist-const1.C 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/cpp0x/initlist-const1.C: xfail scan-assembler-not check on hppa

[committed] hppa: Export main in pr104869.C on hpux

2023-11-23 Thread John David Anglin
This fixes a hpux linker warning about main not being exported. Committed to trunk. Dave --- hppa: Export main in pr104869.C on hpux This is needed to avoid a linker warning. 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/pr104869.C: Export main on hpux. diff

[committed] hppa: Fix gcc.dg/analyzer/fd-4.c on hpux

2023-11-23 Thread John David Anglin
This fixes gcc.dg/analyzer/fd-4.c on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Fix gcc.dg/analyzer/fd-4.c on hpux 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/analyzer/fd-4.c: Define _MODE_T on hpux. diff --git a/gcc/testsuite/gcc.dg/analyzer/fd-4

[committed] hppa: Fix g++.dg/modules/bad-mapper-1.C on hpux

2023-11-23 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Fix g++.dg/modules/bad-mapper-1.C on hpux 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/modules/bad-mapper-1.C: Add hppa*-*-hpux* to dg-error "-:failed mapper handshake communic

[committed] hppa: Use INT14_OK_STRICT in a couple of places in pa_emit_move_sequence

2023-11-24 Thread John David Anglin
t use 14-bit offsets. 2023-11-22 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_emit_move_sequence): Use INT14_OK_STRICT in a couple of places. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc index 565c948a9e6..2ee987796f6 100644 --- a/gcc/config/pa/pa.cc +++

[committed] hppa: Really fix g++.dg/modules/bad-mapper-1.C on hpux

2023-11-26 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Really fix g++.dg/modules/bad-mapper-1.C on hpux 2023-11-26 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/modules/bad-mapper-1.C: Add hppa*-*-hpux* to dg-error "this-will-not-work" targets.

[committed] hppa: Fix pr104869.C on hpux

2023-11-26 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Fix pr104869.C on hpux 2023-11-26 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/pr104869.C: Add attribute visibility default to main prototype. diff --git a/gcc/testsuite/g++.dg/pr104869.C b/gcc

[committed] Skip analyzer socket tests on hppa*-*-hpux*

2023-11-26 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip analyzer socket tests on hppa*-*-hpux* 2023-11-26 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/analyzer/fd-glibc-datagram-client.c: Skip on hppa*-*-hpux*. * gcc.dg/analyzer/fd-glibc-datagram-socket.c

[committed] Skip analyzer strndup test on hppa*-*-hpux*

2023-11-26 Thread John David Anglin
Test on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip analyzer strndup test on hppa*-*-hpux* 2023-11-26 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/analyzer/strndup-1.c: Skip on hppa*-*-hpux*. diff --git a/gcc/testsuite/gcc.dg/analyzer/strndup-1.c b/gcc

[committed] hppa: Update baseline symbols for hppa-linux

2023-09-25 Thread John David Anglin
Committed to trunk. Dave --- Update baseline symbols for hppa-linux. 2023-09-25 John David Anglin libstdc++-v3/ChangeLog: * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/config/abi/post/hppa-linux-gnu/baseline_symbols.txt b/libstdc++-v3

[committed] hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns

2024-06-30 Thread John David Anglin
tched predicate and constraint in xmpyu patterns 2024-06-30 John David Anglin gcc/ChangeLog: PR target/115691 * config/pa/pa.md: Remove incorrect xmpyu patterns. diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index b0f29a44bae..9e410f43052 100644 --- a/gcc/config/pa/

[committed] libstdc++-v3: Skip 30_threads/future/members/poll.cc on hppa*-*-linux*

2024-07-04 Thread John David Anglin
loops. This causes the wait_until_sys_epoch and wait_until_steady_epoch loops to timeout. There the loop wait time is determined by the timer resolution. 2024-07-04 John David Anglin libstdc++-v3/ChangeLog: PR libstdc++/98678 * testsuite/30_threads/future/members/poll.cc: Skip

[committed] hppa: Fix handling of unscaled index addresses on HP-UX

2024-08-29 Thread John David Anglin
unscaled index addresses on HP-UX. I don't think this impacts performance significantly. Code size might get slightly larger but we get some or more back from having the late combine passes. 2024-08-29 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (load_reg): Don't generate l

Re: [PATCH 50/52] pa: New hook implementation pa_c_mode_for_floating_type

2024-06-04 Thread John David Anglin
fix + as {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE get poisoned. */ +#define PA_FLOAT_TYPE_SIZE BITS_PER_WORD +#define PA_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2) +#define PA_LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2) -- John David Anglin dave.ang...@bell.net

[committed] testsuite: Fix unaligned accesses in ipa-sra-8.c and ipa-sra-9.c

2024-07-28 Thread John David Anglin
Committed as obvious to trunk. Noticed originally on hppa2.0w-hp-hpux11.11. Tested on hppa-unknown-linux-gnu. Dave --- testsuite: Fix unaligned accesses in ipa-sra-8.c and ipa-sra-9.c 2024-07-28 John David Anglin gcc/testsuite/ChangeLog: PR testsuite/92550 * gcc.dg/ipa/ipa

[committed] hppa: Fix (plus (plus (mult (a) (mem_shadd_constant)) (b)) (c)) optimization

2024-08-06 Thread John David Anglin
IMAGPART_EXPR when the shadd constant is 8 and we have SFmode. 2024-08-06 John David Anglin gcc/ChangeLog: PR target/113384 * config/pa/pa.cc (hppa_legitimize_address): Add check to ensure constant is an integral multiple of shift the value. diff --git a/gcc/config/pa/pa.cc b/gcc

[committed] hppa: Enable PA 2.0 symbolic operands on ELF32 targets

2024-08-31 Thread John David Anglin
David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_emit_move_sequence): Remove symbolic memory work arounds for TARGET_ELF32. (pa_legitimate_address_p): Likewise. Allow symbolic operands. Adjust comment. * config/pa/pa.md: Replace

[committed] hppa: Don't canonicalize operand order of scaled index addresses

2024-09-09 Thread John David Anglin
. 2024-09-09 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_legitimate_address_p): Don't canonicalize operand order of scaled index addresses. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc index 631f18a0ef5..84aa4f1b1f2 100644 --- a/gcc/config/pa/pa.cc +

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[committed] Fix incorrect mode used in pa_expand_prologue

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

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

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

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

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

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

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

[PATCH] Fix bootstrap with java on multiarch systems

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

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

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

[committed] Fix HImode add pattern on PA

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

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

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

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

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

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

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

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

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

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

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

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

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

[committed] Fix libstdc++/69446

2016-01-23 Thread John David Anglin
_GLIBCXX_USE_WEAK_REF needs to be defined to 0 to fix build error. Tested on hppa2.0w-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2016-01-23 John David Anglin PR libstdc++/69446 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. Index

Re: [PATCH] Fix failure of gfortran.dg/backtrace_1.f90 on hppa*-*-hpux*

2016-01-23 Thread John David Anglin
Ping. On 2015-12-28, at 2:58 PM, John David Anglin wrote: > The hppa*-*-hpux* target does not support __sync builtins. As a result, > libbacktrace does not > support backtraces when threads are active. > > Instead of always assuming threads are active in > libgfortran/r

[PATCH] Fix libstdc++-v3/include/math.h:66:1 2: error: 'constexpr bool std::isnan(double)' conflicts with a previous declaration

2016-01-27 Thread John David Anglin
hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016-01-27 John David Anglin PR libstdc++/69450 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete isinf and isnan functions into two independent checks. Check on

[committed] Fix failure of gcc.dg/tree-ssa/vector-5.c on hppa*-*-hpux*

2016-01-31 Thread John David Anglin
Need to add -fno-common. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-01-31 John David Anglin * gcc.dg/tree-ssa/vector-5.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/tree-ssa/vector-5.c

[committed] Fix failure of g++.dg/parse/parens3.C on hppa

2016-01-31 Thread John David Anglin
The attached change uses a different register to avoid ICEing in dwarf2out_frame_debug_expr. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-01-31 John David Anglin PR debug/68244 * g

[committed] Fix declaration of vsscanf on hpux

2016-01-31 Thread John David Anglin
trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-01-31 John David Anglin PR target/68741 * inclhack.def (hpux_vsscanf): New fix. * fixincl.x: Regenerated. * tests/base/stdio.h [HPUX_VSSCANF_CHECK]: New test. Index: inclhack.def

[committed] Fix regexps in gcc.dg/tree-ssa/sra-1[78].c for hpux

2016-01-31 Thread John David Anglin
On hpux, we have "L$C" instead of "LC" and four digits in the numeric part of the label. Some backslashes have been removed. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-01-31 John David Anglin

Re: [PATCH] Fix libstdc++-v3/include/math.h:66:1 2: error: 'constexpr bool std::isnan(double)' conflicts with a previous declaration

2016-02-04 Thread John David Anglin
be run on freebsd as well. Maybe the checks should run almost everywhere? The problem wasn't introduced by my change but earlier by Jonathan. I added hpux to the list of systems with obsolete defines. The default is to assume there are no obsolete defines. Dave -- John David A

Fix compilation of libbacktrace/mmap.c on hppa1.1-hp-hpux10.20

2016-02-06 Thread John David Anglin
The attached change defines MAP_FAILED if not defined. Committed as obvious to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-02-06 John David Anglin * mmap.c (MAP_FAILED): Define if not defined. Index: mmap.c

[committed] Require alias support for gcc.dg/pr67964.c

2016-02-12 Thread John David Anglin
This test needs alias support. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-02-12 John David Anglin * gcc.dg/pr67964.c: Add dg-require-alias. Index: gcc.dg/pr67964.c

Re: bswap PRs 69714, 67781

2016-02-12 Thread John David Anglin
On 2016-02-12, at 11:28 AM, Bernd Schmidt wrote: > I'm attaching a full patch. John David Anglin is currently running tests on > PA which may take a while. He's confirmed it fixes his testcase, and the > earlier 67781 testcase seems to be cured as well (only looked at ge

[committed] Xfail gfortran.dg/read_dir.f90 on hppa*-*-hpux*

2016-02-14 Thread John David Anglin
The "call system" call doesn't work on hppa-hpux, so xfailing. Dave -- John David Anglin dave.ang...@bell.net 2016-02-14 John David Anglin PR fortran/68746 * gfortran.dg/read_dir.f90: Xfail on hppa*-*-hpux*. Index: gfortran.

[committed] Add new bswap and abs patterns to PA

2016-02-14 Thread John David Anglin
64-hp-hpux11.11 with no observed regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-02-14 John David Anglin * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New. Index: config/pa/

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

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

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

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

[committed] Fix "error: unable to find a register to spill in class 'R1_REGS'" reloading indirect call operand

2015-08-03 Thread John David Anglin
c location. In this case, register %r1 is needed for the reload and the clobber blocks the reload. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-08-03 John David Anglin

[committed, pa] Change argument type and casts in pa_ldil_cint_p and pa_cint_ok_for_move to unsigned

2015-09-18 Thread John David Anglin
The attached change fixes build error on trunk and makes the argument types for various constant checks more consistent. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-09-18 John David Anglin

[committed, pa] Don't generate sibcall to public functions on TARGET_ELF32

2015-09-19 Thread John David Anglin
). The out of range field is caused by attempting to do a sibcall to a public function. Tested on hppa-unknown-linux-gnu. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-09-19 John David Anglin * config/pa/pa.c

[committed, pa] Add long long support to config/pa/linux-atomic.c

2015-09-23 Thread John David Anglin
trunk, gcc-5 and gcc-4.9 branches. Dave -- John David Anglin dave.ang...@bell.net 2015-09-23 John David Anglin * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks. (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of

[committed, pa] Update atomic support in PA backend

2015-09-24 Thread John David Anglin
patterns to also use the LWS builtins. Tested on hppa-unknown-linux-gnu with no observed regressions. Committed to trunk and gcc-5. Dave -- John David Anglin dave.ang...@bell.net 2015-09-24 John David Anglin * config/pa/pa-linux.h (HAVE_sync_compare_and_swapdi): Define

[committed] Skip g++.dg/Wno-frame-address.C on hppa

2015-10-25 Thread John David Anglin
It is not possible to access arbitrary stack frames on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-10-25 John David Anglin * g++.dg/Wno-frame-address.C: Skip on hppa*-*-*. Index: g++.dg/Wno-frame-address.C

[committed] Canonicalize both function and method types for comparison

2015-10-25 Thread John David Anglin
canonicalization prior to comparison. The attached change fixes this problem. 32-bit hppa is the only target that currently needs this canonicalization. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu with no observed regressions. Committed to trunk. Dave -- John David Anglin dave.ang

[committed] Define EH_FRAME_THROUGH_COLLECT2 in config/pa/som.h

2015-10-25 Thread John David Anglin
David Anglin dave.ang...@bell.net 2015-10-25 John David Anglin * config/pa/som.h (EH_FRAME_THROUGH_COLLECT2): Define. Index: config/pa/som.h === --- config/pa/som.h (revision 229301) +++ config/pa/som.h

[committed] gcc.dg/Wno-frame-address.c: Skip on hppa*-*-*

2015-11-07 Thread John David Anglin
We need to skip on hppa since it's not possible to access arbitrary frames. Dave -- John David Anglin dave.ang...@bell.net 2015-11-07 John David Anglin * gcc.dg/Wno-frame-address.c: Skip on hppa*-*-*. Index: gcc.dg/Wno-frame-addr

[committed] Tighten runtime initialization check in __canonicalize_funcptr_for_compare on hppa-linux

2015-12-01 Thread John David Anglin
observed regressions on trunk. Installed to trunk and 4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-12-01 John David Anglin * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize fixup values if saved GOT address doesn't match runtime ad

[PATCH] Fix libgfortran build on hppa64-hp-hpux11.11

2015-12-05 Thread John David Anglin
ue in elf.c which is fixed by a void cast. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed regressions. Okay for trunk? Regards, Dave -- John David Anglin dave.ang...@bell.net 2015-12-05 John David Anglin PR 68115/libfortran * configure.ac

[committed] Fix PR target/68729

2015-12-09 Thread John David Anglin
consistent with the modes of the input and output operands. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and active branches. Dave -- John David Anglin dave.ang...@bell.net 2015-12-09 John David Anglin PR target/68729

Re: [committed] Tighten runtime initialization check in __canonicalize_funcptr_for_compare on hppa-linux

2015-12-09 Thread John David Anglin
On 2015-12-01, at 7:15 PM, John David Anglin wrote: > The attached change fixes a startup issue of emacs24 on Debian hppa-linux. > The emacs24 build does some tricky > stuff to preinitialize values, so that standard static initialization check > is skipped. However, the global

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-21 Thread John David Anglin
ttrtab ../../gcc/gcc/common.md ../../gcc/gcc/config/pa/pa.md insn-conditions.md \     -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c genattrtab: Internal error: abort in attr_alt_union, at genattrtab.c:2383 It's great that you are back helpting with the middle-end. Regards, Dave

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-22 Thread John David Anglin
On 2020-08-22 4:52 a.m., Roger Sayle wrote: > Hi Dave, > > It's great to hear from you. It's been a long while. > > Sorry, doh! yes, there's a mistake in my patch (that I introduced when I > renumbered > the operands in the shd's define_expand to be the more l

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-22 Thread John David Anglin
structions > where a single shrpd would be optimal. It turns out we now need to support TI mode and __int128 for libgomp.  The hppa64-hpux target won't boot without it.  I had just added a change to support TI mode but it's untested. Regards, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-25 Thread John David Anglin
he patch is fine.  Testing completed this morning on hpux and there are no regressions. Please install on trunk and gcc-10 branch. Thanks very much, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa: PR middle-end/87256: Improved hppa_rtx_costs avoids synth_mult madness.

2020-08-25 Thread John David Anglin
as before. I confirmed that change fixes PR middle-end/87256.  So, we can close this PR when the patch is installed. Please install on trunk and gcc-10.  gcc-10 is the default compiler on Debian. Thanks, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-26 Thread John David Anglin
.dg/tree-ssa/slsr-13.c scan-tree-dump-times optimized " * 5" 0 The above didn't include patchh3.txt.  Seems to be a difference in quoting.  I'll check. Linux build is close to running this test. These tests didn't fail on 32-bit hpux without patchh2.txt or in previous Linux build. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-08-26 Thread John David Anglin
24]:   x1_4 = c_2(D) + s_3(D);   a2_5 = s_3(D) * 5;   x2_6 = c_2(D) + a2_5;   a3_7 = c_2(D) * 5;   x3_8 = s_3(D) + a3_7;   _1 = x1_4 + x2_6;   x_9 = _1 + x3_8;   return x_9; Regards, Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa: Improve hppa_rtx_costs for shifts by constants.

2020-08-27 Thread John David Anglin
(hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]: > Provide accurate costs for shifts of integer constants. Will test. -- John David Anglin dave.ang...@bell.net

[committed] hppa: Fix shadd-2.c scan assembler count

2020-08-27 Thread John David Anglin
Due to revisions to hppa_rtx_costs by Roger Sayle, we now have shift add instructions in the shadd-2.c test. Committed to trunk and gcc-10 branch. Dave Fix shadd-2.c scan assembler count. 2020-08-27 John David Anglin gcc/testsuite/ * gcc.target/hppa/shadd-2.c: Adjust times to 4

Re: [PATCH] hppa: Improve hppa_rtx_costs for shifts by constants.

2020-09-01 Thread John David Anglin
Sayle > > gcc/ChangeLog > * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]: > Provide accurate costs for shifts of integer constants. > > Many thanks in advance (and my apologies for the inconvenience), > Roger > -- > Roger Sayle > NextMove Software > Cambridge, UK > -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa64: Improve hppa_rtx_costs for DImode shifts by constants.

2020-09-07 Thread John David Anglin
nts. Will do. I'm still testing patchh3.txt on hppa64-hpux.  Takes a bit of time to do full build and check. Thanks, Dave -- John David Anglin dave.ang...@bell.net

[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] 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] 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] 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] Skip libstdc++ charset.cc tests on *-*-hpux*

2020-02-29 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave 2020-02-29 John David Anglin * testsuite/17_intro/headers/c++1998/charset.cc: Skip on *-*-hpux*. * testsuite/17_intro/headers/c++2011/charset.cc: Likewise. * testsuite/17_intro/headers

<    1   2   3   4   5   6   7   >