public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME)
@ 2012-02-03 19:24 gjl at gcc dot gnu.org
2012-02-03 19:25 ` [Bug other/52115] " gjl at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-02-03 19:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Bug #: 52115
Summary: ICE: verify_ssa failed (missing definition for
SSA_NAME)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
Target: avr
This is a new failure observed in 4.7 trunk r183874. r183341 worked fine.
Source:
./gcc/testsuite/gcc.c-torture/compile/pr44891.c
http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.c-torture/compile/pr44891.c?revision=183874&content-type=text%2Fplain&view=co
Command line:
avr-gcc pr44891.c -S -O1 -v
Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/gnu/install/gcc-4.7 --disable-nls --enable-languages=c,c++
--with-dwarf2 --enable-checking=yes,rtl
GNU C (GCC) version 4.7.0 20120203 (experimental) (avr)
compiled by GNU C version 4.3.2 [gcc-4_3-branch revision 141291], GMP
version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2
ICE:
pr44891.c: In function 'foo':
pr44891.c:26:1: error: missing definition
for SSA_NAME: D.1329_5 in statement:
gf.0_6 = D.1329_5 + 3.2999999523162841796875e+0;
pr44891.c:26:1: internal compiler error: verify_ssa failed
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/52115] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
@ 2012-02-03 19:25 ` gjl at gcc dot gnu.org
2012-02-03 19:43 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-02-03 19:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-03
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/52115] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
2012-02-03 19:25 ` [Bug other/52115] " gjl at gcc dot gnu.org
@ 2012-02-03 19:43 ` jakub at gcc dot gnu.org
2012-02-06 12:59 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-03 19:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-03 19:43:13 UTC ---
Looks like an ESRA bug. Can't reproduce on other targets though.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/52115] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
2012-02-03 19:25 ` [Bug other/52115] " gjl at gcc dot gnu.org
2012-02-03 19:43 ` jakub at gcc dot gnu.org
@ 2012-02-06 12:59 ` rguenth at gcc dot gnu.org
2012-02-06 13:08 ` [Bug tree-optimization/52115] [4.7 Regression] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-06 12:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-06 12:59:23 UTC ---
Mine.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/52115] [4.7 Regression] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
` (2 preceding siblings ...)
2012-02-06 12:59 ` rguenth at gcc dot gnu.org
@ 2012-02-06 13:08 ` rguenth at gcc dot gnu.org
2012-02-06 14:55 ` rguenth at gcc dot gnu.org
2012-02-06 15:17 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-06 13:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|avr |
Component|other |tree-optimization
Known to work| |4.6.2
Target Milestone|--- |4.7.0
Summary|ICE: verify_ssa failed |[4.7 Regression] ICE:
|(missing definition for |verify_ssa failed (missing
|SSA_NAME) |definition for SSA_NAME)
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-06 13:08:27 UTC ---
Testcase that fails on x86_64:
struct S
{
float f;
long l;
};
extern int gi;
extern float gf;
long foo (long p)
{
struct S s;
float *pf;
s.l = p;
pf = &s.f;
pf++;
pf--;
gf = *pf + 3.3;
gi = *((short *)pf) + 2;
return s.l + 6;
}
I have a patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/52115] [4.7 Regression] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
` (3 preceding siblings ...)
2012-02-06 13:08 ` [Bug tree-optimization/52115] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2012-02-06 14:55 ` rguenth at gcc dot gnu.org
2012-02-06 15:17 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-06 14:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-06 14:54:54 UTC ---
Author: rguenth
Date: Mon Feb 6 14:54:47 2012
New Revision: 183937
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183937
Log:
2012-02-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52115
* tree-sra.c (access_has_replacements_p): New function.
(sra_modify_assign): Use it to decide whether a use is uninitialized.
* gcc.c-torture/compile/pr52115.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr52115.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-sra.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/52115] [4.7 Regression] ICE: verify_ssa failed (missing definition for SSA_NAME)
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
` (4 preceding siblings ...)
2012-02-06 14:55 ` rguenth at gcc dot gnu.org
@ 2012-02-06 15:17 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-06 15:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52115
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-06 15:14:46 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-06 15:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 19:24 [Bug other/52115] New: ICE: verify_ssa failed (missing definition for SSA_NAME) gjl at gcc dot gnu.org
2012-02-03 19:25 ` [Bug other/52115] " gjl at gcc dot gnu.org
2012-02-03 19:43 ` jakub at gcc dot gnu.org
2012-02-06 12:59 ` rguenth at gcc dot gnu.org
2012-02-06 13:08 ` [Bug tree-optimization/52115] [4.7 Regression] " rguenth at gcc dot gnu.org
2012-02-06 14:55 ` rguenth at gcc dot gnu.org
2012-02-06 15:17 ` rguenth 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).