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++/13092] New: Segfault in convert_nontype_argument


-----------------------------------------
struct S
{
   int i;
};

template<int S::*p>
struct X
{};

template <class T>
struct Foo
{
    X<&S::i> x;
};

template struct Foo<void>; 
-----------------------------------------
ptrmem7.C:13: internal compiler error: Segmentation fault
Please submit a full bug report,

Regression on the mainline wrt 3.3 branch. Can anybody run the regression 
hunter script on this?

-- 
           Summary: Segfault in convert_nontype_argument
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giovannibajo at libero dot it
                CC: gcc-bugs at gcc dot gnu dot org


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


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