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:22:03 -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:22 -------
This only needs one header file:
-----------------
#include <string>
int main()
{
std::string s;
try {
s=="" ? s : throw 1;
} catch (...) {};
}
-----------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14083