Re: [PATCH] Treat a sibling call as though it does a wild read

2014-12-23 Thread John David Anglin
On 23-Dec-14, at 7:28 PM, H.J. Lu wrote: On Tue, Dec 23, 2014 at 3:55 PM, John David Anglin > wrote: On 23-Dec-14, at 5:37 PM, H.J. Lu wrote: In this case, arguments are passed in registers. Isn't the optimization disabled for ia32, which passes arguments on stack, even before you

Re: PATCH: [5 Regression] r219037 caused FAIL: gcc.dg/pr44194-1.c

2015-01-03 Thread John David Anglin
On Wed, 31 Dec 2014, H.J. Lu wrote: > - /* Arguments for a sibling call that are pushed to memory are passed > - using the incoming argument pointer of the current function. These > - may or may not be frame related depending on the target. Since > - argument pointer related

[committed] gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*

2015-01-03 Thread John David Anglin
The attached change fixes failure of gcc.dg/pr57233.c: on hppa-hpux due to limited common alignment. Dave -- John David Anglin dave.ang...@bell.net 2015-01-03 John David Anglin * gcc.dg/pr63914.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/pr63914.c

[committed] Fix memory constraint issue on PA

2015-01-03 Thread John David Anglin
tightened to reject the register indexed memory and LO_SUM DLT memory address forms that are unsuitable for stores on hppa. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no objserved regressions. Committed to trunk and 4.9 branch. Dave -- John David Anglin

Re: PATCH: [5 Regression] r219037 caused FAIL: gcc.dg/pr44194-1.c

2015-01-03 Thread John David Anglin
On 2015-01-03, at 2:48 PM, H.J. Lu wrote: > On Sat, Jan 3, 2015 at 9:35 AM, John David Anglin > wrote: >> On Wed, 31 Dec 2014, H.J. Lu wrote: >> >>> - /* Arguments for a sibling call that are pushed to memory are passed >>> - using the incoming argu

Re: PATCH: [5 Regression] r219037 caused FAIL: gcc.dg/pr44194-1.c

2015-01-03 Thread John David Anglin
On 2015-01-03, at 3:18 PM, H.J. Lu wrote: > On Sat, Jan 3, 2015 at 12:10 PM, John David Anglin > wrote: >> On 2015-01-03, at 2:48 PM, H.J. Lu wrote: >> >>> On Sat, Jan 3, 2015 at 9:35 AM, John David Anglin >>> wrote: >>>> On Wed, 31 Dec 2014, H.

Re: PATCH: [5 Regression] r219037 caused FAIL: gcc.dg/pr44194-1.c

2015-01-05 Thread John David Anglin
nd the frame pointer isn't eliminated? Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Fix up DSE - PR middle-end/64388, target/55023

2015-01-06 Thread John David Anglin
SIBLING_CALL_P (insn) + && HARD_FRAME_POINTER_IS_ARG_POINTER)) insn_info->frame_read = true; I had tested this hunk before, without the "HARD_FRAME_POINTER_IS_ARG_POINTER" addition, on 32-bit hppa and it resolved the original test case. Thanks, Dave -- John David Anglindave.ang...@bell.net

Re: [RFA:] Fix test-suite regressions from PR62250 due to -latomic always added

2015-01-08 Thread John David Anglin
h effective-target libatomic_available. > * gfortran.dg/coarray_lib_comm_1.f90: Similar. Works for me on hppa64-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] IPA ICF: add comparison for target and optimization nodes

2015-01-09 Thread John David Anglin
On Fri, 09 Jan 2015, Kyrill Tkachov wrote: > > On 09/01/15 16:11, Christophe Lyon wrote: >> On 9 January 2015 at 11:26, Martin Liška wrote: >>> On 01/09/2015 06:21 AM, Jeff Law wrote: On 01/07/15 04:38, Martin Liška wrote: > Hello. > > Following patch adds support for target and

[committed] Add -fno-common to various testcases on hppa*-hp-hpux*

2012-11-11 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-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-11-11 John David Anglin * gcc.dg

[committed] Fix call branch shortening on PA

2012-11-12 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-11-12 John David Anglin PR target/55195 * config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types. (in_branch_dela

Re: [5/8] Tweak bitfield alignment handling

2012-11-19 Thread John David Anglin
On Sun, 18 Nov 2012, Richard Sandiford wrote: >HOST_WIDE_INT start = bitpos_ - (bitpos_ % unit); >if (bitregion_start_ && start < bitregion_start_) > break; > - if (bitregion_end_ && start + unit > bitregion_end_ + 1) > + if (start + unit > bitregion_end_ + 1) This

[committed] Fix testsuite/30_threads/condition_variable/members/53841.cc on hppa*-hp-hpux11*

2012-12-01 Thread John David Anglin
cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR libstdc++/55503 * testsuite/30_threads/condition_variable/members/53841.cc: Add hppa*-hp-hpux11* to -pthread dg-options. Index: testsuite/

[committed] Fix ada build on hpux10

2012-12-01 Thread John David Anglin
Tested on hppa1.1.-hp-hpux10.20. Commetted to trunk and 4.7. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR ada/52110 * s

[committed] Remove xfail for hppa*-*-hpux* from gcc.dg/torture/pr52402.c

2012-12-01 Thread John David Anglin
Test no longer fails on trunk. 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-12-01 John David Anglin PR middle-end/52450 * gcc.dg

[PATCH] Fix handling of EXPAND_MEMORY for TFmode memory constraint in asm

2012-12-01 Thread John David Anglin
dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin PR middle-end/55198 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non BLKmode objects when EXPAND_ME

Re: [committed] Fix call branch shortening on PA

2012-12-05 Thread John David Anglin
On Mon, 12 Nov 2012, John David Anglin wrote: > The attached change fixes PR target/55195. The attached change updates the above fix. It results in slightly better code being generated by genattrab. However, the main reason for the change is that eliminating the use of match_test makes the

[committed] Defined MAP_FAILED in gcc.dg/20050826-1.c and gcc.dg/20050826-1.c if not defined

2012-12-09 Thread John David Anglin
This fixes gcc.dg/20030711-1.c and gcc.dg/20050826-1.c on HP-UX 10. 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-12-09 John David Anglin

[committed] Fix gcc.dg/torture/pr47917.c on *-*-hpux10*

2012-12-09 Thread John David Anglin
This fixes fail on *-*-hpux10*. 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-12-09 John David Anglin * gcc.dg/torture/pr47917.c: Change

[committed] xfail hooray4 test in gcc.dg/ipa/iinline-4.c on 32-bit hppa

2012-12-09 Thread John David Anglin
Discussion is in PR. 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-12-09 John David Anglin PR middle-end/54470 * gcc.dg/ipa/iinline

[committed] Fix gcc.misc-tests/gcov-12.c test on hpux10

2012-12-09 Thread John David Anglin
: 952-6602) 2012-12-09 John David Anglin * gcc.misc-tests/gcov-12.c: Fix dg order. Index: gcc.misc-tests/gcov-12.c === --- gcc.misc-tests/gcov-12.c(revision 194055) +++ gcc.misc-tests/gcov-12.c(working copy) @@ -1,8

[PATCH, libbacktrace] Fix build on hpux10

2012-12-09 Thread John David Anglin
-6602) 2012-12-09 John David Anglin * mmapio.c: Define MAP_FAILED if not defined. Index: mmapio.c === --- mmapio.c(revision 194272) +++ mmapio.c(working copy) @@ -40,6 +40,10 @@ #include "backtrace.h" #incl

[PATCH, libbacktrace] Don't call __sync_lock_test_and_set if we don't have sync functions

2012-12-09 Thread John David Anglin
(FAX: 952-6602) 2012-12-09 John David Anglin * mmap.c: Define HAVE_SYNC_FUNCTIONS if not defined. (backtrace_alloc): Don't call __sync_lock_test_and_set if we don't have sync functions. (backtrace_free): Like

[PATCH, libbacktrace] Find executable on ia64 and 64-bit hppa hpux

2012-12-09 Thread John David Anglin
ch Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-09 John David Anglin * fileline.c (getexecname): Define to getexecname_hpux on ia64 and 64-bit hppa hpux. (getexecname_hpux): New. Index: fileline.c ==

Re: Can -mno-big-switch be removed from the PA port?

2013-05-05 Thread John David Anglin
On 14-Apr-13, at 7:37 AM, Steven Bosscher wrote: On Tue, Apr 9, 2013 at 3:46 AM, John David Anglin wrote: Seems to cause a reload problem: Problem may be in not removing the continuation character "\" from various macro definitions. Right, ASM_OUTPUT_ADDR_V

Re: [PATCH] Fix PR debug/60433: Handle TEMPLATE_TYPE_PARM in dbxout_type

2014-09-11 Thread John David Anglin
On 9/11/2014 4:18 PM, Jeff Law wrote: On 09/07/14 11:52, John David Anglin wrote: The attached change fixes an ICE in dbxout_type on hppa2.0w-hp-hpux11.11 compiling auto-fn24.C. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk and 4.9? Is dbxout.c allowed to look at

Re: [PATCH v2] Use sscanf instead of atoll in gcov-tool.c

2014-09-14 Thread John David Anglin
On 8-Sep-14, at 5:21 AM, Richard Biener wrote: On Sun, Sep 7, 2014 at 7:36 PM, John David Anglin > wrote: The attached patch fixes bootstrap on hpux which doesn't have the atoll function. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk? "ll" is not

[committed] Fix problem handling return value aggregates on PA

2014-09-16 Thread John David Anglin
double word. This avoids an ICE in store_field. Tested on hppa2.0w-hp-hpux11.11, hppa-unknown-linux-gnu and hppa64-hp- hpux11.11. Committed to trunk and 4.9 branch. Dave -- John David Anglin dave.ang...@bell.net 2014-09-16 John David Anglin PR target/61853 * config

[committed] Fix ICE in pa_output_function_epilogue

2014-09-28 Thread John David Anglin
The attached change fixes a segmentation fault that occurs building llvm-toolchain-3.4. Tested on hppa-unknown-linux-gnu. Committed to trunk, 4.9 and 4.8 branches. Dave -- John David Anglin dave.ang...@bell.net 2014-09-28 John David Anglin * config/pa/pa.c

Re: [PATCH] Small OpenBSD/hppa cleanup

2013-07-25 Thread John David Anglin
PA_11" tm_file="${tm_file} dbxelf.h elfos.h openbsd.h openbsd-stdint.h openbsd-libpthread.h \ pa/pa-openbsd.h pa/pa32-regs.h pa/pa32-openbsd.h" - tmake_file="${tmake_file} pa/t-openbsd" extra_options="${extra_options} openbsd.opt"

Re: [PATCH] Fix nested function support on OpenBSD/hppa

2013-07-25 Thread John David Anglin
MBOL_REF (Pmode, "__enable_execute_stack"), +LCT_NORMAL, VOIDmode, 1, XEXP (m_tramp, 0), Pmode); +#endif } /* Perform any machine-specific adjustment in the address of the trampoline. Dave -- John David Anglin dave.ang...@bell.net

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

2013-07-28 Thread John David Anglin
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 fails during reload. OK for trunk? Dave -- John David A

Re: [committed] Work around bug in powf function on HP-UX

2013-03-10 Thread John David Anglin
On 18-Feb-13, at 11:45 AM, John David Anglin wrote: 2013-02-18 John David Anglin PR target/56347 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark registers %fr12 and %fr12R as call used. I committed the attached change. It no longer unconditionally

[committed] Skip compilation of gcc.dg/pr44194-1.c on hppa64-*-*

2013-03-10 Thread John David Anglin
Compilation of gcc.dg/pr44194-1.c fails on hppa*64*-*-* and needs to skipped as on most other 64-bit targets. Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin

[committed] xfail gcc.dg/tree-ssa/pr55579.c on 32-bit hppa*-*-hpux*

2013-03-10 Thread John David Anglin
Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin PR debug/56307 * gcc.dg/tree-ssa/pr55579.c: xfail 32-bit hppa*-*-hpux*. Index: gcc.dg/tree-ssa/pr55579.c

[committed] xfail gcc.dg/tree-ssa/vector-4.c on 32-bit hppa*-*-*

2013-03-10 Thread John David Anglin
This is a callee copy issue. Committed to trunk. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-10 John David Anglin PR testsuite/54119 * gcc.dg/tree-ssa/vector-4.c: xfail on 32-bit hppa

Re: [committed] xfail gcc.dg/tree-ssa/pr55579.c on 32-bit hppa*-*-hpux*

2013-03-11 Thread John David Anglin
on hppa2.0w-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2013-03-11 John David Anglin * gcc.dg/tree-ssa/vector-4.c: Add comment regarding xfail. * gcc.dg/tree-ssa/pr55579.c: Likewise. Index: gcc.dg/tree-ssa/vector-4.c

[committed] Fix PR target/55487: Don't increment label nuses on NOTE_INSN_DELETED_LABEL notes

2013-04-06 Thread John David Anglin
The fix is obvious. Tested on hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu with no observed regressions. Committed to 4.8 and trunk. Dave -- John David Anglin dave.ang...@bell.net 2013-04-06 John David Anglin PR target/55487 * config/pa/pa.c

[committed] Fix GCC bootstrap on hppa*-*-hpux* using HP cat

2013-04-06 Thread John David Anglin
branch? This is a 4.7 regression. Dave -- John David Anglin dave.ang...@bell.net 2013-04-06 John David Anglin PR other/55274 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define. Index: config/t-slibgcc-hpux

Re: Can -mno-big-switch be removed from the PA port?

2013-04-22 Thread John David Anglin
On 14-Apr-13, at 7:37 AM, Steven Bosscher wrote: On Tue, Apr 9, 2013 at 3:46 AM, John David Anglin wrote: Seems to cause a reload problem: Problem may be in not removing the continuation character "\" from various macro definitions. Right, ASM_OUTPUT_ADDR_V

Re: [PATCH][RFC] Always require a 64bit HWI

2014-04-30 Thread John David Anglin
ber but without ansi support one needs to start with an early 4.X version. Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH][RFC] Always require a 64bit HWI

2014-04-30 Thread John David Anglin
this change as I know this causes support issues. The HP ansi C compiler and aCC have long long. This is not an issue for linux. I believe people can find HP-UX GCC binaries on the net. Dave -- John David Anglin dave.ang...@bell.net

[PATCH] Fix PR middle-end/61141

2014-05-18 Thread John David Anglin
-hpux11.11 and hppa64-hp- hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-05-18 John David Anglin PR middle-end/61141 * emit-rtl.c (reset_all_used_flags): In a sequence, check that XVECEXP (pat, 0, i) is an INSN before calling

Re: [PATCH] Fix PR middle-end/61141

2014-05-19 Thread John David Anglin
Hi Jeff, On 19-May-14, at 1:51 PM, Jeff Law wrote: On 05/18/14 09:33, John David Anglin wrote: The attached change appears to fix PR middle-end/61141. On PA, we can get deleted insn notes in call sequences. The attached change checks to make sure we have a valid insn before calling

Re: [PATCH] Fix PR middle-end/61141

2014-05-24 Thread John David Anglin
ining a NOTE_INSN_DELETED. It would seem to me that this "cleanup" should be done before the "dbr" pass. If dbr_sequence() ignored notes, we would emit the nop. However, it doesn't look like it does. It fairly easy to check for this case but I hesitate to a

[committed] Fix long call support for indirect calls on hppa

2014-01-17 Thread John David Anglin
David Anglin dave.ang...@bell.net 2014-01-17 John David Anglin * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when TARGET_LONG_CALLS is true. Index: config/pa

[committed] Fix length of long non-pic millicode calls on PA

2014-01-19 Thread John David Anglin
$$sh_func_adrs. It has a couple of branches that branch past the call when a call isn't needed. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2014-01-19 John David Anglin * c

[committed] Slightly improve some indirect call sequences on PA

2014-01-26 Thread John David Anglin
known-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-01-26 John David Anglin * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of portable runtime and PIC indirect

[committed] hppa: Use indirect long call to non-local functions when generating 32-bit code

2014-01-26 Thread John David Anglin
, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-01-26 John David Anglin * config/pa/pa.md (call): Generate indirect long calls to non-local functions when outputing 32-bit code. (call_value

[committed] Fix simplification and argument expansion of TLS references on PA

2014-02-04 Thread John David Anglin
. Dave -- John David Anglin dave.ang...@bell.net 2014-02-04 John David Anglin PR target/59777 * config/pa/pa.c (legitimize_tls_address): Return original address if not passed a SYMBOL_REF rtx. (hppa_legitimize_address): Call legitimize_tls_address for all TLS

[committed] Remove auto increment FIXME from pa.c

2014-02-12 Thread John David Anglin
This hunk of code disabling auto increment instructions can be removed on the trunk now that PR middle-end/56791 is fixed there. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-02-12 John David Anglin

[committed] Fix ICE caused by adjusting potentially invalid addresses in pa_output_move_double

2014-02-24 Thread John David Anglin
11.11. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2014-02-24 John David Anglin * config/pa/pa.c (pa_output_move_double): Don't valididate when adjusting offsetable addresses. Index: conf

Re: [Patch, testsuite] PR61453 gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't "call"

2014-07-08 Thread John David Anglin
nup-tree-dump "original" } } As mentioned before, I would prefer that you change "hppa*-*-hpux*" to "hppa*-*-*". Dave -- John David Anglindave.ang...@bell.net

[committed] Use __kernel_cmpxchg for __sync_lock_release

2014-07-17 Thread John David Anglin
Because the atomic sync functions in config/pa/linux-atomic.c are not lock free, we need to use __kernel_cmpxchg for the __sync_lock_release. This was found in glibc's pthread_spin_unlock implementation. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David A

[committed] Define HAVE_sync_compare_and_swap* on hppa-linux

2014-07-17 Thread John David Anglin
The attached change enables future support using the kernel assisted atomic support. It's a bit of a fudge since the libcall routines are not lock free, but everything appears to work. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dav

Re: [committed] Use __kernel_cmpxchg for __sync_lock_release

2014-07-18 Thread John David Anglin
On 7/18/2014 7:28 AM, Mikael Pettersson wrote: John David Anglin writes: > Because the atomic sync functions in config/pa/linux-atomic.c are not > lock free, we need to use > __kernel_cmpxchg for the __sync_lock_release. This was found in > glibc's pthread_spin_unlock

Re: [PATCH] Fix overflows in get_ref_base_and_extent (PR tree-optimization/59779)

2014-03-13 Thread John David Anglin
e can end up with negative bit_offset here. We might want to store a zero offset in this case. */ - *poffset = hbit_offset; - *psize = bitsize; - *pmax_size = maxsize; + *poffset = bit_offset.to_shwi (); + if (!maxsize.fits_shwi () || maxsize.is_negative ()) +*pmax_size = -1; + else +*pmax_size = maxsize.to_shwi (); return exp; } Jakub -- John David Anglindave.ang...@bell.net

