public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
@ 2008-02-15 8:19 ` reichelt at gcc dot gnu dot org
2008-02-15 8:20 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 8:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2008-02-15 08:19 -------
Confirmed. This is a serious problem IMHO. Here's a valid example that crashes
for me:
============================
#include<vector>
#include<string>
struct A
{
std::string s;
};
struct B
{
B();
std::vector<A> v;
};
B::B() : v(0) {}
============================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i386-apple-darwin9.2.0 |
GCC host triplet|i386-apple-darwin9.2.0 |
GCC target triplet|i386-apple-darwin9.2.0 |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-02-15 08:19:01
date| |
Summary|internal compiler error: |[4.3 regression] ICE: tree
|tree check: expected class |check: expected class
|'expression', have |'expression', have
|'exceptional' (error_mark) |'exceptional' (error_mark)
|in bot_manip, at |in bot_manip, at
|cp/tree.c:1480 |cp/tree.c:1480
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
2008-02-15 8:19 ` [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480 reichelt at gcc dot gnu dot org
@ 2008-02-15 8:20 ` reichelt at gcc dot gnu dot org
2008-02-15 9:04 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 8:20 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
2008-02-15 8:19 ` [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480 reichelt at gcc dot gnu dot org
2008-02-15 8:20 ` reichelt at gcc dot gnu dot org
@ 2008-02-15 9:04 ` reichelt at gcc dot gnu dot org
2008-02-15 9:06 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 9:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from reichelt at gcc dot gnu dot org 2008-02-15 09:03 -------
Reduced testcase:
============================
struct A
{
A();
A(const A&);
};
struct B
{
A a;
};
struct C
{
C(const B& = B());
};
C c;
============================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2008-02-15 9:04 ` reichelt at gcc dot gnu dot org
@ 2008-02-15 9:06 ` reichelt at gcc dot gnu dot org
2008-02-15 9:55 ` [Bug c++/35191] [4.3 Regression] " rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 9:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2008-02-15 09:05 -------
The (valid!) testcase in comment #4 gives the following error message:
bug.cc:17: error: void value not ignored as it ought to be
bug.cc:17: internal compiler error: tree check: expected class 'expression',
have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
Please submit a full bug report, [etc.]
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2008-02-15 9:06 ` reichelt at gcc dot gnu dot org
@ 2008-02-15 9:55 ` rguenth at gcc dot gnu dot org
2008-02-15 11:40 ` reichelt at gcc dot gnu dot org
2008-02-15 11:41 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-15 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2008-02-15 09:54 -------
All testcases work for me with r132335.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |ice-checking
Resolution| |FIXED
Summary|[4.3 regression] ICE: tree |[4.3 Regression] ICE: tree
|check: expected class |check: expected class
|'expression', have |'expression', have
|'exceptional' (error_mark) |'exceptional' (error_mark)
|in bot_manip, at |in bot_manip, at
|cp/tree.c:1480 |cp/tree.c:1480
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2008-02-15 9:55 ` [Bug c++/35191] [4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2008-02-15 11:40 ` reichelt at gcc dot gnu dot org
2008-02-15 11:41 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 11:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2008-02-15 11:40 -------
Reopen...
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35191] [4.3 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2008-02-15 11:40 ` reichelt at gcc dot gnu dot org
@ 2008-02-15 11:41 ` reichelt at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-15 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from reichelt at gcc dot gnu dot org 2008-02-15 11:40 -------
... to mark as duplicate of PR35116
*** This bug has been marked as a duplicate of 35116 ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-15 11:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-35191-7427@http.gcc.gnu.org/bugzilla/>
2008-02-15 8:19 ` [Bug c++/35191] [4.3 regression] ICE: tree check: expected class 'expression', have 'exceptional' (error_mark) in bot_manip, at cp/tree.c:1480 reichelt at gcc dot gnu dot org
2008-02-15 8:20 ` reichelt at gcc dot gnu dot org
2008-02-15 9:04 ` reichelt at gcc dot gnu dot org
2008-02-15 9:06 ` reichelt at gcc dot gnu dot org
2008-02-15 9:55 ` [Bug c++/35191] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-02-15 11:40 ` reichelt at gcc dot gnu dot org
2008-02-15 11:41 ` reichelt 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).