This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10952] New: ICE (segfault) in redeclare_class_template at cp/pt.c:2999


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10952

           Summary: ICE (segfault) in redeclare_class_template at
                    cp/pt.c:2999
           Product: gcc
           Version: 3.4
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ehrhardt@mathematik.uni-ulm.de
                CC: gcc-bugs@gcc.gnu.org

The following piece of (obviously illegal) code ICEs all
versions of gcc since at least 2.95 without a prior error message:
------------- cut----------------
template < typename >
struct unary_transform_modifier ;
template <
class unary_transform_modifier
{
------------- cut----------------

    regards  Christian



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]