[Bug c++/61380] [4.8/4.9/4.10 Regression] internal compiler error: Segmentation fault
markus.ilmola at pp dot inet.fi
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 20:08:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61380
--- Comment #2 from Markus Ilmola <markus.ilmola at pp dot inet.fi> ---
I am not a c++ expert, but I think that the code should NOT compile.
The point of the code was to create a function template that only accepts
non-nested arrays (arrays with order of 1).
So F(c) should not compile. Only F(b) should compile.
Tested clang and vc++ (using http://rextester.com/runcode) and they both
compile only F(b) (and reject F(c)).
So bug here is the segmentation fault, not that the code was rejected (if you
can call segmentation fault a way of rejecting code)
More information about the Gcc-bugs
mailing list