[committed] Adjust scan assembler check in gfortran.dg/bind_c_array_params_2.f90 for hppa*-*-hpux*

2012-09-16 Thread John David Anglin
-16 John David Anglin * gfortran.dg/bind_c_array_params_2.f90: Adjust scan-assembler-times "myBindC" for hppa*-*-hpux*. Index: gfortran.dg/bind_c_array_params_2.f90 === --- gfortran.dg/bind_c_array_pa

[committed] Fix gnat.dg/lto15.adb on hppa

2012-09-16 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and 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-09-16 John David Anglin PR testsuite/54007

[committed] Fix g++.dg/debug/dwarf2/nested-3.C to handle hppa assembler comment

2012-09-16 Thread John David Anglin
John David Anglin PR debug/54460 * g++.dg/debug/dwarf2/nested-3.C: Add hppa assembler comment character to scary regexp. Index: g++.dg/debug/dwarf2/nested-3.C === --- g++.dg/debug/dwarf2/nested-3.C

Re: [committed] Fix gnat.dg/lto15.adb on hppa

2012-09-16 Thread John David Anglin
On 16-Sep-12, at 1:27 PM, Eric Botcazou wrote: Thanks for fixing this. The testcase is also on the 4.7 branch. I'm aware of that. Will fix branch after the 4.7.2 release. -- John David Anglin dave.ang...@bell.net

Re: [PATCH] OpenBSD/hppa support

2012-09-18 Thread John David Anglin
On Thu, 06 Sep 2012, Mark Kettenis wrote: > Most bits are stolen from Linux, but there are a few subtle > differences since our assembler is configured to be slightly more > HP-UX-ish. > > > libgcc/: > > 2012-09-06 Mark Kettenis > > * config.host (hppa-*-openbsd*): New target. >

Re: [patch] Only define JMP_BUF_SIZE in backends that also define DONT_USE_BUILTIN_SETJMP

2012-06-26 Thread John David Anglin
But I don't know who that would be... SJLJ exceptions are forced for hpux10. It might have been a bug to not define DONT_USE_BUILTIN_SETJMP but nobody complained as far as I know. Dave -- John David Anglindave.ang...@bell.net

Re: [patch] Only define JMP_BUF_SIZE in backends that also define DONT_USE_BUILTIN_SETJMP

2012-06-26 Thread John David Anglin
On 6/26/2012 1:21 PM, Steven Bosscher wrote: On Tue, Jun 26, 2012 at 7:09 PM, John David Anglin wrote: On 6/26/2012 11:38 AM, Richard Henderson wrote: On 06/26/2012 01:55 AM, Steven Bosscher wrote: If __builtin_setjmp actually does work for ia64, why should we keep DONT_USE_BUILTIN_SETJMP

Re: [PATCH] Fix PR53970

2012-07-18 Thread John David Anglin
On Wed, 18 Jul 2012, Richard Guenther wrote: > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. > > Richard. > > 2012-07-18 Richard Guenther > > PR tree-optimization/53970 > * tree.h (contains_packed_reference): Remove. > * expr.c (contains_packed_reference):

Re: [patch v2] support for multiarch systems

2012-07-18 Thread John David Anglin
On Sun, 08 Jul 2012, Matthias Klose wrote: > Please find attached v2 of the patch updated for trunk 20120706, x86 only, > tested on > x86-linux-gnu, KFreeBSD and the Hurd. Currently, Debian gcc packages for hppa contain multiarch support. Because of this, I have used a multiarch patch for testi

[committed] Fix handling of constant doubles in expand_mult

2012-07-30 Thread John David Anglin
Committed as obvious. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-07-30 John David Anglin PR

[committed] Fix section conflict compiling rtld.c

2012-04-27 Thread John David Anglin
hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no regressions. 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-04-27 John David A

Re: [patch] HP-PA: use define_c_enum for "unspec" and "unspecv"

