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

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

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

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

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

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

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

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

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

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

[committed] hppa: Rework MALLOC_ABI_ALIGNMENT macro

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

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

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

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

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

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

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

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

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

[committed] hppa: Fix comment for pa_som_asm_init_sections

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

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

2017-12-03 Thread John David Anglin
operands. The attached change fixes this problem. Dave -- John David Anglin dave.ang...@bell.net 2017-12-03 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.c (pa_legitimate_address_p): For scaled indexing, require base operand is a REG_POINTER prior to

[committed] hppa: Fix bootstrap on hppa-hpux

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

[committed] hppa-linux: Update baseline symbols

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

[committed] hpux: Fix testsuite/17_intro/names.cc failure

2017-08-20 Thread John David Anglin
On hpux, the namespace for 'd' and 'r' is not clean, so we need to undef them in the test. More info is available in PR testsuite/81056. Dave -- John David Anglin dave.ang...@bell.net 2017-08-20 John David Anglin <dang...@gcc.gnu.org> PR testsuite/81056 * tes

[committed] Xfail gcc.dg/ipa/ipcp-cstagg-7.c on 32-bit hppa targets

2017-08-20 Thread John David Anglin
Structures larger than 64 bits are passed by invisible reference on 32-bit hppa targets. As noted in PR ipa/77732, this is not currently handled. So, we need to xfail these targets. Dave -- John David Anglin dave.ang...@bell.net 2017-08-20 John David Anglin <dang...@gcc.gnu.

[PATCH] hppa: Fix pa_assemble_integer

2017-05-10 Thread John David Anglin
to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-05-10 John David Anglin <dang...@gcc.gnu.org> PR target/80090 * config/pa/pa.c (pa_assemble_integer): When outputting a SYMBOL_REF, handle calling assemble_external ourself. Index: config/p

[Committed] hppa: Reject changes to/from modes with zero size in pa_cannot_change_mode_class

2017-05-10 Thread John David Anglin
. As a result, fold-const.c compiles successfully. The bug is latent in all active branches. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11 trunk. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-05-10 John David Anglin <dang...@gcc.gnu.org> PR

[committed] Fix alias requirement for gcc.dg/torture/pr79732.c and gcc.dg/tree-ssa/pr56727.c

2017-03-26 Thread John David Anglin
The attached patch fixes the alias requirement for gcc.dg/torture/pr79732.c and gcc.dg/tree-ssa/pr56727.c, so the tests don't fail on 32-bit hppa-hpux. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-03-26 John David Anglin <dang...@gcc.gnu.

[committed] Fix new coarray test fails on hppa

2017-03-26 Thread John David Anglin
This patch fixes some new coarray testsuite fails on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-03-26 John David Anglin <dang...@gcc.gnu.org> * gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if lib

Re: [wwwdocs] readings.html maintenance

2017-03-19 Thread John David Anglin
On 2017-03-19, at 4:03 AM, Gerald Pfeifer wrote: > It turns out both the hp.com link and the arm.com link now redirect > to marketing pages, so instead of chasing forever, I decided to take > them out. Removal of hp.com link is OK. Dave -- John David Anglin dave.ang...@bell.net

[committed] Fix varargs padding on hppa64 target

2017-03-06 Thread John David Anglin
. Dave -- John David Anglin dave.ang...@bell.net 2017-03-06 John David Anglin <dang...@gcc.gnu.org> PR target/77850 * config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and vector types. Index: config/pa/p

Obsolete 32-bit HP-UX in GCC

2017-02-26 Thread John David Anglin
seem any reason to do it this late in the development serious. This will give about a year for people to object... Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2017-02-25 Thread John David Anglin
On 2017-02-25, at 5:32 PM, Gerald Pfeifer wrote: > On Sat, 25 Feb 2017, John David Anglin wrote: >>> Sooo, why not deprecate 32-bit HP-UX with GCC 7? >> GCC 7 is in reasonable shape on 32-bit HP-UX. I'll do it after it is >> released. > > If you deprecate it wi

Re: [PATCH] Implement new hook for max_align_t_align

