public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86
@ 2004-01-23 21:31 gcc-bugzilla at gcc dot gnu dot org
  2004-01-23 22:26 ` [Bug middle-end/13839] " charlet at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-01-23 21:31 UTC (permalink / raw)
  To: gcc-bugs

After a successful mainline bootstrap, make gnatlib_and_tools fails on
Solaris 9/x86:

../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  s-vaflop.adb -o s-vaflop.o
Reading specs from ../../specs
Configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --with-as=/vol/gcc/lib/as-7.0 --disable-nls
Thread model: posix
gcc version 3.5.0 20040123 (experimental)
 ../../gnat1 -quiet -dumpbase s-vaflop.adb -g -gnatpg -O2 -W -Wall -gnatO s-vaflop.o s-vaflop.adb -o /var/tmp//cctdOrQJ.s
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040123 (experimental) (i386-pc-solaris2.9) GCC error:            |
| in subst_stack_regs_pat, at reg-stack.c:1430                             |
| Error detected at s-vaflop.adb:209:17                                

Stacktrace follows:

Breakpoint 1, fancy_abort (file=0x85ec180 "/vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c", line=1430, function=0x85ec3a4 "subst_stack_regs_pat") at /vol/gnu/src/gcc/gcc-dist/gcc/diagnostic.c:584
(gdb) where
#0  fancy_abort (file=0x85ec180 "/vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c", line=1430, function=0x85ec3a4 "subst_stack_regs_pat") at /vol/gnu/src/gcc/gcc-dist/gcc/diagnostic.c:584
#1  0x0845e224 in subst_stack_regs_pat (insn=0xdd8124d8, regstack=0x8046b50, pat=0xdd815120) at /vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c:1877
#2  0x0845f01e in subst_stack_regs (insn=0xdd8124d8, regstack=0x8046b50) at /vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c:2239
#3  0x0845f63d in convert_regs_2 (file=0x0, block=0x8b6dba4) at /vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c:2741
#4  0x0845fd52 in reg_to_stack (first=0xdd85fce0, file=0x0) at /vol/gnu/src/gcc/gcc-dist/gcc/reg-stack.c:2916
#5  0x0849c3f4 in rest_of_compilation (decl=0xdd9771b0) at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:2126
#6  0x081133f9 in end_subprog_body () at /vol/gnu/src/gcc/gcc-dist/gcc/ada/utils.c:1887
#7  0x0812e1d3 in tree_transform (gnat_node=1849) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:2771
#8  0x0812781f in gnat_to_code (gnat_node=1849) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:237
#9  0x0812799d in process_decls (gnat_decls=0, gnat_decls2=0, gnat_end_list=0, pass1p=1, pass2p=1) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:4516
#10 0x08129137 in tree_transform (gnat_node=1385) at ada/sinfo.h:448
#11 0x0812781f in gnat_to_code (gnat_node=1385) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:237
#12 0x08129c9c in tree_transform (gnat_node=1369) at ada/sinfo.h:832
#13 0x0812781f in gnat_to_code (gnat_node=1369) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:237
#14 0x082da736 in back_end__call_back_end (mode=back_end__generate_object) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/back_end.adb:108
#15 0x082db26f in _ada_gnat1drv () at /vol/gnu/src/gcc/gcc-dist/gcc/ada/gnat1drv.adb:633
#16 0x0849dffe in toplev_main (argc=12, argv=0x80477bc) at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:1806
#17 0x082dbad7 in main (argc=12, argv=0x80477bc) at /vol/gnu/src/gcc/gcc-dist/gcc/main.c:35

The problem vanishes at -O.

This worked ok as late as yesterday.

Environment:
System: SunOS erebus 5.9 Generic_112234-07 i86pc i386 i86pc
Architecture: i86pc

	
host: i386-pc-solaris2.9
build: i386-pc-solaris2.9
target: i386-pc-solaris2.9
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --with-as=/vol/gcc/lib/as-7.0 --disable-nls

How-To-Repeat:
Bootstrap mainline as above.

-- 
           Summary: make gnatlib_and_tools failure on Solaris 9/x86
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.9
  GCC host triplet: i386-pc-solaris2.9
GCC target triplet: i386-pc-solaris2.9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

* [Bug middle-end/13839] make gnatlib_and_tools failure on Solaris 9/x86
  2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
@ 2004-01-23 22:26 ` charlet at gcc dot gnu dot org
  2004-01-23 22:38 ` ro at techfak dot uni-bielefeld dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-23 22:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-23 22:25 -------
As usual, if you could identify the change that caused this regression,
that would be helpful.

At first sight, it looks like a codegen bug.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |middle-end


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

* [Bug middle-end/13839] make gnatlib_and_tools failure on Solaris 9/x86
  2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
  2004-01-23 22:26 ` [Bug middle-end/13839] " charlet at gcc dot gnu dot org
