This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12515] [3.4 Regression] Use of ?: operator in templated class causes ICE
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2003 10:02:48 -0000
- Subject: [Bug c++/12515] [3.4 Regression] Use of ?: operator in templated class causes ICE
- References: <20031005125406.12515.ahu@ds9a.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-17 10:02 -------
The original testcase doesn't crash anymore, but the even shorter one
in comment #2 still causes a segfault:
------------------------------------
template<int> void foo() { 0 ?: 0; }
------------------------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12515