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++/51714] [4.7 Regression] internal compiler error: Segmentation fault with -std=c++11


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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-31 01:55:04 UTC ---
This is enough:

template <typename T>
void Foo()
{
  true || !__extension__ ({ int verbose = 2; verbose <= 3; });
}

int main()
{
  Foo<int>();
}


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