[committed] Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux

2024-03-28 Thread John David Anglin
Fixes conflicting declarations of mode_t. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux 2024-03-28 John David Anglin gcc/testsuite/ChangeLog: PR analyzer/111289 * c

[committed] hppa: Fix LO_SUM DLTIND14R address support in PRINT_OPERAND_ADDRESS

2024-03-23 Thread John David Anglin
David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_output_global_address): Handle UNSPEC_DLTIND14R addresses. * config/pa/pa.h (PRINT_OPERAND_ADDRESS): Output "RT'" for UNSPEC_DLTIND14R address. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc index d

[committed] hppa: Improve handling of REG+D addresses when generating PA 2.0 code

2024-03-17 Thread John David Anglin
as these instructions don't need relocation. This change revise the INT14_OK_STRICT define to allow creation of instructions with 14-bit REG+D addresses before reload when generating PA 2.0 code. 2024-03-17 John David Anglin gcc/ChangeLog: PR rtl-optimization/112415 * config/pa/pa.cc

[committed] hppa: Fix complaint about non-delegitimized UNSPEC UNSPEC_TP

2024-03-17 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Fix complaint about non-delegitimized UNSPEC UNSPEC_TP 2024-03-17 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_delegitimize_address): Delegitimize UNSPEC_TP. diff --git a/gcc/config/pa/pa.cc b/gcc

[committed] hppa: Fix REG+D address support before reload

2024-03-14 Thread John David Anglin
could fix an invalid 14-bit displacement in a floating-point access but this is not the case. 2024-03-14 John David Anglin gcc/ChangeLog: PR target/114288 * config/pa/pa.cc (pa_legitimate_address_p): Don't allow 14-bit displacements before reload for modes that may use

Re: [committed] Set num_threads to 50 on 32-bit hppa in two libgomp loop tests

2024-03-01 Thread John David Anglin
|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory) Will revert change to tests. Dave -- John David Anglin dave.ang...@bell.net

Re: [committed] Set num_threads to 50 on 32-bit hppa in two libgomp loop tests

2024-02-29 Thread John David Anglin
On 2024-02-29 6:02 p.m., Thomas Schwinge wrote: Hi! On 2024-02-01T19:20:57+, John David Anglin wrote: Tested on hppa-unknown-linux-gnu. Committed to trunk. Set num_threads to 50 on 32-bit hppa in two libgomp loop tests We support a maximum of 50 threads on 32-bit hppa. What happens

[PATCH] libstdc++-v3: Fix cmath math declarations and stub support for hppa64-*-hpux11*

2024-02-29 Thread John David Anglin
This change fixes the C99 math function support in on hppa64-*-hpux11*. Tested on hppa64-hp-hpux11.11 and x86_64-linux-gnu. See: https://gcc.gnu.org/pipermail/gcc-testresults/2024-February/809158.html https://gcc.gnu.org/pipermail/gcc-testresults/2024-February/809101.html Okay for trunk? Dave

[committed] Fix gcc.c-torture/execute/ieee/cdivchkf.c on hpux

2024-02-11 Thread John David Anglin
Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave --- Fix gcc.c-torture/execute/ieee/cdivchkf.c on hpux 2024-02-11 John David Anglin gcc/testsuite/ChangeLog: * gcc.c-torture/execute/ieee/cdivchkf.c: Use ilogb and __builtin_fmax instead

[committed] libgomp: Define config_path for hppa*-*-linux*

2024-02-11 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- libgomp: Define config_path for hppa*-*-linux* 2024-02-11 John David Anglin libgomp/ChangeLog: PR libgomp/113843 * configure.tgt (hppa*-*-linux*): Define config_path. diff --git a/libgomp/configure.tgt b

[committed] Fix xfail for 32-bit hppa*-*-* in gcc.dg/pr84877.c

2024-02-03 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- Fix xfail for 32-bit hppa*-*-* in gcc.dg/pr84877.c 2024-02-03 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pr84877.c: Adjust xfail parentheses. diff --git a/gcc/testsuite/gcc.dg/pr84877.c b/gcc/testsuite/gcc.dg

[committed] libatomic: Provide FPU exception defines for hppa

2024-02-03 Thread John David Anglin
approach for hppa is to define FE_INEXACT, etc, to match the status register and not include . 2024-02-03 John David Anglin libatomic/ChangeLog: PR target/59778 * configure.tgt (hppa*): Set ARCH. * config/pa/fenv.c: New file. diff --git a/libatomic/config/pa/fenv.c b

[committed] hppa: Implement TARGET_ATOMIC_ASSIGN_EXPAND_FENV

