public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/36672]  New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
@ 2008-06-29 21:35 astrange at ithinksw dot com
  2008-06-29 21:36 ` [Bug rtl-optimization/36672] " astrange at ithinksw dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: astrange at ithinksw dot com @ 2008-06-29 21:35 UTC (permalink / raw)
  To: gcc-bugs

> gcc -v
Using built-in specs.
Target: i386-apple-darwin9.3.0
Configured with: ../gcc/configure --prefix=/usr/local/gcc44-ira
--enable-threads=posix --with-arch=core2 --with-tune=core2 --with-gmp=/sw
--with-mpfr=/sw --disable-nls --disable-bootstrap --enable-checking=yes,rtl
CFLAGS=-g LDFLAGS=/usr/lib/libiconv.dylib --enable-languages=c,c++,objc
Thread model: posix
gcc version 4.4.0 20080530 (experimental) (GCC)

> gcc -O3 -fira -fno-pic -S ira-ice2.i
ira-ice2.i:38: internal compiler error: in emit_swap_insn, at reg-stack.c:829
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Happens with -O2, but not below that, and not without -fno-pic.


-- 
           Summary: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: astrange at ithinksw dot com
GCC target triplet: i?86-*-*


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


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

* [Bug rtl-optimization/36672] IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
  2008-06-29 21:35 [Bug rtl-optimization/36672] New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829 astrange at ithinksw dot com
@ 2008-06-29 21:36 ` astrange at ithinksw dot com
  2008-07-07 18:08 ` vmakarov at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: astrange at ithinksw dot com @ 2008-06-29 21:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from astrange at ithinksw dot com  2008-06-29 21:35 -------
Created an attachment (id=15830)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15830&action=view)
testcase


-- 


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


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

* [Bug rtl-optimization/36672] IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
  2008-06-29 21:35 [Bug rtl-optimization/36672] New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829 astrange at ithinksw dot com
  2008-06-29 21:36 ` [Bug rtl-optimization/36672] " astrange at ithinksw dot com
@ 2008-07-07 18:08 ` vmakarov at redhat dot com
  2008-07-07 18:14 ` vmakarov at gcc dot gnu dot org
  2008-08-27  4:29 ` astrange at ithinksw dot com
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at redhat dot com @ 2008-07-07 18:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from vmakarov at redhat dot com  2008-07-07 18:07 -------
Incorrect order in reload insn chain results in wrong reload inheritance which
crashed the compiler.

The patch solving the problem will follow soon.


-- 


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


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

* [Bug rtl-optimization/36672] IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
  2008-06-29 21:35 [Bug rtl-optimization/36672] New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829 astrange at ithinksw dot com
  2008-06-29 21:36 ` [Bug rtl-optimization/36672] " astrange at ithinksw dot com
  2008-07-07 18:08 ` vmakarov at redhat dot com
@ 2008-07-07 18:14 ` vmakarov at gcc dot gnu dot org
  2008-08-27  4:29 ` astrange at ithinksw dot com
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu dot org @ 2008-07-07 18:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from vmakarov at gcc dot gnu dot org  2008-07-07 18:14 -------
Subject: Bug 36672

Author: vmakarov
Date: Mon Jul  7 18:13:13 2008
New Revision: 137581

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137581
Log:
2008-07-07  Vladimir Makarov  <vmakarov@redhat.com>
        PR preprocessor/36672

        * ira.c (chain_insn_order): New variable.
        (chain_freq_compare, chain_bb_compare): Use it.
        (ira_sort_insn_chain): Set it up.


Modified:
    branches/ira/gcc/ChangeLog
    branches/ira/gcc/ira.c


-- 


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


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

* [Bug rtl-optimization/36672] IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829
  2008-06-29 21:35 [Bug rtl-optimization/36672] New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829 astrange at ithinksw dot com
                   ` (2 preceding siblings ...)
  2008-07-07 18:14 ` vmakarov at gcc dot gnu dot org
@ 2008-08-27  4:29 ` astrange at ithinksw dot com
  3 siblings, 0 replies; 5+ messages in thread
From: astrange at ithinksw dot com @ 2008-08-27  4:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from astrange at ithinksw dot com  2008-08-27 04:28 -------
Fixed.


-- 

astrange at ithinksw dot com changed:

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


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


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

end of thread, other threads:[~2008-08-27  4:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-29 21:35 [Bug rtl-optimization/36672] New: IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829 astrange at ithinksw dot com
2008-06-29 21:36 ` [Bug rtl-optimization/36672] " astrange at ithinksw dot com
2008-07-07 18:08 ` vmakarov at redhat dot com
2008-07-07 18:14 ` vmakarov at gcc dot gnu dot org
2008-08-27  4:29 ` astrange at ithinksw dot com

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