2012-05-08 Thread John David Anglin
On 5/8/2012 2:33 PM, Steven Bosscher wrote: Dave, could you please test this for me, and commit it if it is OK? Will do. Thanks, Dave -- John David Anglindave.ang...@bell.net

[PATCH, java] Fix placement of #ifdef JCR_SECTION_NAME in class.c

2012-05-19 Thread John David Anglin
(613) 990-0752 (FAX: 952-6602) 2012-05-19 John David Anglin PR java/52815 * class.c (emit_register_classes_in_jcr_section): Revise placement of #ifdef JCR_SECTION_NAME. Index: class.c === --- class.c

[PATCH, libatomic] Fix cut and paste errors in libat_test_and_set

2012-05-19 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Ok for trunk? -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-05-19 John David Anglin PR other/53231

[committed] Fix PR rtl-optimzation/53373 on PA

2012-05-20 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-05-20 John David Anglin PR rtl-optimzation/53373 * config/pa/pa.md (call_symref_pic): Don't expose PIC register save in call pa

Re: [committed] Fix section conflict compiling rtld.c

2012-05-30 Thread John David Anglin
il of Canada (613) 990-0752 (FAX: 952-6602) 2012-05-30 John David Anglin PR target/52999 * config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define. (pa_section_type_flags): New. (pa_legitimate_constant_p): Revert previous change. Index: config/pa

[committed] Reduce maximum PCREL17F branch offsets for PIC code

2012-06-03 Thread John David Anglin
) 990-0752 (FAX: 952-6602) 2012-06-03 John David Anglin * config/pa/pa.h (MAX_PCREL17F_OFFSET): Define. * config/pa/pa.c (pa_attr_length_millicode_call): Use MAX_PCREL17F_OFFSET instead of fixed offset. (pa_attr_length_call): Likewise

Re: [build] Move gthr to toplevel libgcc

2011-08-08 Thread John David Anglin
On 8-Aug-11, at 9:47 AM, Rainer Orth wrote: ** _DCE_THREADS is used to select gthr-dce.h, but again dce is the only/default model on hppa[12]*-*-hpux10* (pa-hpux10.h), so the special-casing can be removed. DCE threads and thread single are both supported. There are multilibs for both. D

Re: [build] Move gthr to toplevel libgcc

2011-08-08 Thread John David Anglin
On 8-Aug-11, at 11:53 AM, Rainer Orth wrote: Paolo Bonzini writes: On 08/08/2011 05:42 PM, John David Anglin wrote: ** _DCE_THREADS is used to select gthr-dce.h, but again dce is the only/default model on hppa[12]*-*-hpux10* (pa-hpux10.h), so the special-casing can be removed. DCE

Re: [build] Move gthr to toplevel libgcc

2011-08-08 Thread John David Anglin
On 8-Aug-11, at 12:29 PM, Rainer Orth wrote: John David Anglin writes: I haven't moved two macros used in gthr*.h yet: GTHREAD_USE_WEAK and SUPPORTS_WEAK. This seems to warrant a separate followup patch, but for the record I report my findings: * GTHREAD_USE_WEAK must be de

[committed] Define "return" pattern on pa

2011-09-03 Thread John David Anglin
-- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-09-03 John David Anglin PR middle-end/50232 * config/pa/pa.md (return): Define "return" insn pattern. (epilogu

Re: [HPPA] Use match_test rather than eq/ne symbol_ref

2011-09-13 Thread John David Anglin
t had somewhat crippled processors. The main linux interest is for servers and the last generation of workstations. Dave -- John David Anglindave.ang...@bell.net

[committed] Fix failure of gcc.dg/torture/pr52407.c on hppa*-*-hpux*

2012-03-10 Thread John David Anglin
) 2012-03-10 John David Anglin * gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture/pr52407.c === --- gcc.dg/torture/pr52407.c(revision 184849) +++ gcc.dg/torture/pr52407.c

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

2012-03-10 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Ok for 4.7? Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-03-10 John David Anglin