2024-02-02 Thread John David Anglin
__builtin_get_fpsr() and __builtin_set_fpsr(x) to get and set the floating-point status register. They are used to implement pa_atomic_assign_expand_fenv(). 2024-02-02 John David Anglin gcc/ChangeLog: PR target/59778 * config/pa/pa.cc (enum pa_builtins): Add PA_BUILTIN_GET_FPSR

[committed] Set num_threads to 50 on 32-bit hppa in two libgomp loop tests

2024-02-01 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- Set num_threads to 50 on 32-bit hppa in two libgomp loop tests We support a maximum of 50 threads on 32-bit hppa. 2024-02-01 John David Anglin libgomp/ChangeLog: * testsuite/libgomp.c++/loop-3.C: Set num_threads to 50

[committed] xfail gnat.dg/trampoline3.adb scan-assembler-not check on hppa*-*-*

2024-02-01 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- xfail gnat.dg/trampoline3.adb scan-assembler-not check on hppa*-*-* We still require an executable stack for trampolines on hppa*-*-*. 2024-02-01 John David Anglin gcc/testsuite/ChangeLog: * gnat.dg/trampoline3.adb

[committed] hppa: Fix bug in atomic_storedi_1 pattern

2024-02-01 Thread John David Anglin
. 2024-02-01 John David Anglin gcc/ChangeLog: * config/pa/pa.md (atomic_storedi_1): Fix bug in alternative 1. diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 52ad0c3776d..aecdcc98b6a 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -10723,13 +10723,13

[committed] Add -gno-strict-dwarf to dg-options in various btf enum tests

2024-01-22 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Add -gno-strict-dwarf to dg-options in various btf enum tests The -gno-strict-dwarf option is needed to ensure enum signedness is added to type_die. 2024-01-22 John David Anglin gcc/testsuite/ChangeLog: PR debug/113382

[committed] Remove several xfails for 32-bit hppa*-*-*

2024-01-20 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- Remove several xfails for 32-bit hppa*-*-* These arise because 32-bit ELF targets were changed from callee copies to caller copies. 2024-01-20 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/ipa/iinline-4.c

[committed] Increase timeout by 2 in libgomp.fortran/alloc-comp-3.f90 on hppa*-*-*

2024-01-20 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Increase timeout by 2 in libgomp.fortran/alloc-comp-3.f90 on hppa*-*-* 2024-01-20 John David Anglin libgomp/ChangeLog: * testsuite/libgomp.fortran/alloc-comp-3.f90: Increase timeout by 2 on hppa*-*-*. diff --git

[committed] Don't run libgomp.c/simd-math-1.c on hppa*-*-hpux*

2024-01-20 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Don't run libgomp.c/simd-math-1.c on hppa*-*-hpux* hppa*-*-hpux* lacks necessary math functions. 2024-01-20 John David Anglin libgomp/ChangeLog: * testsuite/libgomp.c/simd-math-1.c: Don't run on hppa*-*-hpux

[committed] xfail scan-tree-dump-times checks on hppa*64*-*-* in gcc.dg/tree-ssa/slsr-13.c

2024-01-20 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- xfail scan-tree-dump-times checks on hppa*64*-*-* in gcc.dg/tree-ssa/slsr-13.c 2024-01-20 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/slsr-13.c: xfail scan-tree-dump-times checks on hppa*64

[committed] Require target lra in gcc.dg/torture/pr110422.c

2024-01-20 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Require target lra in gcc.dg/torture/pr110422.c LRA is required for asm goto. 2024-01-20 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/torture/pr110422.c: Require target lra. diff --git a/gcc/testsuite/gcc.dg

[committed] Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0

2024-01-19 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0 2024-01-19 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/torture/pr47917.c: Limit dg-xfail-run-if for hpux11.[012]* to -O0. diff --git a/gcc/testsuite

[committed] Change dg-options for hpux to define _HPUX_SOURCE in gcc.dg/pthread-init-2.c

2024-01-19 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Change dg-options for hpux to define _HPUX_SOURCE in gcc.dg/pthread-init-2.c Pthreads on hpux needs _HPUX_SOURCE define for id_t and spu_t types. 2024-01-19 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pthread

[committed] Only xfail gcc.dg/pr84877.c on 32-bit hppa*-*-*

2024-01-19 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Only xfail gcc.dg/pr84877.c on 32-bit hppa*-*-* 2024-01-19 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pr84877.c: Only xfail on 32-bit hppa*-*-*. diff --git a/gcc/testsuite/gcc.dg/pr84877.c b/gcc/testsuite/gcc.dg