2017-02-25 Thread John David Anglin
On 2017-02-25, at 12:25 PM, Gerald Pfeifer wrote: > On Wed, 12 Oct 2016, John David Anglin wrote: >>> It's really hard to make an argument to do anything other than deprecate >>> that platform. Given John's ongoing involvement it's much harder to >>> deprecate 64bit

[committed] New hppa-hpux11 pthread.h fix

2017-02-25 Thread John David Anglin
code. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-25 John David Anglin <dang...@gcc.gnu.org> PR target/68739 * inclhack.def (hpux11_pthread_pointer): N

[PATCH] Fix PR libstdc++/68739 on hpux

2017-02-18 Thread John David Anglin
The attached change fixes the fails noted in PR 68730. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016-02-18 John David Anglin <dang...@gcc.gnu.org> PR libstdc++/68739 testsuite/util/testsuite_common_types.h: Adjust template type. Index: tes

[committed] xfail g++.dg/tls/thread_local-order2.C on hppa*-*-hpux*

2017-02-18 Thread John David Anglin
I don't believe this test is fixable on hpux due to the way destructors are handled on hpux. Test used to be xfailed everywhere. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-18 John David Anglin <dang...@gcc.gnu.org> * g++.dg/tls/thread

[committed] Remove hppa dg-skip-if directive from libgomp.oacc-c-c++-common/loop-dim-default.c

2017-02-11 Thread John David Anglin
With the alloca.h header fixed, the skip is no longer needed on hppa*-*-*. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-11 John David Anglin <dang...@gcc.gnu.org> * testsuite/libgomp.oacc-c-c++-common/lo

[committed] hppa-hpux11: New include fix for alloca.h

2017-02-11 Thread John David Anglin
alloca.h to explicitly include sys/stdsyms.h if it hasn't been included previously. This fixes the libgomp.oacc-c-c++-common/loop-dim-default.c test case. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-11 John David Anglin <d

[committed] Fix libgomp testsuite failures on hppa*-*-hpux*

2017-02-08 Thread John David Anglin
it. As a result, we have no fails in libgomp testsuite on hppa64-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2017-02-08 John David Anglin <dang...@gcc.gnu.org> * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on hppa*-*-*. * tes

[committed] Fix gfortran.dg/coarray_43.f90 on hppa*-*-hpux*

2017-02-03 Thread John David Anglin
We need to link against libatomic when available. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-03 John David Anglin <dang...@gcc.gnu.org> * gfortran.dg/coarray_43.f90: Add "-latomic" option if libatomic_available. In

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

2017-02-03 Thread John David Anglin
This avoids test failure on 32-bit hppa*-*-hpux*. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-03 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/pr77587.c: Require alias support. * gcc.dg/pr77587a.c: Likewise. Index: gcc.dg/pr7

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

2017-02-03 Thread John David Anglin
The attached change skips a couple of tests on hpux. The 32-bit hppa-hpux target lacks support for the dwarf debug format. We also lack the %hhd format except on 11.31. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-03 John David Anglin <d

[committed] Fix some more tests that fail on hppa*-*-hpux* due to limited common alignment

2017-02-03 Thread John David Anglin
The attached change adds the -fno-common option to several tests that fail on hppa*-*-hpux*. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-02-03 John David Anglin <dang...@gcc.gnu.org> * c-c++-common/Wunused-var-15.c: Add -fno-common additional

[committed] Add gcc/function-tests.o to compare_exclusions for 32-bit hppa*-*-hpux*.

2017-02-03 Thread John David Anglin
.EXPORT _GLOBAL__F_.._.._gcc_gcc_function_tests.c_DFF67DD7_0xb048e3,DATA _GLOBAL__F_.._.._gcc_gcc_function_tests.c_DFF67DD7_0xb048e3: The attached change adds gcc/function-tests.o to the compare exclusions for hppa*-*-hpux*. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.ne

Re: [PATCH] Add dg-require-alias to a ICF test (PR testsuite/79272).

2017-02-01 Thread John David Anglin
On 2017-02-01, at 8:03 AM, Martin Liška wrote: > As mentioned in the PR, hppa2.0w-hp-hpux11.11 does not support aliasing and > thus > the scanned pattern is invalid. Fixed in patch. Looks fine to me and obvious. Dave -- John David Anglin dave.ang...@bell.net