[PATCH] Fix PR middle-end/52894

2012-04-09 Thread John David Anglin
.@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-04-09 John David Anglin PR middle-end/52894 * varasm.c (process_pending_assemble_externals): Set pending_assemble_externals_processed true. (assemble_external):

[committed] Fix make rules for PA HP-UX stub library

2011-11-13 Thread John David Anglin
...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-11-13 John David Anglin * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from tmake_file list. * config/pa/t-stublib: Merge rules from config/pa/t-stublib64

[committed] Disallow frame related insns in branch delay solots on PA

2011-11-30 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-11-30 John David Anglin PR middle-end/50283 * config/pa/pa.md (in_branch_delay): Disallow frame related insns. (in_nullified_branch_delay): Likewise

[committed] Add new stubs to config/pa/stublib.c

2011-11-30 Thread John David Anglin
nglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-11-30 John David Anglin PR other/51272 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub. (_ITM_deregisterTMCloneTable): Lik

[committed] Allocate subspace for tm data on 32-bit hppa-hpux

2011-12-22 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-12-22 John David Anglin PR middle-end/51252 * config/pa/pa.c (pa_som_tm_clone_table_section): New function. (som_tm_clone_table_section): Declare

[committed] xfail gcc.dg/pr49994-3.c on hppa*-*-*

2011-12-22 Thread John David Anglin
(613) 990-0752 (FAX: 952-6602) 2011-12-22 John David Anglin PR testsuite/50722 gcc.dg/pr49994-3.c: Skip on hppa*-*-*. Index: gcc.dg/pr49994-3.c === --- gcc.dg/pr49994-3.c (revision 182554) +++ gcc.dg/pr49994-3.c

[committed] Skip gcc.misc-tests/gcov-13.c and gcov-14.c on 32-bit hppa*-*-hpux*

2012-01-07 Thread John David Anglin
) 2012-01-07 John David Anglin PR gcov-profile/51715 PR gcov-profile/51717 * gcc.misc-tests/gcov-13.c: Skip on 32-bit hppa*-*-hpux*. * gcc.misc-tests/gcov-14.c: Likewise. Index: gcc.misc-tests/gcov-13.c

[committed] Fix PR target/51871

2012-01-28 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-01-28 John David Anglin PR target/51871 * config/pa/pa.c (pa_return_addr_rtx): Add support for PA2.0 export stubs. Index: config/pa/pa.c

[committed] Skip gfortran.dg/guality/pr41558.f90 on 32-bit hppa*-*-hpux*

2012-01-29 Thread John David Anglin
See PR. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-01-29 John David Anglin PR testsuite/51875

[committed] Fix typo in g++.dg/ext/visibility/template10.C

2012-01-29 Thread John David Anglin
dg-require-visibility needs an argument. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-01-29 John David Anglin

[committed] Add -fno-common option on hppa-*-hpux* in gcc.dg/tm/pr51472.c

2012-01-29 Thread John David Anglin
Work around limited common alignment. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-01-29 John David Anglin

[committed] hppa testsuite cleanups

2012-02-07 Thread John David Anglin
-6602) 2012-02-07 John David Anglin * gfortran.dg/guality/pr41558.f90: Use lp64 instead of hppa*64*-*-*. * gcc.dg/special/weak-1.c: Likewise. * gcc.dg/ucnid-12.c: Likewise. * gcc.dg/torture/pr45678-1.c: Likewise. * gcc.dg/torture/pr45678-2.c: Likewise

[committed] Fix PR testsuite/52201

2012-02-25 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11. 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-02-25 John David Anglin PR testsuite/52201

[committed] Fix PR target/52408 -- wrong code for left shift

2012-03-01 Thread John David Anglin
Canada (613) 990-0752 (FAX: 952-6602) 2012-03-01 John David Anglin PR target/52408 * config/pa/pa.md (zvdep_imm32): Change type of variable x from int to unsigned HOST_WIDE_INT. (zvdep_imm64): Likewise. (vdepi_ior): Change type of variable x from

