public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/16326] New: irix  bootstrap failure after "RTL prologue/epilogue for SPARC" patch
@ 2004-07-02  4:18 billingd at gcc dot gnu dot org
  2004-07-02  5:09 ` [Bug bootstrap/16326] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-02  4:18 UTC (permalink / raw)
  To: gcc-bugs

IRIX6.5 bootstrap of mainline broke shortly after 2004-06-30 10:30 UTC.

The patch that prompted the change in behaviour is
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01049.html

2004-06-30  Eric Botcazou  <ebotcazou@libertysurf.fr>

        RTL prologue/epilogue for SPARC
        [...]

The compiler dumps core during stage2_build with

./xgcc -B./ -B/disk4/billingd/tmp/gcc/mips-sgi-irix6.5/bin/ -
isystem /disk4/billingd/tmp/gcc/mips-sgi-irix6.5/include -
isystem /disk4/billingd/tmp/gcc/mips-sgi-irix6.5/sys-include -
L/disk4/billingd/obj/gcc/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -
isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -
I/disk4/billingd/src/gcc/gcc -I/disk4/billingd/src/gcc/gcc/. -
I/disk4/billingd/src/gcc/gcc/../include -
I/disk4/billingd/src/gcc/gcc/../libcpp/include -
I/disk4/billingd/src/gcc/gcc/../libbanshee/libcompat -
I/disk4/billingd/src/gcc/gcc/../libbanshee -
I/disk4/billingd/src/gcc/gcc/../libbanshee/points-to -I/usr/local/include -
DL_muldi3 -c /disk4/billingd/src/gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o
/disk4/billingd/src/gcc/gcc/libgcc2.c: In function `__muldi3':
/disk4/billingd/src/gcc/gcc/libgcc2.c:459: internal compiler error: Abort
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: irix  bootstrap failure after "RTL prologue/epilogue for
                    SPARC" patch
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: ebotcazou at libertysurf dot fr,gcc-bugs at gcc dot gnu
                    dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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


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

* [Bug bootstrap/16326] irix  bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
@ 2004-07-02  5:09 ` pinskia at gcc dot gnu dot org
  2004-07-03  8:49 ` [Bug bootstrap/16326] Bootstrap " ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-02  5:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-02 05:09 -------
        * passes.c (rest_of_compilation): Set current_function_uses_only_leaf_regs
        before sched2.  If target has  'late_rtl_prologue_epilogue', emit RTL
        prologue/epilogue right before sched2.
        * reorg.c (return_insn_p): New predicate.
        (find_end_label): Use it.
        (relax_delay_slots): Do not thread an unconditional jump that points
        to the end return label.



-- 


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


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

* [Bug bootstrap/16326] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
  2004-07-02  5:09 ` [Bug bootstrap/16326] " pinskia at gcc dot gnu dot org
@ 2004-07-03  8:49 ` ebotcazou at gcc dot gnu dot org
  2004-07-03 19:12 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-03  8:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-03 08:49 -------
Yeah, I deliberately broke his platform because Richard didn't want to use my
patch for the ABI problem with small arrays. ;-)

Investigating, hopefully it's the reorg.c bits.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at libertysurf dot|
                   |fr                          |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-03 08:49:30
               date|                            |
            Summary|irix  bootstrap failure     |Bootstrap failure after "RTL
                   |after "RTL prologue/epilogue|prologue/epilogue for SPARC"
                   |for SPARC" patch            |patch


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


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

* [Bug bootstrap/16326] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
  2004-07-02  5:09 ` [Bug bootstrap/16326] " pinskia at gcc dot gnu dot org
  2004-07-03  8:49 ` [Bug bootstrap/16326] Bootstrap " ebotcazou at gcc dot gnu dot org
@ 2004-07-03 19:12 ` ebotcazou at gcc dot gnu dot org
  2004-07-03 20:13 ` [Bug bootstrap/16326] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-03 19:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-03 19:12 -------
Confirmed, it's the reorg.c bits, more precisely the change to find_end_label,
which now appears to be clearly problematic.