[committed] Skip gnat.dg/trampoline4.adb on hppa

2017-01-28 Thread John David Anglin
We have function descriptors. Dave -- John David Anglin dave.ang...@bell.net 2017-01-28 John David Anglin <dang...@gcc.gnu.org> * gnat.dg/trampoline4.adb: Skip on hppa*-*-*. Index: gnat.dg/trampolin

[committed] Fix g++.old-deja/g++.abi/vtable2.C on hppa

2017-01-28 Thread John David Anglin
descriptors. Tested on hppa-unknown-linux-gnu, hhpa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and gcc-6 branch. Dave -- John David Anglin dave.ang...@bell.net 2017-01-28 John David Anglin <dang...@gcc.gnu.org> PR testsuite/70583 * g++.old-deja/g

[committed] Skip gnat.dg/debug7.adb and gnat.dg/debug9.adb on hppa*-*-hpux*

2017-01-28 Thread John David Anglin
The 32-bit hppa*-*-hpux* does not support dwarf debugging. Gnat is not supported on 64-bit hpux. Dave -- John David Anglin dave.ang...@bell.net 2017-01-28 John David Anglin <dang...@gcc.gnu.org> * gnat.dg/debug7.adb: Skip on hppa*-*-hpux*. * gnat.dg/debu

[committed] Add -fno-common option to gcc.dg/torture/pr78515.c on hppa*-*-hpux*

2017-01-28 Thread John David Anglin
Another test where we need to avoid the limited alignment of common on hppa*-*-hpux*. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-01-28 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/torture/pr78515.c: Add -fno-common option on hppa*-

[committed] Link various gfortran tests against libatomic when available

2017-01-28 Thread John David Anglin
The attached change fixes these fortran tests on hppa-hpux. We need to explicitly link against libatomic. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2017-01-28 John David Anglin <dang...@gcc.gnu.org> * gfortran.dg/coarray_41.f90: Add "-lato

Re: [committed] parisc: -mcaller-copies option

2016-12-11 Thread John David Anglin
On 2016-12-11, at 9:22 PM, Sandra Loosemore wrote: > Please fix this to spell "OpenMP" correctly. Done. -- John David Anglin dave.ang...@bell.net

[committed] parisc: -mcaller-copies option

2016-12-11 Thread John David Anglin
-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed regression. When enabled, it fixes the failures noted in PR 68733. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2012-12-11 John David Anglin <dang...@gcc.gnu.org> * config/p

[committed] Update baseline symbols on hppa-linux

2016-12-03 Thread John David Anglin
The attached change update the baseline symbols for libstdc++ on hppa-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-12-03 John David Anglin <dang...@gcc.gnu.org> * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Regenerate.

[committed] Link various gfortran tests against libatomic when available

2016-11-19 Thread John David Anglin
The attached change fixes these tests on hppa. We need to link against libatomic. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-11-19 John David Anglin <dang...@gcc.gnu.org> * gfortran.dg/coarray_alloc_comp_1.f08: Add "-lato

[committed] hppa: Add new shift/add patterns

2016-11-01 Thread John David Anglin
this form either directly as an insn pattern or as a secondary reload. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk and gcc-6 branch. Dave -- John David Anglin dave.ang...@bell.net 2016-11-01 John David Anglin <dang...@gcc.gnu.org> PR target

[committed] hppa: Update FINI_SECTION_ASM_OP define

2016-10-29 Thread John David Anglin
The attached patch changes the define of FINI_SECTION_ASM_OP to match that of INIT_SECTION_ASM_OP. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-10-29 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa64-

[committed] hppa: Update MALLOC_ABI_ALIGNMENT define

2016-10-29 Thread John David Anglin
back ported the change and BIGGEST_ALIGNMENT comment updates to the gcc-5 and gcc-6 branches. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk, gcc-5 and gcc-6 branches. Dave -- John David Anglin dave.ang...@bell.net 2016-10-29 John

[committed] Fix bootstrap for hppa64-hpux11* on trunk

