[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

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

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 <dang...@gcc.gnu.

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

2016-01-11 Thread John David Anglin
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 2016-01-11 John David Anglin

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 &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 <dang...@gcc.gnu.org> * gfortran.dg/coarray_40.f90: Revise to use dg-additional-options. * gfortran.dg/coarray_lib_comm_1.f90: Likewi

[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 <dang...@gcc.gnu.org> * gcc.dg/pr49551.c: Skip on hppa*-*-hpux*. Index: gcc.dg/pr4

[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 <dang..

[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 <dang...@gcc.gnu.org> PR libfortran/68744 * runtime/backtrace.c: Include gthr.h. (show_backtrace): Use __gthread_active_p() to determine whether threads are

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

2015-12-28 Thread John David Anglin
on 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 <dang...@gcc.gnu.org> PR middle-end/68743 * match.pd: Require target has function_c99_math_complex before doing truncl(

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

[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 <dang...@gcc.gnu.org> PR target/68779 * config/pa/pa.md (atomic_

Re: [committed] Tighten runtime initialization check in __canonicalize_funcptr_for_compare on hppa-linux

2015-12-09 Thread John David Anglin
On 2015-12-01, at 7:15 PM, John David Anglin wrote: > The attached change fixes a startup issue of emacs24 on Debian hppa-linux. > The emacs24 build does some tricky > stuff to preinitialize values, so that standard static initialization check > is skipped. However, the global

[committed] Fix PR target/68729

2015-12-09 Thread John David Anglin
is consistent with the modes of the input and output operands. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and active branches. Dave -- John David Anglin dave.ang...@bell.net 2015-12-09 John David Anglin <dang...@gcc.gnu.org>

[PATCH] Fix libgfortran build on hppa64-hp-hpux11.11

2015-12-05 Thread John David Anglin
in elf.c which is fixed by a void cast. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed regressions. Okay for trunk? Regards, Dave -- John David Anglin dave.ang...@bell.net 2015-12-05 John David Anglin <dang...@gcc.gnu.org> PR 68115/libf

[committed] Tighten runtime initialization check in __canonicalize_funcptr_for_compare on hppa-linux

2015-12-01 Thread John David Anglin
with no observed regressions on trunk. Installed to trunk and 4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-12-01 John David Anglin <dang...@gcc.gnu.org> * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize fixup values if saved GOT address doesn't

[committed] gcc.dg/Wno-frame-address.c: Skip on hppa*-*-*

2015-11-07 Thread John David Anglin
We need to skip on hppa since it's not possible to access arbitrary frames. Dave -- John David Anglin dave.ang...@bell.net 2015-11-07 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/Wno-frame-address.c: Skip on hppa*-*-*. Index: gcc.dg/Wno-frame-add

[committed] Skip g++.dg/Wno-frame-address.C on hppa

2015-10-25 Thread John David Anglin
It is not possible to access arbitrary stack frames on hppa. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-10-25 John David Anglin <dang...@gcc.gnu.org> * g++.dg/Wno-frame-address.C: Skip on hppa*-*-*. Index: g++.dg/Wno-frame-add

[committed] Canonicalize both function and method types for comparison

2015-10-25 Thread John David Anglin
canonicalization prior to comparison. The attached change fixes this problem. 32-bit hppa is the only target that currently needs this canonicalization. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu with no observed regressions. Committed to trunk. Dave -- John David Anglin dave.ang

[committed] Define EH_FRAME_THROUGH_COLLECT2 in config/pa/som.h

2015-10-25 Thread John David Anglin
David Anglin dave.ang...@bell.net 2015-10-25 John David Anglin <dang...@gcc.gnu.org> * config/pa/som.h (EH_FRAME_THROUGH_COLLECT2): Define. Index: config/pa/som.h === --- config/pa/som.h (revision

[committed, pa] Update atomic support in PA backend

2015-09-24 Thread John David Anglin
patterns to also use the LWS builtins. Tested on hppa-unknown-linux-gnu with no observed regressions. Committed to trunk and gcc-5. Dave -- John David Anglin dave.ang...@bell.net 2015-09-24 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa-l

[committed, pa] Add long long support to config/pa/linux-atomic.c

2015-09-23 Thread John David Anglin
to trunk, gcc-5 and gcc-4.9 branches. Dave -- John David Anglin dave.ang...@bell.net 2015-09-23 John David Anglin <dang...@gcc.gnu.org> * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks. (__sync_fetch_and_##OP##_##WIDTH): Change result to matc

[committed, pa] Don't generate sibcall to public functions on TARGET_ELF32

2015-09-19 Thread John David Anglin
). The out of range field is caused by attempting to do a sibcall to a public function. Tested on hppa-unknown-linux-gnu. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-09-19 John David Anglin <dang...@gcc.gnu.org> * config/p

[committed, pa] Change argument type and casts in pa_ldil_cint_p and pa_cint_ok_for_move to unsigned

2015-09-18 Thread John David Anglin
The attached change fixes build error on trunk and makes the argument types for various constant checks more consistent. Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-09-18 John David Anglin <d

[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 <dang...@gcc.gnu.org> * config/pa/fptr.c (SIGN_EXTEND): C

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

2015-09-12 Thread John David Anglin
Anglin dave.ang...@bell.net 2015-09-12 John David Anglin <dang...@gcc.gnu.org> * config/pa/pa.c (pa_output_move_double): Enhance to handle HIGH CONSTANT_P operands. Index: config/pa/pa.c === --- con

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

[PATCH] PR bootstrap/67363: Fix setenv/unsetenv declaration issue in gcc.c

2015-09-10 Thread John David Anglin
on 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 <dang...@gcc.gnu.org> PR bootstrap/67363 * configure.ac: Check if setenv and unsetenv are de

[committed] Fix error: unable to find a register to spill in class 'R1_REGS' reloading indirect call operand

2015-08-03 Thread John David Anglin
. In this case, register %r1 is needed for the reload and the clobber blocks the reload. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-08-03 John David Anglin dang...@gcc.gnu.org

[committed] Remove condition from PA indirect_jump

2015-07-04 Thread John David Anglin
The attached change removes the C condition from the PA indirect jump since it depended on operands[] and this isn't generally allowed in named patterns. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk and active branches. Dave -- John David Anglin

[PATCH] Adjust argument ordering in pa/linux-atomic.c

2015-07-01 Thread John David Anglin
to match the kernel implementation. Tested on hppa-unknown-linux-gnu with no observed regressions. Committed to trunk, gcc-5 and gcc-4.9. Dave -- John David Anglin dave.ang...@bell.net 2015-07-01 John David Anglin dang...@gcc.gnu.org * config/pa/linux-atomic.c

[committed] Fix ICE compiling gcc.dg/torture/pr66123.c on hppa

2015-06-11 Thread John David Anglin
The attached change adds support for LABEL_REF plus CONST_INT in pa_output_global_address and fixes ICE compiling gcc.dg/torture/pr66123.c. Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to active branches. Dave -- John David Anglin dave.ang

[committed] Update HP-UX builtin predefines

2015-06-06 Thread John David Anglin
_XOPEN_SOURCE_EXTENDED when building with c++. I also reviewed the existing predefines and added some new ones for c++ and hpux11.31. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and gcc-5 branch. Dave -- John David Anglin dave.ang...@bell.net 2015-06-06 John David

Re: [PATCH] hppa-linux: add missing cpp specs

2015-05-27 Thread John David Anglin
applications running on parisc hardware. I want to see the patch in Debian and you probably want it for Gentoo. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] hppa-linux: add missing cpp specs

2015-05-27 Thread John David Anglin
active branches. ChangeLog entry should mention _REENTRANT. Thanks, Dave -- John David Anglin dave.ang...@bell.net

[PATCH, committed] Fix print format used for 'o' operand in pa_print_operand

2015-05-27 Thread John David Anglin
The attached change fixes a build error in stage2 on hppa. Tested on hppa64-hp-hpux11.11 with no regressions. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-05-27 John David Anglin dang...@gcc.gnu.org * config/pa/pa.c (pa_print_operand): Use

[PATCH, committed] Fix placement of REG_EQUAL note in pa_emit_move_sequence

2015-05-27 Thread John David Anglin
The attached change fixes the placement of a REG_EQUAL note when an insert is done to load the most significant bits of a 64-bit constant. Tested on hppa64-hp-hpux11.11 with no observed regressions. Committed to active branches. Dave -- John David Anglin dave.ang...@bell.net 2015-05

Re: [PATCH][expr.c] PR 65358 Avoid clobbering partial argument during sibcall

2015-05-06 Thread John David Anglin
On 2015-04-27 9:16 AM, John David Anglin wrote: Hi Dave, Would it be possible for you to test this patch on a 64-bit hppa or at least bootstrap it? https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01288.html I started a build and test with your patch on hppa64-hp-hpux11.11 this morning

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-05 Thread John David Anglin
David Anglin dave.ang...@bell.net

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-04 Thread John David Anglin
this is a 32-bit build and not the 64-bit build reported in PR. However, I would expect similar printf support. Don't have a 64-bit build handy. Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH][expr.c] PR 65358 Avoid clobbering partial argument during sibcall

2015-04-27 Thread John David Anglin
load the overlapping part into a pseudo and put it into the hard reg after pushing. 2015-04-22 Honggyu Kim hong.gyu@lge.com PR target/65358 * gcc.dg/pr65358.c: New test. Thanks, Kyrill Jeff Regards, Dave -- John David Anglin dave.ang...@bell.net

[committed] Fix wrong generated by pa_output_move_double

2015-04-02 Thread John David Anglin
to trunk, and 4.9 and 4.8 branches. Dave -- John David Anglin dave.ang...@bell.net 2015-04-02 John David Anglin dang...@gcc.gnu.org * config/pa/pa.c (pa_output_move_double): Directly handle register indexed memory operand. Simplify handling of scaled register indexed

Re: [PATCH] libffi testsuite: Use split to ensure valid tcl list

2015-03-29 Thread John David Anglin
will to wait for stage1 on the other patch. Dave -- John David Anglin dave.ang...@bell.net

[PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*

2015-03-28 Thread John David Anglin
The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin

[committed] hpux11_lwp_rwlock_valid fix

2015-03-28 Thread John David Anglin
-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-28 John David Anglin dang...@gcc.gnu.org PR libstdc++/65500 * inclhack.def (hpux11_lwp_rwlock_valid): New fix. * fixincl.x: Regenerate

[PATCH] libffi testsuite: Use split to ensure valid tcl list

2015-03-28 Thread John David Anglin
The attached change fixes tcl errors that occur running the complex.exp and go.exp test sets. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65567. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.ang...@bell.net libffi-split.d Description: Binary

[committed] Don't run testsuite/libgomp.oacc-c-c++-common/reduction-4.c on hppa*-*-hpux*

2015-03-21 Thread John David Anglin
This test fails on targets that don't have complex.h. The standard c99_runtime check doesn't work in the libgomp testsuite, so I explicitly disabled the test on hppa*-*-hpux*. Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin

[committed] Fix gcc.dg/torture/pr65270-1.c an gcc.dg/torture/pr65270-2.c on hppa*-*-hpux*

2015-03-15 Thread John David Anglin
The attach change adds the -fno-common option on hppa*-*-hpux*. This provides necessary alignment. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-15 John David Anglin dang...@gcc.gnu.org * gcc.dg/torture/pr65270-1

[committed] Add dg-require-alias to gcc.dg/ipa/ipa-icf-34.c

2015-03-08 Thread John David Anglin
This test requires alias support and fails on hppa2.0-hp-hpux11.11 as a result. Tested on hppa2.0-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2015-03-08 John David Anglin dang...@gcc.gnu.org * gcc.dg/ipa/ipa-icf-34.c: Add dg-require-alias

<    1   2   3   4   5   6   7   >