public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
@ 2007-05-08 12:20 kkojima at gcc dot gnu dot org
2007-05-08 14:32 ` [Bug tree-optimization/31866] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2007-05-08 12:20 UTC (permalink / raw)
To: gcc-bugs
With -O1, the following testcase
int
foo (void)
{
return ({
unsigned int resultvar = ({
long int arg = (long int) 0;
register long int reg asm ("eax") = arg;
asm volatile ("nop"
: "=a" (resultvar)
: "0" (reg)
:"memory");
(int) resultvar;});
(int) resultvar;});
}
fails with an ICE:
foo.c: In function 'foo':
foo.c:3: internal compiler error: tree check: expected ssa_name, have var_decl
in create_outofssa_var_map, at tree-ssa-coalesce.c:1051
--
Summary: [4.3 Regression] ICE with tree check error: expected
ssa_name, have var_decl in create_outofssa_var_map
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-checking
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
@ 2007-05-08 14:32 ` pinskia at gcc dot gnu dot org
2007-05-09 0:45 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-08 14:32 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |ice-on-valid-code
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
2007-05-08 14:32 ` [Bug tree-optimization/31866] " pinskia at gcc dot gnu dot org
@ 2007-05-09 0:45 ` pinskia at gcc dot gnu dot org
2007-05-22 22:27 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-09 0:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-09 01:45 -------
Here is a shorter testcase:
int
foo (void)
{
unsigned int resultvar;
long int arg = (long int) 0;
register long int reg asm ("eax") = arg;
asm ("nop"
: "=r" (resultvar)
: "0" (reg)
);
return resultvar;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-09 01:45:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
2007-05-08 14:32 ` [Bug tree-optimization/31866] " pinskia at gcc dot gnu dot org
2007-05-09 0:45 ` pinskia at gcc dot gnu dot org
@ 2007-05-22 22:27 ` pinskia at gcc dot gnu dot org
2007-06-20 11:23 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-22 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-22 23:26 -------
Janis can you do a regression hunt on this bug.
Here is a powerpc testcase if you need one:
int
foo (void)
{
unsigned int resultvar;
long int arg = (long int) 0;
register long int reg asm ("r3") = arg;
asm ("nop"
: "=r" (resultvar)
: "0" (reg)
);
return resultvar;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-05-22 22:27 ` pinskia at gcc dot gnu dot org
@ 2007-06-20 11:23 ` jakub at gcc dot gnu dot org
2007-06-21 12:21 ` jakub at gcc dot gnu dot org
2007-06-21 12:23 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-06-20 11:23 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-05-09 01:45:25 |2007-06-20 11:23:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-06-20 11:23 ` jakub at gcc dot gnu dot org
@ 2007-06-21 12:21 ` jakub at gcc dot gnu dot org
2007-06-21 12:23 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-06-21 12:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2007-06-21 12:21 -------
Subject: Bug 31866
Author: jakub
Date: Thu Jun 21 12:20:42 2007
New Revision: 125919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125919
Log:
PR tree-optimization/31866
* tree-ssa-coalesce.c (create_outofssa_var_map): Do nothing
if ASM_EXPR's input is not a SSA_NAME.
* gcc.dg/pr31866.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr31866.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-coalesce.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/31866] [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-06-21 12:21 ` jakub at gcc dot gnu dot org
@ 2007-06-21 12:23 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-06-21 12:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2007-06-21 12:23 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-21 12:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-08 12:20 [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map kkojima at gcc dot gnu dot org
2007-05-08 14:32 ` [Bug tree-optimization/31866] " pinskia at gcc dot gnu dot org
2007-05-09 0:45 ` pinskia at gcc dot gnu dot org
2007-05-22 22:27 ` pinskia at gcc dot gnu dot org
2007-06-20 11:23 ` jakub at gcc dot gnu dot org
2007-06-21 12:21 ` jakub at gcc dot gnu dot org
2007-06-21 12:23 ` jakub 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).