2016-10-19 Thread John David Anglin
the crt* objects. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-10-19 John David Anglin <dang...@gcc.gnu.org> libgcc/ * config/pa/pa64-hpux-lib.h: New file. (EH_FRAME_SECTION_NAME):

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-12 Thread John David Anglin
was intended to address a Linux issue on PA-RISC. On HP-UX, the current version of max_align_t is fine. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-12 Thread John David Anglin
some time. We still need 64bit hpux for 64bit linux development. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-12 Thread John David Anglin
gnment of malloc but I take Jakub's point and maybe we should break the ABI. Debian unstable churns quickly, and I think we would be better off being consistent with the current max_align_t and 8-byte aligned malloc. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-12 Thread John David Anglin
on the second hand market. Linux is available from Debian although not as a release architecture: https://buildd.debian.org/status/architecture.php?a=hppa=sid I know from personal use that it is more functional than it has ever been. It is also still available from gentoo as far as I know. Dave --

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-11 Thread John David Anglin
to 16 when pthread_mutex_t wants an alignment of 16 is correct. -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-11 Thread John David Anglin
. It is possible to increase the "grain" size of HP malloc to 16 bytes. Thus, I don't think the silent reduction to 8-byte alignment matters. Without the change, we are faced with spurious warnings from new. -- John David Anglin dave.ang...@bell.net

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-10 Thread John David Anglin
Attached is an updated version using the new builtin __MAX_ALIGN_T_ALIGN__. This simplifies the declaration of max_align_t and ensures it is always the same as max_align_t_align(). Tested on hppa-unknown-linux-gnu. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-09 Thread John David Anglin
__", > targetm.max_align_t_align () / BITS_PER_UNIT); > > Would'nt that guarantee, that __max_align_t and > max_align_t_align () will always be the same? Yes, excellent suggestion. Testing. -- John David Anglin dave.ang...@bell.net

[committed] parisc: Define MALLOC_ABI_ALIGNMENT

