http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51400
             Bug #: 51400
           Summary: [c++0x] ICE with constexpr and attribute noreturn
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: reich...@gcc.gnu.org


The following valid(?) code snippet triggers an ICE since GCC 4.6.0:

=======================================================
constexpr int (*f)() __attribute__((noreturn)) = 0;
=======================================================

bug.cc:1:46: internal compiler error: in start_decl, at cp/decl.c:4515
Please submit a full bug report, [etc.]

Reply via email to