@ 2004-01-23 22:38 ` ro at techfak dot uni-bielefeld dot de
  2004-01-24  3:32 ` [Bug optimization/13839] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-01-23 22:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-01-23 22:38 -------
Subject: Re:  make gnatlib_and_tools failure on Solaris 9/x86

I'll start reghunting after the weekend.

	Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

* [Bug optimization/13839] [3.5 Regression] make gnatlib_and_tools failure on Solaris 9/x86
  2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
  2004-01-23 22:26 ` [Bug middle-end/13839] " charlet at gcc dot gnu dot org
  2004-01-23 22:38 ` ro at techfak dot uni-bielefeld dot de
@ 2004-01-24  3:32 ` pinskia at gcc dot gnu dot org
  2004-02-06  1:37 ` pinskia at gcc dot gnu dot org
  2004-02-06 19:26 ` ro at techfak dot uni-bielefeld dot de
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-24  3:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |optimization
           Keywords|                            |ice-on-valid-code
            Summary|make gnatlib_and_tools      |[3.5 Regression] make
                   |failure on Solaris 9/x86    |gnatlib_and_tools failure on
                   |                            |Solaris 9/x86
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

* [Bug optimization/13839] [3.5 Regression] make gnatlib_and_tools failure on Solaris 9/x86
  2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-01-24  3:32 ` [Bug optimization/13839] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-02-06  1:37 ` pinskia at gcc dot gnu dot org
  2004-02-06 19:26 ` ro at techfak dot uni-bielefeld dot de
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06  1:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-06 01:37 -------
This is a dup of bug 13938.

*** This bug has been marked as a duplicate of 13938 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

* [Bug optimization/13839] [3.5 Regression] make gnatlib_and_tools failure on Solaris 9/x86
  2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-02-06  1:37 ` pinskia at gcc dot gnu dot org
@ 2004-02-06 19:26 ` ro at techfak dot uni-bielefeld dot de
  4 siblings, 0 replies; 6+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-02-06 19:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-02-06 19:26 -------
Subject: Re:  [3.5 Regression] make gnatlib_and_tools failure on Solaris 9/x86

I can confirm that applying Jan's patch for PR middle-end/13938

	http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00403.html

allows mainline bootstrap on Solaris 10/x86 to finish successfully.

	Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13839


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

end of thread, other threads:[~2004-02-06 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 21:31 [Bug ada/13839] New: make gnatlib_and_tools failure on Solaris 9/x86 gcc-bugzilla at gcc dot gnu dot org
2004-01-23 22:26 ` [Bug middle-end/13839] " charlet at gcc dot gnu dot org
2004-01-23 22:38 ` ro at techfak dot uni-bielefeld dot de
2004-01-24  3:32 ` [Bug optimization/13839] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-02-06  1:37 ` pinskia at gcc dot gnu dot org
2004-02-06 19:26 ` ro at techfak dot uni-bielefeld dot de

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