2016-10-09 Thread John David Anglin
-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-10-09 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.h (BIGGEST_ALIGNMENT): Adjust comment. (MALLOC_ABI_ALIGNMENT): Define. Index: config/p

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-08 Thread John David Anglin
submission. On hpux, the alignment is determined by the long double field. With glibc, we need 16 byte alignment for max_align_t. Dave -- John David Anglin dave.ang...@bell.net 2016-10-08 John David Anglin <dang...@gcc.gnu.org> gcc/c-family/ * c-common.c (max_align_t

Re: [PATCH] Revert commit r235318

2016-10-08 Thread John David Anglin
On 2016-10-08, at 12:53 PM, John David Anglin wrote: > > It doesn't look as if the change was reviewed. For reference, the submission is here: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00796.html Dave -- John David Anglin dave.ang...@bell.net

[PATCH] Revert commit r235318

2016-10-08 Thread John David Anglin
In as much as there has been no comment regarding the PR, I believe the change should be reverted. It doesn't look as if the change was reviewed. Okay for trunk? The hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 targets build successfully with change reverted. Dave -- John David Anglin dave.ang

[PATCH] Implement new hook for max_align_t_align

2016-10-08 Thread John David Anglin
regressions. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016-10-08 John David Anglin <dang...@gcc.gnu.org> gcc/c-family/ * c-common.c (max_align_t_align): Move to targhooks.c. * c-common.h (max_align_t_align): Delete. gcc/ * targ

Re: [gofrontend-dev] Go patch committed: Avoid warning by using a local var for std::ofstream

2016-09-21 Thread John David Anglin
On Tue, Sep 20, 2016 at 09:27:17PM +0200, Florian Weimer wrote: > * Ian Lance Taylor: > > > GCC PR 77625 is about a warning while compiling the Go frontend. The > > Go frontend called `new std::ofstream()`, and the warning is "error: > > `new' of type `std::ofstream {aka std::basic_ofstream}'

[committed] libffi: Support go closures on 32-bit hppa

2016-09-04 Thread John David Anglin
The attached change adds libffi go closure support on 32-bit hppa. It also has some cleanups. We now use CFI directives for unwind support on linux. Go is a work in progress. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to gcc trunk. Dave -- John David Anglin

[committed] Update hpux_longjmp fix for hpux11.00

2016-09-04 Thread John David Anglin
The attached change updates the hpux_longjmp fix to handle the various longjmp declarations on hpux11.00. Tested with hppa2.0w-hp-hpux11.00 and hppa64-hp-hpux11.11 builds. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-09-04 John David Anglin <d

[PATCH] New hpux fix to add noreturn attribute to longjmp declarations in setjmp.h

2016-08-13 Thread John David Anglin
/parse.c:2618:1: error: 'noreturn' function does return [-W error] The attached patch fixes the above by adding the noreturn attribute to the "longjmp" declarations in setjmp.h. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016-08-13 John David Anglin <dang..

[PATCH] Invalidate argument slots for const/pure calls

2016-07-23 Thread John David Anglin
-- John David Anglin dave.ang...@bell.net 2016-08-23 John David Anglin <dang...@gcc.gnu.org> PR middle-end/71732 * cselib.c (cselib_process_insn): Invalidate argument slots for const/pure calls. Index: cs

Re: [committed] Improve profile support on hppa

2016-07-16 Thread John David Anglin
Oops, here is patch. Dave -- John David Anglin dave.ang...@bell.net 2016-07-16 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.c (hppa_profile_hook): Allocate stack space for register parameters. Remove code to initialize argument pointer on TARGET

[committed] Improve profile support on hppa

2016-07-16 Thread John David Anglin
, we need to reserve stack space for the fixed arguments. Guess there's a reason why most targets do a libcall. The attached change has been tested on hppa-unknown-linux-gnu, hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net

[committed] Remove unnecessary calls to pa_output_arg_descriptor in 64-bit patterns in pa.md

2016-06-28 Thread John David Anglin
The attached patch removes some unnecessary calls to pa_output_arg_descriptor. It just returns on TARGET_64BIT. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-06-28 John David Anglin <dang...@gcc.gnu.org> * con

[committed] Rework indirect call instruction sequences on PA

2016-06-26 Thread John David Anglin
descriptor to output the call argument descriptor. Finally, I did some cleanups to combine output_asm_insn calls and shorten some long lines. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11 (most permutations). Dave -- John David Anglin dave.ang...@bell.net 2016-06-26 John David Ang

[committed] Build valid PA-RISC function pointer for fixup in __canonicalize_funcptr_for_compare

2016-06-18 Thread John David Anglin
descriptor. Tested on hppa-unknown-linux-gnu and committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-06-18 John David Anglin <dang...@gcc.gnu.org> * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set least-significant bit in function p

[committed] Remove unused TARGET_LONG_PIC_PCREL_CALL define from pa.h

2016-06-18 Thread John David Anglin
This fixes oversight in previous change. TARGET_LONG_PIC_PCREL_CALL is no longer used and can be removed. Dave -- John David Anglin dave.ang...@bell.net 2018-06-18 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.h (TARGET_LONG_PIC_PCREL_CALL): Remove. Index: con

[committed] Consolidate various PIC pc-relative sequences to one output function in pa.c

2016-06-16 Thread John David Anglin
are primarily used for long PIC calls. Tested on hppa-unknown-linux-gnu, hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11 using BOOT_CFLAGS and BOOT_CCCFLAGS for long call generation. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-06-16 John David Anglin <d

[committed] Generate indirect long calls to non-local functions on 64-bit hppa

2016-06-06 Thread John David Anglin
The attached patch generates indirect long calls to non-local functions on 64-bit hppa. This improves opportunities for optimization and scheduling. Tested on hppa64-hp-hpux11.11 with no observed regressions. Dave -- John David Anglin dave.ang...@bell.net 2016-06-06 John David Anglin

[committed] Remove R1 clobbers from 64-bit indirect call value patters and splitters

2016-06-06 Thread John David Anglin
The instruction sequence generated for 64-bit indirect calls on hppa does not clobber register %r1, so the clobbers for this register can be removed. Tested on hppa64-hp-hpux11.11 with no observed regressions. Dave -- John David Anglin dave.ang...@bell.net 2016-06-06 John David Anglin

[committed] Fix unused argument error in expr.c

2016-06-05 Thread John David Anglin
The attached change fixes a build error on hppa-unknown-linux-gnu. Committed as obvious. Dave -- John David Anglin dave.ang...@bell.net 2016-06-05 John David Anglin <dang...@gcc.gnu.org> * expr.c (move_by_pieces_d::generate): Mark mode parameter with ATTRIBUTE_

Re: [PATCH] Fix bootstrap on hppa*-*-hpux*

2016-05-20 Thread John David Anglin
On 2016-05-18 2:20 AM, Jakub Jelinek wrote: On Tue, May 17, 2016 at 08:31:00PM -0400, John David Anglin wrote: >r235550 introduced the use of long long, and the macros LLONG_MIN and LLONG_MAX. These macros >are not defined by default and we need to include when compiling with c++ to

[PATCH] Fix bootstrap on hppa*-*-hpux*

2016-05-17 Thread John David Anglin
r235550 introduced the use of long long, and the macros LLONG_MIN and LLONG_MAX. These macros are not defined by default and we need to include when compiling with c++ to define them. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin

[committed] Testsuite fixes for hppa

2016-04-09 Thread John David Anglin
working. Dave -- John David Anglin dave.ang...@bell.net 2016-04-09 John David Anglin <dang...@gcc.gnu.org> PR rtl-optimization/64886 * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*. Index: gcc.dg/pr6

Re: [committed] Fix linux blk-merge boot problem on hppa

2016-04-05 Thread John David Anglin
On 2016-03-17, at 7:38 PM, John David Anglin wrote: > The attach patch fixes a problem causing block/blk-merge.c in the linux > kernel to be miscompiled. As a result, > block segments were not properly split and boot failed since linux 4.3. > > The problem was found by a re

[committed] Fix bswapdi2 pattern in pa.md

2016-03-24 Thread John David Anglin
This fixes PR target/70319. We need to us a scratch register to avoid clobbering operand 1. Tested on hppa64-hp-hpux11.11. Committed to trunk and gcc-5. Dave -- John David Anglin dave.ang...@bell.net 2016-03-24 John David Anglin <dang...@gcc.gnu.org> PR target

[committed] Fix linux blk-merge boot problem on hppa

2016-03-18 Thread John David Anglin
constraints. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11and hppa64-hp-hpux11.11. Committed to trunk, 4.9 and 5 branches. Dave -- John David Anglin dave.ang...@bell.net 2016-03-17 John David Anglin <dang...@gcc.gnu.org> PR target/70188 * config/pa/constrai

[committed] Add -fno-common option on hppa*-*-hpux* for gcc.c-torture/execute/pr68532.c

2016-03-15 Thread John David Anglin
Another test where we need to avoid the limited alignment of common on hppa*-*-hpux*. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-03-15 John David Anglin <dang...@gcc.gnu.org> * gcc.c-torture/execute/pr68532.c: Add -fno-common option on

[committed] Skip gcc.dg/ifcvt-4.c on hppa*64*-*-*

2016-03-15 Thread John David Anglin
See bug testsuite/68232 for justification. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-03-15 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/ifcvt-4.c: Add hppa*64*-*-* to skip list. Index: gcc.dg/ifc

[committed] Fix gfortran.dg/coarray_allocate_5.f08 on targets needing to link with libatomic

2016-03-15 Thread John David Anglin
This patch fixes failure of coarray_allocate_5.f08 on hppa. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-03-15 John David Anglin <dang...@gcc.gnu.org> PR libfortran

[committed] Add new bswap and abs patterns to PA

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

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

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

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

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

Re: bswap PRs 69714, 67781

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

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

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

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

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

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

2016-01-31 Thread John David Anglin
The attached change uses a different register to avoid ICEing in dwarf2out_frame_debug_expr. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-01-31 John David Anglin <dang...@gcc.gnu.org>

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

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

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

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

[committed] Fix declaration of vsscanf on hpux

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

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

2016-01-27 Thread John David Anglin
on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2016-01-27 John David Anglin <dang...@gcc.gnu.org> PR libstdc++/69450 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete isinf and isnan functions in

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

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

[committed] Fix libstdc++/69446

2016-01-23 Thread John David Anglin
_GLIBCXX_USE_WEAK_REF needs to be defined to 0 to fix build error. Tested on hppa2.0w-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2016-01-23 John David Anglin <dang...@gcc.gnu.org> PR libstdc++/69446 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WE

<    1   2   3   4   5   6   7   8   >