[committed] Skip gcc.dg/analyzer/pr94688.c on hppa*64*-*-*

2024-01-19 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip gcc.dg/analyzer/pr94688.c on hppa*64*-*-* 2024-01-19 John David Anglin gcc/testsuite/ChangeLog: PR analyzer/112705 * gcc.dg/analyzer/pr94688.c: Skip on hppa*64*-*-*. diff --git a/gcc/testsuite/gcc.dg

[committed] Add .data.rel.ro.local to read only sections in gcc.dg/array-quals-1.c

2024-01-16 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Add .data.rel.ro.local to read only sections in gcc.dg/array-quals-1.c 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/array-quals-1.c: Add .data.rel.ro.local to read only sections. diff --git

[committed] Remove xfail for hppa*-*-hpux* from stdatomic-flag.c and stdatomic-flag-2.c

2024-01-16 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Remove xfail for hppa*-*-hpux* from stdatomic-flag.c and stdatomic-flag-2.c Tests now pass on hppa64-hp-hpux11.11. 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/atomic/stdatomic-flag.c: Remove xfail

[committed] xfail scan-tree-dump-not throw in g++.dg/pr99966.C on hppa*64*-*-*

2024-01-16 Thread John David Anglin
Tested on hppa64-hpux11.11. Committed to trunk. Dave --- xfail scan-tree-dump-not throw in g++.dg/pr99966.C on hppa*64*-*-* 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: PR tree-optimization/110794 * g++.dg/pr99966.C: xfail scan-tree-dump-not throw on hppa*64

[committed] Require target lto in several tests

2024-01-16 Thread John David Anglin
Tested on hppa64-hp-hpux11.11 with lto disabled. Committed to trunk. Dave --- Require target lto in several tests 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/c23-tag-alias-2.c: Require target lto. * gcc.dg/c23-tag-alias-3.c: Likewise. * gcc.dg

[committed] Skip various cmp-mem-const tests on lp64 hppa*-*-*

2024-01-16 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip various cmp-mem-const tests on lp64 hppa*-*-* Prior optimization already reduced the constant. 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/cmp-mem-const-3.c: Skip on lp64 hppa

[committed] xfail all scan-tree-dump-times checks on hppa*64*-*-* in sra-17.c and sra-18.c

2024-01-16 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- xfail all scan-tree-dump-times checks on hppa*64*-*-* in sra-17.c and sra-18.c 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: PR tree-optimization/91624 * gcc.dg/tree-ssa/sra-17.c: xfail all scan-tree-dump

[committed] Disable tests for strdup/strndup on __hpux__ in various builtin-object-size tests

2024-01-14 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Disable tests for strdup/strndup on __hpux__ hppa*-*-hpux* doesn't have strdup or strndup. 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/builtin-object-size-1.c: Disable tests for strdup/strndup

[committed] Skip several gcc.dg/builtin-dynamic-object-size tests on hppa*-*-hpux*

2024-01-14 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip several gcc.dg/builtin-dynamic-object-size tests on hppa*-*-hpux* hppa*-*-hpux* doesn't have strdup or strndup. 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/builtin-dynamic-object-size-0.c: Skip

[committed] Fix dg-warning on hppa*64*-*-*

2024-01-14 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix dg-warning on hppa*64*-*-* 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/Wattributes-6.c: Fix dg-warning on hppa*64*-*-*. diff --git a/gcc/testsuite/gcc.dg/Wattributes-6.c b/gcc/testsuite/gcc.dg

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

2024-01-14 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip several analyzer socket tests on hppa*-*-hpux* 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: PR analyzer/113150 * c-c++-common/analyzer/fd-glibc-byte-stream-socket.c: Skip on hppa*-*-hpux

[committed] hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90

2024-01-13 Thread John David Anglin
. 2024-01-13 John David Anglin gcc/testsuite/ChangeLog: * gfortran.dg/fmt_f_default_field_width_3.f90: Add hppa*64*-*-hpux* to real_16 dg-error targets. * gfortran.dg/fmt_g_default_field_width_3.f90: Likewise. diff --git a/gcc/testsuite/gfortran.dg

[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] 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 a/gcc

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

2024-01-08 Thread John David Anglin
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 David Anglin

[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

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

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

Re: [PATCH] install: Streamline the hppa*-hp-hpux* section

2023-12-16 Thread John David Anglin
y C++ applications. - There are two default scheduling models for instructions. These are PROCESSOR_7100LC and PROCESSOR_8000. They are selected from the pa-risc architecture specified for the target machine when configuring. -- John David Anglin dave.ang...@bell.net

[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] 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] 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] 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] 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: Use INT14_OK_STRICT in a couple of places in pa_emit_move_sequence