[PATCH]: Revise gcse.c to handle parallels TRAP_IF and other RTL codes not handled by single_set

2014-03-13 Thread John David Anglin
-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp- hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-03-13 John David Anglin PR rtl-optimization/60155 * gcse.c (record_set_data): New function. (single_set_gcse): Ne

[committed] Update baseline symbols for hppa-unknown-linux-gnu

2014-03-23 Thread John David Anglin
The attached symbol update fixes libstdc++/60623. Tested on hppa-unknown-linux-gnu and committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin PR libstdc++/60623 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update

[committed] Skip compilation of testsuite/23_containers/bitset/45713.cc on hppa*64*-*-*

2014-03-23 Thread John David Anglin
This test fails on hppa*64*-*-* since bitsizetype is not wider than sizetype. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin * testsuite/23_containers/bitset/45713.cc

[committed] Skip gfortran.dg/erf_3.F90 and gfortran.dg/round_4.f90 on hppa*-*-hpux*

2014-03-23 Thread John David Anglin
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin PR libfortran/59313 PR libfortran/58015 * gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux

[committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-23 Thread John David Anglin
The test fails because there is no undefined weak support on 32-bit hpux. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David Anglin * gcc.dg/torture/pr60092.c: Skip on 32-bit

[committed] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux*

2014-03-23 Thread John David Anglin
gcc.dg/tree-prof/pr59003.c fails on hppa*-*-hpux* because of limited variable alignment when -fno-common is not specified in the options. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-03-23 John David

[PATCH] Fix g++.dg/opt/pr56999.C

2014-03-23 Thread John David Anglin
ved to non-exported definition in file "/var/tmp// ccUra9KR.o". FAIL: g++.dg/opt/pr56999.C -std=gnu++98 (test for excess errors) Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. OK for trunk? Dave -- John David Anglin dave.ang...@bell.net pr56999.C.d Description: Binary data

Re: [committed] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux*

2014-03-24 Thread John David Anglin
On 3/24/2014 2:48 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/tree-prof/pr59003.c === --- gcc.dg/tree-prof/pr59003.c (revision 208769) +++ gcc.dg/tree-prof/pr59003.c (working copy) @@ -1,6 +1,7 @@ /* PR

Re: [committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-24 Thread John David Anglin
On 3/24/2014 2:45 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy) @@ -1,5 +1,6 @@ /* { dg-do

Re: [committed] Skip gcc.dg/torture/pr60092.c on 32-bit hpux

2014-03-27 Thread John David Anglin
On 24-Mar-14, at 2:45 AM, Rainer Orth wrote: John David Anglin writes: Index: gcc.dg/torture/pr60092.c === --- gcc.dg/torture/pr60092.c(revision 208769) +++ gcc.dg/torture/pr60092.c(working copy) @@ -1,5 +1,6 @@ /* { dg

Re: [PATCH]: Revise gcse.c to handle parallels TRAP_IF and other RTL codes not handled by single_set

2014-04-04 Thread John David Anglin
On 4/4/2014 11:27 AM, Jeff Law wrote: On 03/13/14 17:06, John David Anglin wrote: This patch fixes PR rtl-optimization/60155. The PA backend has a number of INSN patterns which trap on signed overflow. These are implemented as parallels using the trap_if code. Currently, single_set does not

[committed] Generate debug line info for thunks on hppa

2014-04-06 Thread John David Anglin
fixes PR debug/55794. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown- linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR debug/55794 * config/pa/pa.c (pa_output_function_epilogue): Skip

[committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*

2014-04-06 Thread John David Anglin
This test is an expected fail on hppa*-*-hpux* because there is no lockless atomic support. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin * gcc.dg/atomic/stdatomic

[committed] g++.dg/cpp1y/auto-fn25.C: Require lto

2014-04-06 Thread John David Anglin
Changes fixes fail on hppa2.0w-hp-hpux11.11. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR testsuite/60672 * g++.dg/cpp1y/auto-fn25.C: Require lto. Index

[committed] g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*

2014-04-06 Thread John David Anglin
Fixes PR testsuite/60671. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-04-06 John David Anglin PR testsuite/60671 g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux

Re: [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*

2014-04-06 Thread John David Anglin
On 6-Apr-14, at 12:51 PM, Mike Stump wrote: On Apr 6, 2014, at 9:23 AM, John David Anglin wrote: This test is an expected fail on hppa*-*-hpux* because there is no lockless atomic support. One can add “no lockless atomic” in there somewhere… The reason is that a secondary port that

Re: [PATCH] Fix PR60706

2014-04-08 Thread John David Anglin
32 and 64 bits. Dave -- John David Anglin dave.ang...@bell.net

[PATCH] Fix Infinite loop in pointer_set_insert

2012-12-16 Thread John David Anglin
-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-16 John David Anglin PR middle-end/55709 Forward port from 4.7 branch: 2012-04-10 John David Anglin PR middle-end/52894 * varasm.c

Re: [PATCH] Fix recent warning about pending_assemble_externals_processed

2012-12-17 Thread John David Anglin
build error. Thanks, Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Fix recent warning about pending_assemble_externals_processed

2012-12-17 Thread John David Anglin
On 12/17/2012 12:08 PM, John David Anglin wrote: On 12/17/2012 11:42 AM, Jan-Benedict Glaw wrote: 2012-12-17 Jan-Benedict Glaw * gcc/varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL. This was fixed on trunk yesterday. The warning must be present on 4.6

[committed] Fix ICE in gen_reg_rtx, at emit-rtl.c:864/865 compiling GNU MPFR

2012-12-26 Thread John David Anglin
earch Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-25 John David Anglin PR target/53789 * config/pa/pa.md (movsi): Reject expansion of TLS symbol references after reload starts. Index: config/pa/

Re: [PATCH] Fix handling of EXPAND_MEMORY for TFmode memory constraint in asm

2012-12-30 Thread John David Anglin
Ping. On 1-Dec-12, at 5:46 PM, John David Anglin wrote: The attached change fixes the compilation of the following asm in libquadmath/math/fmaq.c: asm volatile ("" : : "m" (v.value)); The issue arises because there is no support for directly loading TFmode objects.

Re: [PATCH, libbacktrace] Don't call __sync_lock_test_and_set if we don't have sync functions

2012-12-30 Thread John David Anglin
Ping. On 9-Dec-12, at 2:08 PM, John David Anglin wrote: On hppa*-*-hpux*, we don't have sync functions. However, __sync_lock_test_and_set is called in backtrace_alloc and backtrace_free. This causes an abort before ICE proccessing is fully complete. hppa64 is an ELF target and backt

[committed] gcc.dg/pr55430.c: Define MAP_FAILED if not defined

2013-01-02 Thread John David Anglin
Tested on hppa1.1-hp-hpux10.20. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-02 John David Anglin * gcc.dg/pr55430.c: Define MAP_FAILED if not defined

Re: [committed] Fix ICE in gen_reg_rtx, at emit-rtl.c:864/865 compiling GNU MPFR

2013-01-03 Thread John David Anglin
OL_REF_TLS_P (x)) { enum tls_model model = SYMBOL_REF_TLS_MODEL (x); if (model == TLS_MODEL_GLOBAL_DYNAMIC || model == TLS_MODEL_LOCAL_DYNAMIC) return false; } so maybe that should just be: if (PA_SYMBOL_REF_TLS_P (x)) return false; Dave -- John David Anglin dave.ang...@be

[committed] Update extract and insert patterns on PA

2013-01-08 Thread John David Anglin
Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-08 John David Anglin * config/pa/pa.h (VAL_U6_BITS_P): Define. (INT_U6_BITS): Likewise. * config/pa/predicates.md (uint6_operand): New predicate. (shift5_operand, shift6_operand): Likewise

Re: [committed] Update extract and insert patterns on PA

2013-01-09 Thread John David Anglin
Forgot this hunk in last change. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-09 John David Anglin * config/pa/pa.c (pa_emit_move_sequence): Replace calls

[committed] Add DImode atomic load and store patterns on hppa

2013-01-20 Thread John David Anglin
. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-01-20 John David Anglin * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, atomic_storedi_1

[committed] Delete GO_IF_LEGITIMATE_ADDRESS on PA target

2013-02-03 Thread John David Anglin
The main goal of this change was to replace the deprecated GO_IF_LEGITIMATE_ADDRESS macro with TARGET_LEGITIMATE_ADDRESS_P. The patch also modifies the LEGITIMIZE_RELOAD_ADDRESS macro to use pa_legitimize_reload_address and tightens the memory address constraint used for floating point moves and st

Re: [committed] Delete GO_IF_LEGITIMATE_ADDRESS on PA target

2013-02-03 Thread John David Anglin
On 3-Feb-13, at 3:25 PM, John David Anglin wrote: Committed to trunk. Oops, forgot to attach change. Dave -- John David Anglin dave.ang...@bell.net 2013-02-03 John David Anglin * config/pa/constraints.md: Adjust unused letters. Change "T" constraint to

Re: [PATCH] Temporarily revert Steven's PCH changes for 4.8 (PR pch/54117)

2013-02-13 Thread John David Anglin
On 2013-02-13 3:33 PM, David Edelsohn wrote: Perhaps Dave can explain what would have to be done to move this > platform to DWARF2...? > I had looked at this a bit in the past. I don't think it's that difficult to add DWARF2 support to GCC on hppa. Although we don't support named sect

Re: [PATCH] Disable PCH for -g other than dwarf[234] (PR pch/54117, take 2)

2013-02-18 Thread John David Anglin
The patch successfully disables stabs+PCH on hppa2.0w-hp-hpux11.11 and fixes the testsuite regressions. Also tested on hppa64-hp-hpux11.11 with no regressions. On 2013-02-15 9:08 AM, Jakub Jelinek wrote: On Thu, Feb 14, 2013 at 05:48:57AM -0700, Jeff Law wrote: I think two tests should be su

[committed] Fix PR target/56214

2013-02-18 Thread John David Anglin
...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2013-02-18 John David Anglin PR target/56214 * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode and HImode, require all displacements to be an integer

[committed] Work around bug in powf function on HP-UX

2013-02-18 Thread John David Anglin
ed on hppa2.0w-hp-hpux11 and hppa64-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) 2013-02-18 John David Anglin PR target/

[PATCH] Remove broken powf hack

2013-02-18 Thread John David Anglin
(613) 990-0752 (FAX: 952-6602) 2013-02-18 John David Anglin PR target/56347 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for broken powf. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise. * intrinsics/c99_functions.c: Likewise

[committed] Fix handling of TLS_MODEL_GLOBAL_DYNAMIC and TLS_MODEL_LOCAL_DYNAMIC symbol references on PA

2011-10-29 Thread John David Anglin
trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-10-29 John David Anglin PR target/50691 config/pa/pa.c (emit_move_sequence): Legitimize TLS symbol

[committed] Avoid common in some tests on hppa*-*-hpux*

2011-10-30 Thread John David Anglin
(FAX: 952-6602) 2011-10-30 John David Anglin * gcc.dg/scal-to-vec2.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. * gcc.dg/torture/vshuf-v8hi.c: Likewise. * gcc.dg/torture/vshuf-v4si.c: Likewise. * gcc.dg/torture/vshuf-v8si.c: Likewise

[PATCH] Fix libgcc_tm.h dependency in libgcc Makefile

2011-11-06 Thread John David Anglin
) 2011-11-06 John David Anglin PR other/50991 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of extra-parts. Index: Makefile.in === --- Makefile.in (revision 181037) +++ Makefile.in (working copy

[committed] Update PA libfunc initialization

2011-11-06 Thread John David Anglin
-11-06 John David Anglin * config/pa/pa.c (pa_hpux_init_libfuncs): Rename to pa_init_libfuncs. Remove dependence of declaration and target define on definition of HPUX_LONG_DOUBLE_LIBRARY. Update implementation. Index: config/pa/pa.c

Re: Reload/i386 patch for secondary memory vs subregs

2012-08-11 Thread John David Anglin
> * reload1.c (replaced_subreg): New static function. > (gen_reload): Use it when deciding whether to use secondary > memory. This causes the following on hppa*-*-* (32-bit): ../../gcc/gcc/reload1.c: In function 'rtx_def* gen_reload(rtx, rtx, int, reload_ type)': ../../gcc/gcc/r

[committed] Fix PR middle-end/53823

2012-08-18 Thread John David Anglin
gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-08-18 John David Anglin PR middle-end/53823 * expmed.c (expand_mult): Skip synth_mult for negative coefficients if the mode is larger than a wide int and it is too costly to mul

[committed] PA cost update

2012-09-08 Thread John David Anglin
. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-09-08 John David Anglin * config/pa/pa.c (hppa_rtx_costs): Update costs for large integer modes. Index: config/pa

<    1   2   3   4   5   6   7   >