[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 * expr.c (move_by_pieces_d::generate): Mark mode parameter with ATTRIBUTE_UNUSED. Index: expr.c

[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] 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] Consolidate various PIC pc-relative sequences to one output function in pa.c

2016-06-16 Thread John David Anglin
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

[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 * config/pa/pa.h (TARGET_LONG_PIC_PCREL_CALL): Remove. Index: config/pa/pa.h

[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 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set least-significant bit in function pointer for fixup.

[committed] Rework indirect call instruction sequences on PA

2016-06-26 Thread John David Anglin
t_arg_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-2

[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 * config/pa/pa.md

[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 PR ipa/77732

[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 PR testsuite/81056 * testsui

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

2017-05-10 Thread John David Anglin
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 PR target/79027 * config

[PATCH] hppa: Fix pa_assemble_integer

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

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 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 * gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if libatomic_available. * g

[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 * gcc.dg/torture/pr79

[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 * gfortran.dg/coarray_41.f90: Add "-latomic"

[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 * gcc.dg/torture/pr78515.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture

[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 * gnat.dg/debug7.adb: Skip on hppa*-*-hpux*. * gnat.dg/debug9.adb: Likewise. Index: gnat.dg

[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 PR testsuite/70583 * g++.old-deja/g++.abi/vtable2.C: Adjust CMP_VPTR

[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 * gnat.dg/trampoline4.adb: Skip on hppa*-*-*. Index: gnat.dg/trampoline4.adb === --- gnat.dg/trampoline4

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

[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 * c-c++-common/Wunused-var-15.c: Add -fno-common additional option on hppa

[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 * g++.dg

[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 * gcc.dg/pr77587.c: Require alias support. * gcc.dg/pr77587a.c: Likewise. Index: gcc.dg/pr77587.c

[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 * gfortran.dg/coarray_43.f90: Add "-latomic" option if libatomic_available. Index: gfortran.dg/coar

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

2017-02-08 Thread John David Anglin
ut 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 * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on hppa*-*-*. * testsuite/libgomp.oac

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

2017-02-11 Thread John David Anglin
ifies 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 Da

[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 * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Remove

[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 * g++.dg/tls/thread_local-order2.C: xfail on

[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 PR libstdc++/68739 testsuite/util/testsuite_common_types.h: Adjust template type. Index: testsuite/util

[committed] New hppa-hpux11 pthread.h fix

2017-02-25 Thread John David Anglin
pplication 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 PR target/68739 * inclhack.def (hpux11_pthread_pointer): New fix. (hpux11_pthread_const):

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

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

Obsolete 32-bit HP-UX in GCC

2017-02-26 Thread John David Anglin
x27;t 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

[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 PR target/77850 * config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and vector types. Index: config/pa/pa

[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 PR libfortran/69799 * gfortran.dg/coarray_allocate_5

[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 * gcc.dg/ifcvt-4.c: Add hppa*64*-*-* to skip list. Index: gcc.dg/ifcvt-4.c

[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 * gcc.c-torture/execute/pr68532.c: Add -fno-common option on hppa*-*-hpux*. Index

[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 PR target/70188 * config/pa/constraints.md: Revert 2015-02-13

[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 PR target/70319 * config/pa/pa.md

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] Testsuite fixes for hppa

2016-04-09 Thread John David Anglin
x27;t working. Dave -- John David Anglin dave.ang...@bell.net 2016-04-09 John David Anglin PR rtl-optimization/64886 * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*. Index: gcc.dg/pr64434.c === --- gcc.dg/pr64

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}' wit

[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 gcc/c-family/ * c-common.c (max_align_t_align): Move to targhooks.c. * c-common.h (max_align_t_align): Delete. gcc/ * target.def (max_align_t_align): New

[PATCH] Revert commit r235318

2016-10-08 Thread John David Anglin
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 dav

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

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 gcc/c-family/ * c-common.c (max_align_t_align): Move to tar

[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 * config/pa/pa.h (BIGGEST_ALIGNMENT): Adjust comment. (MALLOC_ABI_ALIGNMENT): Define. Index: config/pa/pa.h

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

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-11 Thread John David Anglin
-byte alignment. 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-11 Thread John David Anglin
hread_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-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&suite=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 kno

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-12 Thread John David Anglin
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
s platform will free 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
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

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

2016-10-19 Thread John David Anglin
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 libgcc/ * config/pa/pa64-hpux-lib.h: New file. (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__

[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] 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 * config/pa/pa64-hpux.h (FINI_SECTION_ASM_OP

[committed] hppa: Add new shift/add patterns

2016-11-01 Thread John David Anglin
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 PR target/78166 * config/pa

[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

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 * config/pa/pa.c (hppa_profile_hook): Allocate stack space for register parameters. Remove code to initialize argument pointer on TARGET_64BIT. Optimize call to

[PATCH] Invalidate argument slots for const/pure calls

2016-07-23 Thread John David Anglin
Dave -- John David Anglin dave.ang...@bell.net 2016-08-23 John David Anglin PR middle-end/71732 * cselib.c (cselib_process_insn): Invalidate argument slots for const/pure calls. Index: cse

[committed] Use dg-timeout-factor 2 in g++.dg/torture/pr65655.C

2016-11-27 Thread John David Anglin
This avoids test timeouts on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2016-11-27 John David Anglin * g++.dg/torture/pr65655.C: Use dg-timeout-factor 2. Index: g++.dg/torture/pr65655.C

[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 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Regenerate. Index: config/abi/post/hppa

[committed] parisc: -mcaller-copies option

2016-12-11 Thread John David Anglin
linux-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 * config/pa/pa.c (pa_callee_copies)

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

[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

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] PR bootstrap/67363: Fix setenv/unsetenv declaration issue in gcc.c

2015-09-10 Thread John David Anglin
the host. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2015-09-15 John David Anglin PR bootstrap/67363 * configure.ac: Check if setenv and unsetenv are declared. * configure: Rebuild

[PATCH] PR67401: Fix wrong code generated by expand_atomic_compare_and_swap

2015-09-10 Thread John David Anglin
directly assigning it. Tested on hppa-unknown-linux-gnu. Okay for trunk and gcc-5? With this change I can enable __sync_compare_and_swap_8 on hppa-linux. Dave -- John David Anglin dave.ang...@bell.net 2015-09-10 John David Anglin PR middle-end/67401 * optabs.c

Re: [PATCH] PR67401: Fix wrong code generated by expand_atomic_compare_and_swap

2015-09-11 Thread John David Anglin
On 2015-09-11 4:15 AM, Bernd Schmidt wrote: On 09/11/2015 01:21 AM, John David Anglin wrote: As noted in the PR, expand_atomic_compare_and_swap can generate wrong code when libcalls are emitted for the sync_compare_and_swap and the result comparison test. This is fixed by emitting a move insn

[COMMITTED] Fix ICE compiling sbgdec.c in ffmpeg package

2015-09-12 Thread John David Anglin
runk. Dave -- John David Anglin dave.ang...@bell.net 2015-09-12 John David Anglin * config/pa/pa.c (pa_output_move_double): Enhance to handle HIGH CONSTANT_P operands. Index: config/pa/pa.c === --- conf

[committed] Fix warning from config/pa/fptr.c

2015-09-13 Thread John David Anglin
The attached patch fixes a warning caused by left shifting a signed constant. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-09-13 John David Anglin * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned. Index

[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 * gfortran.dg/coarray_alloc_comp_1.f08: Add "-latomic" option if libatomic

[committed] Fix HPPA/PARISC 32-bit Linux kernel build

2015-12-16 Thread John David Anglin
-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed regressions. Committed to trunk and gcc-5 branch. Dave -- John David Anglin dave.ang...@bell.net 2015-12-16 John David Anglin PR target/68779 * config/pa/pa.md (atomic_loaddi): Honor -mdisable-fpregs

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

2015-12-28 Thread John David Anglin
for trunk? Dave -- John David Anglin dave.ang...@bell.net 2015-12-28 John David Anglin PR libfortran/68744 * runtime/backtrace.c: Include gthr.h. (show_backtrace): Use __gthread_active_p() to determine whether threads are active. Return if lbstate is

[PATCH] Fix math transformation on targets without c99 math functions

2015-12-28 Thread John David Anglin
hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2015-12-28 John David Anglin PR middle-end/68743 * match.pd: Require target has function_c99_math_complex before doing truncl(extend(x)) and trunc(extend

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

2015-12-28 Thread John David Anglin
This fixes unsupported alignment. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Dave -- John David Anglin dave.ang...@bell.net 2015-12-28 John David Anglin * gcc.dg/torture/pr67609.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture/pr67609.c

[committed] Skip gcc.dg/pr49551.c on hppa*-*-hpux*

2015-12-28 Thread John David Anglin
Skip due to lack of function sections on 32-bit hpux targets. dave -- John David Anglin dave.ang...@bell.net 2015-12-28 John David Anglin * gcc.dg/pr49551.c: Skip on hppa*-*-hpux*. Index: gcc.dg/pr49551.c

[committed] Fix failure of fortran.dg/coarray_40.f90 on hppa*-*-hpux*

2015-12-28 Thread John David Anglin
On hppa*-*-hpux*, we need to link with libatomic to get "atomic" functions. Fix is same as in other tests. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-12-28 John David Anglin * g

Re: [committed] Fix failure of fortran.dg/coarray_40.f90 on hppa*-*-hpux*

2015-12-30 Thread John David Anglin
r update to gcc-5. Dave -- John David Anglin dave.ang...@bell.net 2015-12-30 John David Anglin * gfortran.dg/coarray_40.f90: Revise to use dg-additional-options. * gfortran.dg/coarray_lib_comm_1.f90: Likewise. I

Re: [PATCH] Fix math transformation on targets without c99 math functions

2015-12-31 Thread John David Anglin
On 2015-12-30, at 6:46 PM, Joseph Myers wrote: > On Mon, 28 Dec 2015, John David Anglin wrote: > >> The attach change fixes PR middle-end/68743 on hppa*-*-hpux*. In compiling >> c99_functions.c in libgfortran, floor ((double)x) was transformed to >> floorf(x) but >&

Re: [PATCH] Fix math transformation on targets without c99 math functions

2016-01-11 Thread John David Anglin
with c99_runtime and add_options_for_c99_runtime. Attached is untested patch implementing the latter option. I tend to think there's not much benefit in testing these tests on non c99 targets. Will test when current tests complete. Dave -- John David Anglin dave.ang...@bell.net 201

Re: [committed] Fix PR target/68729

2016-01-11 Thread John David Anglin
On 2015-12-18, at 9:05 PM, John David Anglin wrote: > On 2015-12-09, at 8:00 PM, John David Anglin wrote: > >> The attached fixes an ICE building gridengine. The problem is we are asked >> to do an HImode reload >> for a floating pointing register. However, we c

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

2016-01-11 Thread John David Anglin
The HP libm doesn't support the ERANGE error for exp2(). So, we need to skip this test as on sun unix. 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-11 John David Anglin PR

Re: [PATCH] Fix math transformation on targets without c99 math functions

2016-01-17 Thread John David Anglin
On 2016-01-11, at 10:56 AM, John David Anglin wrote: > On 2016-01-11 8:24 AM, Jakub Jelinek wrote: >> On Mon, Jan 11, 2016 at 02:16:31PM +0100, Christophe Lyon wrote: >>>>> In any case, we have no_c99_libc_has_function on hpux and everything on >>>>> linux

Re: [PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-12-04 Thread John David Anglin
load. if (reload_completed || SIBLING_CALL_P (insn)) insn_info->frame_read = true; This works. Dave -- John David Anglindave.ang...@bell.net

[committed] Require c99_target for gcc.dg/ipa/ipa-icf-5.c and gcc.dg/ipa/ipa-icf-7.c

2014-12-07 Thread John David Anglin
The attached change fixes the fails of gcc.dg/ipa/ipa-icf-5.c and gcc.dg/ipa/ipa-icf-7.c on hppa*-*-hpux*. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-12-07 John David Anglin PR testsuite/64038 * gcc.dg/ipa/ipa-icf-5.c: Require

[PATCH] Fix failure of coarray tests on hpux

2014-12-07 Thread John David Anglin
The attached change fixes the fortran coarray tests on hpux. On hpux, it is necessary to link directly against libatomic. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net 2014-12-07 John David Anglin

[PATCH] Correctly handle stack arguments of sibling calls in DSE pass

2014-12-07 Thread John David Anglin
1 with no observed regressions. Bootstrap tested on on i686-unknown-linux-gnu. Okay? Dave -- John David Anglin dave.ang...@bell.net 2014-12-07 John David Anglin PR target/55023 * dse.c (frame_read): Update comment. (scan_insn): Set insn_info->frame_read to tru

Re: [PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-12-08 Thread John David Anglin
On 12/8/2014 3:49 PM, Jeff Law wrote: I think the terminology and variable names certainly makes this tougher to follow than it should. I certainly agree. When I first looked at the code, I thought it was completely backwards. Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-12-08 Thread John David Anglin
d be fixed if it was saved and restored across calls. DSE as it stands doesn't look at argument pointer based stores and I suspect they would be deleted with current code. Dave -- John David Anglindave.ang...@bell.net

Re: [PATCH] Set stores_off_frame_dead_at_return to false if sibling call

2014-12-09 Thread John David Anglin
ether they are frame related or not. Dave -- John David Anglindave.ang...@bell.net

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

2014-12-16 Thread John David Anglin
On 8-Dec-14, at 5:36 PM, Jeff Law wrote: On 12/08/14 15:15, John David Anglin wrote: On 12/8/2014 3:01 PM, Jeff Law wrote: The above is wrong for sibcalls. Sibcall arguments are relative to the incoming argument pointer. Is this always the frame pointer? I don't think it's always

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

2014-12-19 Thread John David Anglin
On 16-Dec-14, at 8:17 PM, John David Anglin wrote: On 8-Dec-14, at 5:36 PM, Jeff Law wrote: On 12/08/14 15:15, John David Anglin wrote: On 12/8/2014 3:01 PM, Jeff Law wrote: The above is wrong for sibcalls. Sibcall arguments are relative to the incoming argument pointer. Is this always

Re: [PATCH v3] Use strtoll instead of atoll in gcov-tool.c

2014-12-20 Thread John David Anglin
Ping. On 24-Nov-14, at 7:38 PM, John David Anglin wrote: On 15-Sep-14, at 5:40 AM, Richard Biener wrote: Let's wait for other opinions. We now have implementations of strtol and strtoll in libiberty. So, it's better to use these than atoll. As suggested by Jakub, the patch

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

2014-12-23 Thread John David Anglin
On 2014-12-23 12:32 PM, H.J. Lu wrote: On Tue, Dec 16, 2014 at 5:17 PM, John David Anglin wrote: On 8-Dec-14, at 5:36 PM, Jeff Law wrote: On 12/08/14 15:15, John David Anglin wrote: On 12/8/2014 3:01 PM, Jeff Law wrote: The above is wrong for sibcalls. Sibcall arguments are relative to

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

2014-12-23 Thread John David Anglin
that is not relative to the frame. */ add_non_frame_wild_read (bb_info); Again, this is incorrect for sibling calls (i.e., dse in general assumes that call arguments are register or stack pointer based before reload). Dave -- John David Anglin dave.ang...@bell.net

<    1   2   3   4   5   6   7   >