--- 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
--- 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|RES
--- 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
-
--- 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 '
--- 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/s
--
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
--- 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
#include
struct A
{
std::string s;
};
struct B
{
B();
std::vector v;
};
B::B()