public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53582] New: [4.6 regression, fixed in 4.7, I think] ICE on valid code
@ 2012-06-05 17:33 luto at mit dot edu
2012-06-06 9:19 ` [Bug c++/53582] [4.6 regression] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: luto at mit dot edu @ 2012-06-05 17:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53582
Bug #: 53582
Summary: [4.6 regression, fixed in 4.7, I think] ICE on valid
code
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: luto@mit.edu
g++ -O2 segfaults on this code. Tested on gcc (GCC) 4.6.3 20120306 (Red Hat
4.6.3-2). 4.7 and trunk work. 4.5 seems okay as well.
struct A {
A();
};
unsigned f1();
void f2() {
while(true) {
unsigned x;
try {
f1();
} catch(char) {
x = (unsigned)-1;
}
if (x != 1) {
new A;
continue;
}
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/53582] [4.6 regression] ICE on valid code
2012-06-05 17:33 [Bug c++/53582] New: [4.6 regression, fixed in 4.7, I think] ICE on valid code luto at mit dot edu
@ 2012-06-06 9:19 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-06 9:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53582
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.6.4
Resolution| |FIXED
Target Milestone|--- |4.6.4
Summary|[4.6 regression, fixed in |[4.6 regression] ICE on
|4.7, I think] ICE on valid |valid code
|code |
Known to fail| |4.6.3
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-06 09:19:13 UTC ---
Confirmed for 4.6.3, works on the 4.6 branch head. Probably a dup.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-06 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05 17:33 [Bug c++/53582] New: [4.6 regression, fixed in 4.7, I think] ICE on valid code luto at mit dot edu
2012-06-06 9:19 ` [Bug c++/53582] [4.6 regression] " 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).