struct foo {
 template <class T>
 void __attribute__((leafify)) bar() {}
};

void bar(void)
{
 foo f;
 f.bar<int>();
}


-- 
           Summary: [4.3 Regression] ICEs on unknown attributes on template
                    functions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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

Reply via email to