public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
       [not found] <bug-42295-4@http.gcc.gnu.org/bugzilla/>
@ 2012-09-01 21:25 ` ubizjak at gmail dot com
  2012-09-01 22:19 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2012-09-01 21:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-01 21:25:35 UTC ---
All testcases compile OK for me with recent mainline.


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
       [not found] <bug-42295-4@http.gcc.gnu.org/bugzilla/>
  2012-09-01 21:25 ` [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns ubizjak at gmail dot com
@ 2012-09-01 22:19 ` dominiq at lps dot ens.fr
  2012-09-02  7:08 ` uros at gcc dot gnu.org
  2012-09-02  7:14 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-09-01 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-01 22:19:09 UTC ---
> All testcases compile OK for me with recent mainline.

For me too with 4.6.3, 4.7.1, and trunk. I get the ICE with 4.4.6 and 4.5.3.


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
       [not found] <bug-42295-4@http.gcc.gnu.org/bugzilla/>
  2012-09-01 21:25 ` [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns ubizjak at gmail dot com
  2012-09-01 22:19 ` dominiq at lps dot ens.fr
@ 2012-09-02  7:08 ` uros at gcc dot gnu.org
  2012-09-02  7:14 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2012-09-02  7:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from uros at gcc dot gnu.org 2012-09-02 07:07:50 UTC ---
Author: uros
Date: Sun Sep  2 07:07:45 2012
New Revision: 190854

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190854
Log:
    PR target/42295
    * g++.dg/opt/pr42295.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/opt/pr42295.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
       [not found] <bug-42295-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-09-02  7:08 ` uros at gcc dot gnu.org
@ 2012-09-02  7:14 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2012-09-02  7:14 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.6.3, 4.7.1
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #9 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-02 07:13:53 UTC ---
Closed as fixed in 4.8.0.


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
  2009-12-05  1:55 [Bug rtl-optimization/42295] New: " zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2009-12-16 22:01 ` zsojka at seznam dot cz
@ 2010-01-14 11:32 ` abel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-01-14 11:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from abel at gcc dot gnu dot org  2010-01-14 11:32 -------
With the recent patches to sel-sched, testcases from comments #3 and #4 do not
longer fail for me.  I'm still seeing the spill failure of the original report
though.


-- 

abel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abel at gcc dot gnu dot org


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


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
  2009-12-05  1:55 [Bug rtl-optimization/42295] New: " zsojka at seznam dot cz
  2009-12-07 11:17 ` [Bug target/42295] " rguenth at gcc dot gnu dot org
  2009-12-07 15:33 ` zsojka at seznam dot cz
@ 2009-12-16 22:01 ` zsojka at seznam dot cz
  2010-01-14 11:32 ` abel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-16 22:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from zsojka at seznam dot cz  2009-12-16 22:01 -------
Created an attachment (id=19330)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19330&action=view)
simplified testcase

(testcase from comment#3 turned out to be a dup of pr39453)


-- 

zsojka at seznam dot cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19234|0                           |1
        is obsolete|                            |


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


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
  2009-12-05  1:55 [Bug rtl-optimization/42295] New: " zsojka at seznam dot cz
  2009-12-07 11:17 ` [Bug target/42295] " rguenth at gcc dot gnu dot org
@ 2009-12-07 15:33 ` zsojka at seznam dot cz
  2009-12-16 22:01 ` zsojka at seznam dot cz
  2010-01-14 11:32 ` abel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-07 15:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zsojka at seznam dot cz  2009-12-07 15:33 -------
This testcase (the call to f() isn't needed in this case) crashes with 4.4 with
these flags as well:
-O3 -fselective-scheduling2 -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops
(-O2 is enough for trunk)

The crash message is:
testcase-manual.ii: In function &#8216;void testsum(ms*)&#8217;:
testcase-manual.ii:20: internal compiler error: in init_seqno, at
sel-sched.c:6433 (sel-sched.c:6722 for trunk)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Is this the same issue, or should I open separate bug report? (eg.
-fselective-scheduling2 is not expected to always work on x86_64 as well)


-- 


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


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

* [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns
  2009-12-05  1:55 [Bug rtl-optimization/42295] New: " zsojka at seznam dot cz
@ 2009-12-07 11:17 ` rguenth at gcc dot gnu dot org
  2009-12-07 15:33 ` zsojka at seznam dot cz
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-07 11:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-12-07 11:17 -------
-fschedule-insns is quite tricky for x86 targets, if it doesn't work do not use
it.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |target
 GCC target triplet|                            |x86_64-*-*


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


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

end of thread, other threads:[~2012-09-02  7:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42295-4@http.gcc.gnu.org/bugzilla/>
2012-09-01 21:25 ` [Bug target/42295] ICE: 'error: unable to find a register to spill in class "AREG"' with -fschedule-insns ubizjak at gmail dot com
2012-09-01 22:19 ` dominiq at lps dot ens.fr
2012-09-02  7:08 ` uros at gcc dot gnu.org
2012-09-02  7:14 ` ubizjak at gmail dot com
2009-12-05  1:55 [Bug rtl-optimization/42295] New: " zsojka at seznam dot cz
2009-12-07 11:17 ` [Bug target/42295] " rguenth at gcc dot gnu dot org
2009-12-07 15:33 ` zsojka at seznam dot cz
2009-12-16 22:01 ` zsojka at seznam dot cz
2010-01-14 11:32 ` abel 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).