[Bug c++/13092] New: Segfault in convert_nontype_argument

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Nov 17 22:37:00 GMT 2003


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



More information about the Gcc-bugs mailing list