Sorry for the breakage.  A temporary workaround is to revert the diff generated by
  cvs diff -u -r1.97 -r1.98 reorg.c


-- 


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-03 19:12 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-03 20:13 ` pinskia at gcc dot gnu dot org
  2004-07-04  0:23 ` david dot billinghurst at comalco dot riotinto dot com dot au
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-03 20:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, wrong-
                   |                            |code
            Summary|Bootstrap failure after "RTL|[3.5 Regression] Bootstrap
                   |prologue/epilogue for SPARC"|failure after "RTL
                   |patch                       |prologue/epilogue for SPARC"
                   |                            |patch
   Target Milestone|---                         |3.5.0


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-03 20:13 ` [Bug bootstrap/16326] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-07-04  0:23 ` david dot billinghurst at comalco dot riotinto dot com dot au
  2004-07-06 13:34 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: david dot billinghurst at comalco dot riotinto dot com dot au @ 2004-07-04  0:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au  2004-07-04 00:23 -------
Subject: RE:  Bootstrap failure after "RTL prologue/epilogue for SPARC" patch

> ------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-03 19:12
> Confirmed, it's the reorg.c bits, more precisely the change to find_end_label,
> which now appears to be clearly problematic.

Let me know it you want a patch tested

> Sorry for the breakage.

That's OK.  No point testing if nothing ever breaks :-)  


-- 


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-04  0:23 ` david dot billinghurst at comalco dot riotinto dot com dot au
@ 2004-07-06 13:34 ` ebotcazou at gcc dot gnu dot org
  2004-07-07  8:47 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-06 13:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-07-06 13:34 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-07  8:47 ` ebotcazou at gcc dot gnu dot org
  2004-07-08  6:41 ` cvs-commit at gcc dot gnu dot org
  2004-07-08  6:43 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-07  8:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-07 08:47 -------
Patch submission: http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00318.html


-- 


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-07-07  8:47 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-08  6:41 ` cvs-commit at gcc dot gnu dot org
  2004-07-08  6:43 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-08  6:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-08 06:41 -------
Subject: Bug 16326

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-07-08 06:41:13

Modified files:
	gcc            : ChangeLog reorg.c 

Log message:
	PR bootstrap/16326
	* reorg.c: Revert 2004-06-30 change.
	(find_end_label): If HAVE_epilogue and !HAVE_return,
	return 0 instead of creating a label at the end of the insn chain.
	(optimize_skip): Account for the failure mode of find_end_label.
	(fill_simple_delay_slots): Likewise.
	(fill_slots_from_thread): Likewise.
	(relax_delay_slots): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4366&r2=2.4367
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reorg.c.diff?cvsroot=gcc&r1=1.98&r2=1.99



-- 


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


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

* [Bug bootstrap/16326] [3.5 Regression] Bootstrap failure after "RTL prologue/epilogue for SPARC" patch
  2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-07-08  6:41 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-08  6:43 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-08  6:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-08 06:43 -------
Patch commited.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-07-08  6:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-02  4:18 [Bug bootstrap/16326] New: irix bootstrap failure after "RTL prologue/epilogue for SPARC" patch billingd at gcc dot gnu dot org
2004-07-02  5:09 ` [Bug bootstrap/16326] " pinskia at gcc dot gnu dot org
2004-07-03  8:49 ` [Bug bootstrap/16326] Bootstrap " ebotcazou at gcc dot gnu dot org
2004-07-03 19:12 ` ebotcazou at gcc dot gnu dot org
2004-07-03 20:13 ` [Bug bootstrap/16326] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-04  0:23 ` david dot billinghurst at comalco dot riotinto dot com dot au
2004-07-06 13:34 ` ebotcazou at gcc dot gnu dot org
2004-07-07  8:47 ` ebotcazou at gcc dot gnu dot org
2004-07-08  6:41 ` cvs-commit at gcc dot gnu dot org
2004-07-08  6:43 ` ebotcazou at gcc dot gnu dot org

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