This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14083] [3.3/3.4/3.5 regression] ICE in conditional expression operator with throw
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 14:36:09 -0000
- Subject: [Bug c++/14083] [3.3/3.4/3.5 regression] ICE in conditional expression operator with throw
- References: <20040209134027.14083.gcc@online.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-02-09 14:36 -------
OK, here's the redux:
-----------------------
struct A {
A() throw() { }
A(const A&) throw() { }
};
struct X {
A a;
X();
X& operator=(const X& __str);
};
bool operator==(const X& __lhs, const char* __rhs);
int main() {
X x;
x=="" ? x : throw 1;
}
-------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-09 14:36:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14083