public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/2840: HP-UX: ICEs with -march=1.0 in gcc 3.0 prerelease
@ 2001-05-15 23:16 rbrown64
  0 siblings, 0 replies; 2+ messages in thread
From: rbrown64 @ 2001-05-15 23:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2840
>Category:       c
>Synopsis:       HP-UX: ICEs with -march=1.0 in gcc 3.0 prerelease
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue May 15 23:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     rbrown64@csc.com.au
>Release:        gcc version 3.0 20010514 (prerelease)
>Organization:
>Environment:
hppa2.0-hp-hpux10.20, hppa1.1-hp-hpux11.00
>Description:
The C testsuite has excess errors running with -march=1.0,
caused by Internal Compiler Errors.
It is unlikely that there are hppa1.0 boxes running HP-UX
or MPE/iX that need to run gcc, so the mpeix default
could be moved to hppa1.1 and this be prioritorized based
on any embedded hppa1.0 clients.

gcc -v /devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/941
019-1.c  -w  -Os   -c  -march=1.0 -o /devel/span/rdb/src/gcc-20010514.obj/gcc/t
estsuite/941019-1.o
Reading specs from /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/cpp -lang-c -v -D__GNUC__=2
 -D__GNUC_MINOR__=95 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -D
unix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux_
_ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asyst
em(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa) -D__OPTIMIZE_SIZE__ -D__OPT
IMIZE__ -w -D__hp9000s700 -D_PA_RISC1_1 -D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_
EXT__ /devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/9410
19-1.c /var/tmp/ccAVMu6Z.i
GNU CPP version 2.95.2 19991024 (release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/../../../../hppa2.0-hp-hpux
10.20/include
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/../../../../include/g++-3
End of omitted list.
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/cc1 /var/tmp/ccAVMu6Z.i -qu
iet -dumpbase 941019-1.c -march=1.0 -Os -w -version -o /var/tmp/ccuk0nE1.s
GNU C version 2.95.2 19991024 (release) (hppa2.0-hp-hpux10.20) compiled by GNU 
C version 2.95.2 19991024 (release).
 /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/as -o /devel/span/rdb/src/g
cc-20010514.obj/gcc/testsuite/941019-1.o /var/tmp/ccuk0nE1.s
/devel/span/rdb/src/gcc-20010514.obj/gcc/xgcc -B/devel/span/rdb/src/gcc-2001051
4.obj/gcc/ /devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile
/941019-1.c  -w  -Os   -c  -march=1.0 -o /devel/span/rdb/src/gcc-20010514.obj/g
cc/testsuite/941019-1.o
/devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/941019-1.c
: In function `sub':
/devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/941019-1.c
:1: Unable to find a register to spill in class `GENERAL_REGS'.
/devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/941019-1.c
:1: This is the insn:
(insn 8 23 4 (set (subreg:SI (reg/v:TF 40 %fr8 [96]) 0)
        (mem/f:SI (reg/v:SI 26 %r26 [95]) 1)) 68 {*pa.md:2088} (insn_list 6 (ni
l))
    (nil))
/devel/span/rdb/src/gcc-20010514/gcc/testsuite/gcc.c-torture/compile/941019-1.c
:1: confused by earlier errors, bailing out

3.0 20010507 (prerelease) testsuite on hppa1.1-hp-hpux11.00

-Running target unix/-march=1.0
+Running target unix
-FAIL: gcc.c-torture/compile/941019-1.c,  -O1  
...
+PASS: gcc.c-torture/compile/941019-1.c,  -O1  
...
-FAIL: gcc.c-torture/compile/20001212-1.c,  -O0  
+PASS: gcc.c-torture/compile/20001212-1.c,  -O0  
...
-FAIL: gcc.c-torture/execute/930622-2.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/930622-2.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/960215-1.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/960215-1.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/960405-1.c compilation,  -O2 
...
+PASS: gcc.c-torture/execute/960405-1.c compilation,  -O2 
...
-FAIL: gcc.c-torture/execute/960513-1.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/960513-1.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/961223-1.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/961223-1.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/991019-1.c compilation,  -O1 
...
+PASS: gcc.c-torture/execute/991019-1.c compilation,  -O1 
...
-FAIL: gcc.c-torture/execute/builtin-complex-1.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/builtin-complex-1.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/complex-5.c execution,  -O0 
+PASS: gcc.c-torture/execute/complex-5.c execution,  -O0 
...
-FAIL: gcc.c-torture/execute/regstack-1.c compilation,  -O0 
...
+PASS: gcc.c-torture/execute/regstack-1.c compilation,  -O0 
...
-FAIL: gcc.c-torture/execute/strct-pack-1.c compilation,  -O0 
-UNRESOLVED: gcc.c-torture/execute/strct-pack-1.c execution,  -O0 
+PASS: gcc.c-torture/execute/strct-pack-1.c compilation,  -O0 
+PASS: gcc.c-torture/execute/strct-pack-1.c execution,  -O0 
-FAIL: gcc.c-torture/execute/va-arg-5.c compilation,  -O2 
...
+PASS: gcc.c-torture/execute/va-arg-5.c compilation,  -O2 
...
-FAIL: gcc.c-torture/execute/va-arg-6.c compilation,  -O2 
...
+PASS: gcc.c-torture/execute/va-arg-6.c compilation,  -O2 
...
-FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c compilation,  -O2 
...
+PASS: gcc.c-torture/execute/ieee/fp-cmp-3.c compilation,  -O2 
...
-FAIL: gcc.dg/wtr-conversion-1.c (test for excess errors)
+PASS: gcc.dg/wtr-conversion-1.c (test for excess errors)
 
-               === gcc Summary for unix/-march=1.0 ===
+               === gcc Summary for unix ===
 
-# of expected passes           14862
-# of unexpected failures       117
+# of expected passes           15005
+# of unexpected failures       36
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/2840: HP-UX: ICEs with -march=1.0 in gcc 3.0 prerelease
@ 2001-05-16 12:56 law
  0 siblings, 0 replies; 2+ messages in thread
From: law @ 2001-05-16 12:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2840; it has been noted by GNATS.

From: law@redhat.com
To: rbrown64@csc.com.au
Cc: gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: c/2840: HP-UX: ICEs with -march=1.0 in gcc 3.0 prerelease 
Date: Wed, 16 May 2001 12:40:14 -0700

   In message < 20010516060847.22952.qmail@sourceware.cygnus.com >you write:
   > -Running target unix/-march=1.0
   > +Running target unix
   > -FAIL: gcc.c-torture/compile/941019-1.c,  -O1  
   > ...
   > +PASS: gcc.c-torture/compile/941019-1.c,  -O1  
 I've just checked in the attched fix, which hopefully fixes most/all of
 these failures.  I don't have the resources right now to run a -mpa-risc-1-0
 test as my secondary HP machine is in a box in preparation for moving in
 a couple weeks.  So if you could rebuild/retest after updating your sources
 it would be greatly appreciated.
 
 [ The patch was bootstrapped and tested in PA1.1 mode as well as spot checked
   on a few of the tests in PA1.0 mode. ]
 
 I installed this on the branch as well as in the mainline sources.
 
 FWIW, PA1.0 and PA1.1 behaved differently because we're more restrictive
 about what values can go into FP regs for PA1.0.  This caused PA1.0 to 
 need a reload that PA1.1 doesn't, and because of HARD_REGNO_MODE_OK, we
 couldn't find a suitable GPR register for the reload.
 
 	* pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
 	GPRs.
 
 Index: pa32-regs.h
 ===================================================================
 RCS file: /cvs/gcc/egcs/gcc/config/pa/pa32-regs.h,v
 retrieving revision 1.5
 diff -c -3 -p -r1.5 pa32-regs.h
 *** pa32-regs.h	2001/01/17 05:23:21	1.5
 --- pa32-regs.h	2001/05/16 19:34:44
 ***************
 *** 174,180 ****
        ? GET_MODE_SIZE (MODE) <= 4 || ((REGNO) & 1) == 0			\
      /* Make wide modes be in aligned registers. */			\
      : (GET_MODE_SIZE (MODE) <= UNITS_PER_WORD				\
 !       || (GET_MODE_SIZE (MODE) <= 2 * UNITS_PER_WORD && ((REGNO) & 1) == 0)))
   
   /* How to renumber registers for dbx and gdb.
   
 --- 174,180 ----
        ? GET_MODE_SIZE (MODE) <= 4 || ((REGNO) & 1) == 0			\
      /* Make wide modes be in aligned registers. */			\
      : (GET_MODE_SIZE (MODE) <= UNITS_PER_WORD				\
 !       || (GET_MODE_SIZE (MODE) <= 4 * UNITS_PER_WORD && ((REGNO) & 1) == 0)))
   
   /* How to renumber registers for dbx and gdb.
   
 
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-16 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-15 23:16 c/2840: HP-UX: ICEs with -march=1.0 in gcc 3.0 prerelease rbrown64
2001-05-16 12:56 law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).