2023-11-24 Thread John David Anglin
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 +++ b/gcc

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

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

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

2023-11-17 Thread John David Anglin
:   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

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

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

2023-11-16 Thread John David Anglin
of 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

[committed] hppa: Fix typo in PA 2.0 trampoline template

2023-11-06 Thread John David Anglin
Noticed in glibc testsuite. Committed to active branches. Dave --- hppa: Fix typo in PA 2.0 trampoline template 2023-11-06 John David Anglin * config/pa/pa.cc (pa_asm_trampoline_template): Fix typo. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc index 2e906cff7ff

[committed] hppa: Enable generation of GNU stack notes on Linux

2023-11-06 Thread John David Anglin
I think we have waited long enough for everone to switch to a kernel build with VDSO support. Committed to trunk. Dave --- Enable generation of GNU stack notes on Linux 2023-11-06 John David Anglin * config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 1. diff --git a/gcc

[committed] hppa: Delete MALLOC_ABI_ALIGNMENT define from pa32-linux.h

2023-10-05 Thread John David Anglin
-linux.h 2023-10-05 John David Anglin * config/pa/pa32-linux.h (MALLOC_ABI_ALIGNMENT): Delete. diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h index bdd13ce492e..f48e45374f4 100644 --- a/gcc/config/pa/pa32-linux.h +++ b/gcc/config/pa/pa32-linux.h @@ -68,11 +68,6

[committed] Add hppa*-*-* to dg-error targets at line 5 in gfortran.dg/pr95690.f90

2023-10-02 Thread John David Anglin
Committed to trunk. Dave --- Add hppa*-*-* to dg-error targets at line 5 2023-10-02 John David Anglin gcc/testsuite/ChangeLog: * gfortran.dg/pr95690.f90: Add hppa*-*-* to dg-error targets at line 5. diff --git a/gcc/testsuite/gfortran.dg/pr95690.f90 b/gcc/testsuite/gfortran.dg

[committed] Require target lra in gcc.dg/pr108095.c

2023-10-02 Thread John David Anglin
Committed to trunk. Dave --- Require target lra in gcc.dg/pr108095.c 2023-10-02 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pr108095.c: Require target lra. diff --git a/gcc/testsuite/gcc.dg/pr108095.c b/gcc/testsuite/gcc.dg/pr108095.c index fb76caae72e..0a487cf614a 100644

[committed] Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c

2023-10-02 Thread John David Anglin
Committed to trunk. Dave --- Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c 2023-10-02 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/long_branch.c: Increase timeout factor for hppa*-*-*. diff --git a/gcc/testsuite/gcc.dg/long_branch.c b/gcc/testsuite/gcc.dg

[committed] hppa: Fix memory barrier patterns for pre PA8800 processors

2023-09-29 Thread John David Anglin
. This is safer but slightly less efficient. Dave --- Fix memory barrier patterns for pre PA8800 processors 2023-09-29 John David Anglin * config/pa/pa.md (memory_barrier): Revise comment. (memory_barrier_64, memory_barrier_32): Use ldcw,co on PA 2.0. * config/pa/pa.opt

