This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61380] [4.8/4.9/4.10 Regression] internal compiler error: Segmentation fault
- From: "markus.ilmola at pp dot inet.fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jun 2014 20:08:30 +0000
- Subject: [Bug c++/61380] [4.8/4.9/4.10 Regression] internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-61380-4 at http dot gcc dot gnu dot org/bugzilla/>
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)