public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority
@ 2010-10-13 11:28 zsojka at seznam dot cz
2010-10-13 15:16 ` [Bug rtl-optimization/46002] " ubizjak at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-13 11:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002
Summary: ICE: in update_copy_costs, at ira-color.c:319 with
-fira-algorithm=priority
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 22028
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22028
reduced testcase
Command line:
$ gcc -fira-algorithm=priority -Os pr46002.c
Compiler output:
$ gcc -fira-algorithm=priority -Os pr46002.c
pr46002.c: In function 'foo':
pr46002.c:9:1: internal compiler error: in update_copy_costs, at
ira-color.c:319
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r165354 - crash
r153685 - crash
4.4 r149995 - crash
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/46002] ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority
2010-10-13 11:28 [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority zsojka at seznam dot cz
@ 2010-10-13 15:16 ` ubizjak at gmail dot com
2011-02-21 17:47 ` law at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2010-10-13 15:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.13 15:16:39
CC| |ubizjak at gmail dot com
Ever Confirmed|0 |1
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2010-10-13 15:16:39 UTC ---
Confirmed on x86_64-pc-linux-gnu, gdb backtrace:
#0 fancy_abort (file=0xd11b68 "../../gcc-svn/trunk/gcc/ira-color.c",
line=319, function=0xd12070 "update_copy_costs")
at ../../gcc-svn/trunk/gcc/diagnostic.c:880
#1 0x00000000006e7ff8 in update_copy_costs (allocno=0x13799d8,
decr_p=<value optimized out>) at ../../gcc-svn/trunk/gcc/ira-color.c:319
#2 0x00000000006e93cf in assign_hard_reg (a=0x13799d8, retry_p=0 '\000')
at ../../gcc-svn/trunk/gcc/ira-color.c:628
#3 0x00000000006eb393 in color_allocnos (loop_tree_node=0x136d5a0)
at ../../gcc-svn/trunk/gcc/ira-color.c:1542
#4 color_pass (loop_tree_node=0x136d5a0)
at ../../gcc-svn/trunk/gcc/ira-color.c:1670
#5 0x00000000006df24a in ira_traverse_loop_tree (bb_p=0 '\000',
loop_node=0x136d5a0, preorder_func=0x6e9a50 <color_pass>, postorder_func=0)
at ../../gcc-svn/trunk/gcc/ira-build.c:1445
#6 0x00000000006eda89 in do_coloring ()
at ../../gcc-svn/trunk/gcc/ira-color.c:1814
#7 color () at ../../gcc-svn/trunk/gcc/ira-color.c:3157
#8 ira_color () at ../../gcc-svn/trunk/gcc/ira-color.c:3273
#9 0x00000000006da494 in ira () at ../../gcc-svn/trunk/gcc/ira.c:3187
#10 rest_of_handle_ira () at ../../gcc-svn/trunk/gcc/ira.c:3342
#11 0x0000000000737d1f in execute_one_pass (pass=0x11b1180)
at ../../gcc-svn/trunk/gcc/passes.c:1562
#12 0x0000000000737fb5 in execute_pass_list (pass=0x11b1180)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/46002] ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority
2010-10-13 11:28 [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority zsojka at seznam dot cz
2010-10-13 15:16 ` [Bug rtl-optimization/46002] " ubizjak at gmail dot com
@ 2011-02-21 17:47 ` law at gcc dot gnu.org
2011-02-21 22:14 ` hjl.tools at gmail dot com
2011-02-22 6:27 ` cltang at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: law at gcc dot gnu.org @ 2011-02-21 17:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002
--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-02-21 17:43:18 UTC ---
Author: law
Date: Mon Feb 21 17:43:15 2011
New Revision: 170370
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170370
Log:
PR rtl-optimization/46178
* gcc.target/i386/pr46178.c: New test.
PR rtl-optimization/46002
* gcc.c-torture/compile/pr46002.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr46002.c
trunk/gcc/testsuite/gcc.target/i386/pr46178.c
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/46002] ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority
2010-10-13 11:28 [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority zsojka at seznam dot cz
2010-10-13 15:16 ` [Bug rtl-optimization/46002] " ubizjak at gmail dot com
2011-02-21 17:47 ` law at gcc dot gnu.org
@ 2011-02-21 22:14 ` hjl.tools at gmail dot com
2011-02-22 6:27 ` cltang at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-21 22:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-21 21:45:47 UTC ---
Still fail on Linux/x86-64 as of revision 170371:
[hjl@gnu-34 gcc]$ /export/gnu/import/svn/gcc-test-intel64corei7/bld/gcc/xgcc
-B/export/gnu/import/svn/gcc-test-intel64corei7/bld/gcc/ -Os
-fira-algorithm=priority -c -o pr46002.o
/export/gnu/import/svn/gcc-test-intel64corei7/src-trunk/gcc/testsuite/gcc.c-torture/compile/pr46002.c
-march=corei7
/export/gnu/import/svn/gcc-test-intel64corei7/src-trunk/gcc/testsuite/gcc.c-torture/compile/pr46002.c:
In function \u2018foo\u2019:
/export/gnu/import/svn/gcc-test-intel64corei7/src-trunk/gcc/testsuite/gcc.c-torture/compile/pr46002.c:10:1:
internal compiler error: in update_copy_costs, at ira-color.c:318
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-34 gcc]$
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/46002] ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority
2010-10-13 11:28 [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority zsojka at seznam dot cz
` (2 preceding siblings ...)
2011-02-21 22:14 ` hjl.tools at gmail dot com
@ 2011-02-22 6:27 ` cltang at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cltang at gcc dot gnu.org @ 2011-02-22 6:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002
--- Comment #4 from Chung-Lin Tang <cltang at gcc dot gnu.org> 2011-02-22 03:23:24 UTC ---
Author: cltang
Date: Tue Feb 22 03:23:21 2011
New Revision: 170388
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170388
Log:
2011-02-21 Chung-Lin Tang <cltang@codesourcery.com>
PR rtl-optimization/46002
* ira-color.c (update_copy_costs): Change class intersection
test to reg_class_contents[] test of 'hard_regno'.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-color.c
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-22 3:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 11:28 [Bug rtl-optimization/46002] New: ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority zsojka at seznam dot cz
2010-10-13 15:16 ` [Bug rtl-optimization/46002] " ubizjak at gmail dot com
2011-02-21 17:47 ` law at gcc dot gnu.org
2011-02-21 22:14 ` hjl.tools at gmail dot com
2011-02-22 6:27 ` cltang at gcc dot gnu.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).