[Bug c++/12515] [3.4 Regression] Use of ?: operator in templated class causes ICE

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 17 10:02:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list