[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

Re: [PATCH] Use strtol instead of std::stoi in gensupport.cc

2023-08-10 Thread John David Anglin
Ping. On 2023-07-19 2:59 p.m., John David Anglin wrote: Tested on trunk with hppa64-hp-hpux11.11. Okay? Dave --- Use strtol instead of std::stoi [PR110646] Implementation of std::stoi was overlooked on hppa-hpux, so use strtol instead. 2023-07-19 John David Anglin gcc/ChangeLog

[committed] Require target lra in gcc.c-torture/compile/asmgoto-6.c

2023-07-21 Thread John David Anglin
The asmgoto feature requires LRA support. Committed to trunk. Tested on hppa64-hp-hpux11.11. Dave --- Require target lra in gcc.c-torture/compile/asmgoto-6.c 2023-07-21 John David Anglin gcc/testsuite/ChangeLog: * gcc.c-torture/compile/asmgoto-6.c: Require target lra. diff --git

[PATCH] Use strtol instead of std::stoi in gensupport.cc

2023-07-19 Thread John David Anglin
Tested on trunk with hppa64-hp-hpux11.11. Okay? Dave --- Use strtol instead of std::stoi [PR110646] Implementation of std::stoi was overlooked on hppa-hpux, so use strtol instead. 2023-07-19 John David Anglin gcc/ChangeLog: PR bootstrap/110646 * gensupport.cc(class

[committed] hppa: Modify TLS patterns to provide both 32 and 64-bit support

2023-07-15 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Modify TLS patterns to provide both 32 and 64-bit support. 2023-07-15 John David Anglin gcc/ChangeLog: * config/pa/pa.md: Define constants R1_REGNUM, R19_REGNUM and R27_REGNUM

[committed] hppa: Add clear_cache expander

2023-05-17 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- Add clear_cache expander. 2023-05-17 John David Anglin gcc/ChangeLog: * config/pa/pa.md (clear_cache): New. diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 7b7d7f776c7..726e12768f8

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

2023-04-15 Thread John David Anglin
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 zero

[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 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: 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 support for atomic loads and stores on hppa

2023-01-13 Thread John David Anglin
. 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_SYNC_LIBFUNC_SIZE

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

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

2022-11-30 Thread John David Anglin
to 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: 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

Re: [PATCH][V3] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-09-01 Thread John David Anglin
On 2022-08-31 3:21 a.m., Martin Liška wrote: Sending v3 of the patch that includes John's comments. Ready to be installed? Okay. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH][V3] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-31 Thread John David Anglin
* and hppa*-*-netbsd* are still somewhat used. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-30 Thread John David Anglin
On 2022-08-30 8:13 p.m., Jeff Law wrote: On 8/28/2022 10:34 AM, John David Anglin wrote: On 2022-08-26 3:15 a.m., Martin Liška wrote: Removes the deprecated ports. If I'm correct all hpux9,hpux10 should be removed as they only provide 32-bit targets. On the contrary, hpux11 supports hppa64

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-30 Thread John David Anglin
* | hpux10* | hpux11.00) + *vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux11.00) gcc_cv_func_mmap_dev_zero=no ;;   *) gcc_cv_func_mmap_dev_zero=yes;; Strictly, all hpux versions up to and including hpux11.00 don't have /dev/zero. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-30 Thread John David Anglin
On 2022-08-29 10:06 a.m., Martin Liška wrote: Thanks for the feedback, can you please check the updated version of the patch? The changes to the libffi directory are not necessary and incorrect.  libffi is a separate project. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-30 Thread John David Anglin
On 2022-08-29 10:06 a.m., Martin Liška wrote: Thanks for the feedback, can you please check the updated version of the patch? hppa64-hp-hpux11.11 built successfully with the updated patch: https://gcc.gnu.org/pipermail/gcc-testresults/2022-August/767508.html Dave -- John David Anglin

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-28 Thread John David Anglin
/configure: Regenerate. * libtool.m4: Delete hpux9 and hpux10. The libtool.m4 files are from GNU libtool.  I don't think these files should be changed. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-26 Thread John David Anglin
include Some hpux11 specific hacks are removed.  Some non system specific hpux hacks are also removed. One can't trust comments or hacknames to infer applicability. Dave -- John David Anglin dave.ang...@bell.net

[COMMITTED] hpux: New include hack to fix declarations of _DINFINITY, _SINFINITY and _SQNAN

2022-02-27 Thread John David Anglin
The declarations of _DINFINITY, _SINFINITY and _SQNAN need to be constant expressions. Committed to trunk. Dave --- 2022-02-27 John David Anglin fixincludes/ChangeLog: * inclhack.def (hpux_math_constexpr): New hack. * fixincl.x: Regenerate. * tests/base/math.h

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

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

[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: Fix typo in t-dimode

2021-11-27 Thread John David Anglin
This patch fixes a typo in t-dimode. This caused __lshrdi3 to be dropped from libgcc. Tested by build on hppa64-linux-gnu. Committed to trunk and gcc-11. Dave --- Fix typo in t-dimode 2021-11-27 John David Anglin libgcc/ChangeLog: * config/pa/t-dimode (lib2difuncs): Fix typo

Re: [PATCH] pch: Add support for PCH for relocatable executables

2021-11-08 Thread John David Anglin
allocated and could change any time even that wouldn't be really a reliable check. There is no call to dynamically allocate a descriptor but it is possible for code to dynamically build a descriptor. Dave -- John David Anglin dave.ang...@bell.net

[committed] hppa: Support TI mode and soft float on PA64

2021-11-05 Thread John David Anglin
with -msoft-mult. The floating-point exception support also needs a soft option. 2021-11-05 John David Anglin PR libgomp/96661 gcc/ChangeLog: * config/pa/pa-modes.def: Add OImode integer type. * config/pa/pa.c (pa_scalar_mode_supported_p): Allow TImode

  1   2   3   4   5   6   7   >