Re: [patch, libffi] Sync merge libffi

2012-03-04 Thread John David Anglin
On Sun, 04 Mar 2012, Anthony Green wrote: > Hello, > > The attached patch includes changes that have been reviewed, approved and > merged into the stand-alone libffi release tree**. > Tested on x86_64 linux with no regressions, and committed. > > Thanks, > Anthony Green I'd like to question some

Re: [patch, libffi] Sync merge libffi

2012-03-05 Thread John David Anglin
On 3/4/2012 11:18 PM, Anthony Green wrote: On 3/4/2012 10:22 PM, John David Anglin wrote: I'm just wondering why Anthony Green and Redhat are listed as copyright holders. I can understand the Free Software Foundation addition since the file was contributed to it. Simply because of ch

Re: [BACKPORT] Fix PR rtl-optimization/45593

2011-05-22 Thread John David Anglin
On Sat, 14 May 2011, John David Anglin wrote: > > OK, thanks. Note that another delay slot bug was fixed around the same > > time: > > > > 2010-09-20 Eric Botcazou > > > > PR rtl-optimization/42775 > > * cfgrtl.c (rest_of_pas

[committed] Fix md_unwind_header file name

2011-06-04 Thread John David Anglin
The header file was renamed when it was moved. Tested on hppa-unknown-linux-gnu. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-06-04 John David Anglin

[committed] Fix gcc.dg/debug/pr49294.c on hppa*-*-hpux*

2011-06-26 Thread John David Anglin
11-06-26 John David Anglin * gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. Index: gcc.dg/debug/pr49294.c === --- gcc.dg/debug/pr49294.c (revision 175293) +++ gcc.dg/debug/pr49

[committed] Fix gcc.dg/ipa/ipa-pta-17.c on hppa2.0w-hp-hpux11.11

2011-06-26 Thread John David Anglin
John David Anglin PR testsuite/49529 * gcc.dg/ipa/ipa-pta-17.c: Use dg-require-alias. Index: gcc.dg/ipa/ipa-pta-17.c === --- gcc.dg/ipa/ipa-pta-17.c (revision 175404) +++ gcc.dg/ipa/ipa-pta-17.c (working

Re: Remove unused t-* fragments

2011-07-07 Thread John David Anglin
On 7/6/2011 4:14 PM, Joseph S. Myers wrote: 2011-07-06 Joseph Myers * config/i386/t-crtpic, config/i386/t-svr3dbx, config/pa/t-pa: Remove. Ok for pa. Dave -- John David Anglindave.ang...@bell.net

[PATCH] libtool -- don't print warnings with --silent

2011-07-09 Thread John David Anglin
The attached patch fixes the boehm-gc testsuite on hppa2.0w-hp-hpux11.11. Without it, libtool always generates an informational warning when linking causing the entire boehm-gc testsuite to fail. Ok? Ralf would you please install in libtool tree if ok. 2011-07-09 John David Anglin

[committed] Fix ada build on HP-UX 10.20

2011-07-14 Thread John David Anglin
The patch below fixes ada bootstrap on HP-UX 10. Patch preapproved by Eric. Tested on HP-UX 10.20. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-07-14 John David Anglin

[committed] Fix invalid SImode constant int generated by PA backend

2011-07-15 Thread John David Anglin
are a few more uses that need to be changed. Tested on hppa64-hp-hpux11.11. Committed to 4.5, 4.6 and trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-07-15 John David

Re: [PATCH] libtool -- don't print warnings with --silent

2011-07-29 Thread John David Anglin
Ping? On 9-Jul-11, at 7:03 PM, John David Anglin wrote: The attached patch fixes the boehm-gc testsuite on hppa2.0w-hp- hpux11.11. Without it, libtool always generates an informational warning when linking causing the entire boehm-gc testsuite to fail. Ok? Ralf would you please install in

Re: Patch for C++ build on HP-UX and to implement -static-libstdc++

2011-08-01 Thread John David Anglin
ok with above revision. Dave -- John David Anglin dave.ang...@bell.net

Re: [committed] PA predicate cleanup

2011-04-16 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu with no observed regressions. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011

Re: [PATCH] use build_function_type_list in the pa backend

2011-04-20 Thread John David Anglin
> * config/pa/pa.c (pa_init_builtins): Call build_function_type_list > instead of build_function_type. Ok. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)

[committed] Fix gcc.dg/pr48616.c on hppa*-*-hpux*

2011-04-23 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-04-23 John David Anglin * gcc.dg/pr48616.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. Index: gcc.dg/pr48616.c

[BACKPORT] Fix PR rtl-optimization/45593

2011-05-14 Thread John David Anglin
(613) 990-0752 (FAX: 952-6602) 2011-05-14 John David Anglin PR rtl_optimization/48932 Backport from mainline: 2010-09-15 Eric Botcazou PR rtl-optimization/45593 * reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit

Re: [BACKPORT] Fix PR rtl-optimization/45593

2011-05-14 Thread John David Anglin
> OK, thanks. Note that another delay slot bug was fixed around the same time: > > 2010-09-20 Eric Botcazou > > PR rtl-optimization/42775 > * cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot > scheduling is enabled. > > This one was installed on the 4.6/4.5/4

[committed] Fix pr47975.c test compilation on hppa*-*-hpux*

2011-03-05 Thread John David Anglin
-0752 (FAX: 952-6602) 2011-03-05 John David Anglin * gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture/pr47975.c === --- gcc.dg/torture/pr47975.c(revision 170674) +++ gcc.dg/to

Re: [4.7] Avoid global state in pa_handle_option

2011-03-06 Thread John David Anglin
> Tested building cc1 and xgcc for cross to hppa2.0w-hp-hpux11.23. Will > commit to trunk for 4.7 in the absence of target maintainer > objections. > > 2011-03-06 Joseph Myers > > * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. > (munix=93): Use Var. > * config/p

[committed] HP-UX 10.X reentrant functions

2011-03-10 Thread John David Anglin
mmitted to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-03-10 John David Anglin * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT

Re: [PATCH] Fix hpux10 string to real conversion defficiences

2011-03-12 Thread John David Anglin
with no observed regressions. Ok? Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-03-11 John David Anglin PR fortran/35667 * io/io.h (convert_infnan): Dec

Re: [PATCH] Fix hpux10 string to real conversion defficiences

2011-03-12 Thread John David Anglin
> On 03/12/2011 02:04 PM, Jerry DeLisle wrote: > > On 03/12/2011 08:01 AM, John David Anglin wrote: > >>> I have reviewed the patch and FX'scomments. So far so good. > >>> > >>> I may have missed something in the thread, but are you plann

Re: [patch, hpux, testsuite] XFAIL pr47917.c for non-conforming snprintf

2011-03-23 Thread John David Anglin
> This patch moves gcc.c-torture/execute/pr47917.c to > gcc.dg/torture/pr47917.c so that I can use dg-* directives in the test > and then adds xfails for HP-UX. On HP-UX 10.* there is no snprintf The new gcc.dg/torture/pr47917.c lacks some code. > Dave, can you verify this fix on HP-UX 10.*? I

[committed] Fix PA ior expanders

2011-03-27 Thread John David Anglin
nglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-03-27 John David Anglin PR target/48288 * config/pa/predicates.md (reg_or_ior_operand): New predicate. * config/pa/pa.md (i

Re: [committed] Fix PA ior expanders

2011-03-28 Thread John David Anglin
> You've already got an ior_operand, which has a redundant test for CONST_INT. > Actually, this is true of quite a few of the PA predicates... Quite true. The predicates were originally derived from the code in pa.md without a significant review. I'll look at implementing your suggestion. Thank

[committed] Fix secondary reload support for PA shift amount register

2011-04-08 Thread John David Anglin
.@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-04-08 John David Anglin PR target/48366 * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of move from floating point to shift amount reg

[committed] hppa: Don't clobber frame_pointer_rtx in expanders

2024-10-05 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Don't clobber frame_pointer_rtx in expanders Noticed testing LRA. Clobbers cause internal compiler errors. 2024-10-05 John David Anglin gcc/ChangeLog: * config/pa/pa.md (nonlocal

[committed] hppa: Add LRA support

2024-10-18 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Add LRA support LRA is not enabled as default since there are some new test fails remaining to resolve. 2024-10-18 John David Anglin gcc/ChangeLog: PR target/113933 * config/pa

[committed] hppa: Fix up pa.opt.urls

2024-10-18 Thread John David Anglin
Regenerated pa.opt.urls. Dave --- hppa: Fix up pa.opt.urls 2024-10-18 John David Anglin gcc/ChangeLog: * config/pa/pa.opt.urls: Fix for -mlra. diff --git a/gcc/config/pa/pa.opt.urls b/gcc/config/pa/pa.opt.urls index 5b8bcebdd0d..5516332ead1 100644 --- a/gcc/config/pa/pa.opt.urls

[committed] hppa: Use stack slot SP-40 to copy between integer and floating-point registers

2024-10-06 Thread John David Anglin
Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Use stack slot SP-40 to copy between integer and floating-point registers 2024-10-06 John David Anglin gcc/ChangeLog: * config/pa/pa-64.h (PA_SECONDARY_MEMORY_NEEDED): Define to

testsuite: Require lto in three tests

2024-10-06 Thread John David Anglin
Committed as obvious. Dave --- testsuite: Require lto in three tests 2024-10-06 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/cpp0x/noexcept87.C: Require lto. * g++.dg/ext/pragma-unroll-lambda-lto.C: Likewise. * gcc.dg/enum-alias-3.c: Likewise. diff --git a

[committed] hppa: Fix indirect_goto constraint

2024-10-05 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Commited to active branches. Dave --- hppa: Fix indirect_goto constraint Noticed testing LRA. 2024-10-05 John David Anglin gcc/ChangeLog: * config/pa/pa.md: Fix indirect_got constraint. diff --git a/gcc/config/pa/pa.md b

Re: [PATCH v3] Remove sys/user time in -ftime-report

2024-11-01 Thread John David Anglin
This breaks build on hppa64-hp-hpux11.11. This target has clock_gettime but it doesn't have CLOCK_MONOTONIC. It has CLOCK_REALTIME. I modified timevar.cc as follows to restore build. Dave --- diff --git a/gcc/timevar.cc b/gcc/timevar.cc index e12775e6ff3..412d9b62a8f 100644 --- a/gcc/timevar.c

[committed] hppa: Don't allow mode size 32 in hard registers

2024-11-08 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Don't allow mode size 32 in hard registers 2024-11-08 John David Anglin gcc/ChangeLog: PR target/117238 * config/pa/pa64-regs.h (PA_HARD_REGNO_MODE_OK): Don't allow mode size 32. diff -

[committed] hppa: Don't use '%' operator in base14_operand

2024-11-08 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk and gcc-14. Dave --- hppa: Don't use '%' operator in base14_operand Division is slow on hppa and mode sizes are powers of 2. So, we can use '&' operator to check displacement alignment.

[committed] hppa: Fix handling of secondary reloads involving a SUBREG

2024-11-08 Thread John David Anglin
handling of spills for the floating point-registers but I believe these are handled separately in pa_emit_move_sequence. This change fixes the build of symmetrica-3.0.1+ds. 2024-11-08 John David Anglin gcc/ChangeLog: PR target/117443 * config/pa/pa.cc (pa_legitimate_address_p

[committed] hppa: Don't allow large modes in hard registers

2024-11-08 Thread John David Anglin
John David Anglin gcc/ChangeLog: PR target/117238 * config/pa/pa32-regs.h (PA_HARD_REGNO_MODE_OK): Don't allow mode size 32. Limit mode size 16 in general registers to complex modes. diff --git a/gcc/config/pa/pa32-regs.h b/gcc/config/pa/pa32-regs.h index 3

[committed] hppa: Fix decrement_and_branch_until_zero constraint

2024-11-12 Thread John David Anglin
. 2024-11-12 John David Anglin gcc/ChangeLog: * config/pa/pa.md (decrement_and_branch_until_zero): Fix constraint. diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index bf59b7f601e..360198e9d08 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -9567,7

[committed] hppa: Remove inner `fix:SF/DF` from fixed-point patterns

2024-11-13 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to all active branches. Dave --- hppa: Remove inner `fix:SF/DF` from fixed-point patterns 2024-11-13 John David Anglin gcc/ChangeLog: PR target/117525 * config/pa/pa.md (fix_truncsfsi2): Remove inner

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

2024-09-20 Thread John David Anglin
Ping. The patch still applies cleanly and fixes the following fails: FAIL: 26_numerics/headers/cmath/equivalent_functions.cc -std=gnu++17 (test for excess errors) UNRESOLVED: 26_numerics/headers/cmath/equivalent_functions.cc -std=gnu++17 compilation failed to produce executable FAIL: 26_numer

[committed] hppa: Add peephole2 optimizations for REG+D loads and stores

2024-09-18 Thread John David Anglin
displacements aren't supported for floating-point loads and stores. 2024-09-18 John David Anglin gcc/ChangeLog: * config/pa/pa.h (GENERAL_REGNO_P): Define. * config/pa/pa.md: Add SImode and SFmode peephole2 patterns to generate loads and stores with

[committed] hppa: Revise TImode aritmetic patterns to support arith11_operands

2024-11-25 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Revise TImode aritmetic patterns to support arith11_operands 2024-11-25 John David Anglin gcc/ChangeLog: PR target/117645 * config/pa/pa.md (addti3): Revise pattern to support arith11_operands. Use

[committed] hppa: Remove typedef for bool type

2024-11-17 Thread John David Anglin
Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Remove typedef for bool type In C23, bool is now a keyword. So, doing a typedef for it is invalid. 2024-11-17 John David Anglin libgcc/ChangeLog: PR target/117627 * config/pa/linux-atomic.c: Remove

[committed] hppa: Fix typos in 32-bit SFmode peephole2 patterns

2024-11-15 Thread John David Anglin
With this change, we can finally build ardour-8.10.0+ds. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to gcc-13, gcc-14 and trunk. Dave --- hppa: Fix typos in 32-bit SFmode peephole2 patterns 2024-11-15 John David Anglin gcc/ChangeLog: PR target/117564

Re: [PATCH] pa: Remove pa_section_type_flags

2024-11-24 Thread John David Anglin
I don't see any regressions with this change. Patch is okay if you remove declaration of pa_section_type_flags in pa.cc. Dave On Thu, Nov 21, 2024 at 09:04:52PM +0800, Xi Ruoyao wrote: > It's no longer needed since r15-4842 (when the target-independent code > started to handle the case). > > gc

[PATCH] Add support to provide libiberty mkstemps in gcc

2024-12-28 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Okay for trunk? Dave --- Add support to provide libiberty mkstemps in gcc 2024-12-28 John David Anglin gcc/ChangeLog: PR target/118121 * configure.ac: Check for mkstemps declaration. * configure: Regenerate. * config.in

[committed] Fix timevar.cc build on systems that don't have CLOCK_MONOTONIC

2024-12-26 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix timevar.cc build on systems that don't have CLOCK_MONOTONIC 2024-12-26 John David Anglin gcc/ChangeLog: PR target/118050 * timevar.cc (get_time): Only use CLOCK_MONOTONIC if '_POSIX_

[committed] hppa: Revise various millicode insn patterns to use match_operand

2025-02-03 Thread John David Anglin
operand setup is sometimes deleted. This problem can be avoided by hiding hard-register input operands using match_operand. This also potentially allows for constraints that specify the operand is both read and written. 2025-02-03 John David Anglin gcc/ChangeLog: PR rtl-optimization/117248

[committed] hppa: Implement TARGET_FRAME_POINTER_REQUIRED

2024-12-15 Thread John David Anglin
saves arguments in the save area. 2024-12-15 John David Anglin gcc/ChangeLog: PR target/118018 * config/pa/pa.cc (pa_frame_pointer_required): Declare and implement. (TARGET_FRAME_POINTER_REQUIRED): Define. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc

[committed] testsuite: Require lto in g++.dg/modules/enum-14.C

2024-12-15 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- testsuite: Require lto in g++.dg/modules/enum-14.C 2024-12-15 John David Anglin gcc/testsuite/ChangeLog: * g++.dg/modules/enum-14.C: Require lto. diff --git a/gcc/testsuite/g++.dg/modules/enum-14.C b/gcc/testsuite/g

[committed] testsuite: xfail scan-assembler-times in c-c++-common/gomp/unroll-[45].c

2024-12-15 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- testsuite: xfail scan-assembler-times in c-c++-common/gomp/unroll-[45].c Count differs on hppa*-*-hpux* due to hpux specific directives. 2024-12-15 John David Anglin gcc/testsuite/ChangeLog: * c-c++-common/gomp/unroll-4

[committed] testsuite: xfail scan-assembler-times in c-c++-common/gomp/unroll-[45].c

2024-12-15 Thread John David Anglin
Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- testsuite: Enable TImode tests on hppa64 2024-12-15 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/ivopts-1.c: Enable TImode tests on hppa64. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-1.c b/gcc

[committed] hppa: Remove extra clobber from divsi3, udivsi3, modsi3 and umodsi3 patterns

2024-12-12 Thread John David Anglin
need to clobber any other registers. 2024-12-12 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_emit_hpdiv_const): Clobber r1, r25, r25 and return register. * config/pa/pa.md (divsi3): Revise clobbers and operands. Remove second clobber from div:SI

[committed] hppa: Fix typo in ADDITIONAL_REGISTER_NAMES in pa32-regs.h

2025-01-23 Thread John David Anglin
Noticed by inspection. Committed to active branches. Dave --- hppa: Fix typo in ADDITIONAL_REGISTER_NAMES in pa32-regs.h 2025-01-23 John David Anglin gcc/ChangeLog: * config/pa/pa32-regs.h (ADDITIONAL_REGISTER_NAMES): Change register 86 name to "%fr31L". diff -

[PATCH] c++: Use mapped reads and writes when munmap and msync are available

2025-01-16 Thread John David Anglin
-error-1.C and permissive-error-2.C tests. HP-UX 11.11 doesn't define _POSIX_MAPPED_FILES but it does have munmap and msync. Testing indicates support is sufficient for c++ modules, so use checks for these functions instead of _POSIX_MAPPED_FILES check. 2025-01-16 John David Anglin gcc/Chan

[committed] testsuite: Include stdint.h instead of stdint-gcc.h in some tests

2025-02-18 Thread John David Anglin
Fixes PR testsuite/116986. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- testsuite: Include stdint.h instead of stdint-gcc.h in some tests When use_gcc_stdint=provide, the stdint-gcc.h header is not provided. 2025-02-18 John David Anglin gcc

[committed] testsuite: Add -gno-strict-dwarf option to dwarf2 inline[26].c tests

2025-03-17 Thread John David Anglin
Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave --- testsuite: Add -gno-strict-dwarf option to dwarf2 inline[26].c tests Some targets default to strict dwarf. 2025-03-17 John David Anglin gcc/testsuite/ChangeLog: PR testsuite/119220

<    2   3   4   5   6   7