[Bug c++/67845] ICE on invalid use of const qualifier on x86_64-linux-gnu in merge_types, at cp/typeck.c:854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67845 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot gnu.org --- Comment #4 from Paolo Carlini --- Fixed.
[Bug c++/67845] ICE on invalid use of const qualifier on x86_64-linux-gnu in merge_types, at cp/typeck.c:854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67845 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Oct 29 13:12:45 2015 New Revision: 229523 URL: https://gcc.gnu.org/viewcvs?rev=229523=gcc=rev Log: /cp 2015-10-29 Paolo CarliniPR c++/67845 * decl.c (grokfndecl): In case of erroneous cv-qualified non-member functions consistently reset TREE_TYPE (decl) too. /testsuite 2015-10-29 Paolo Carlini PR c++/67845 * g++.dg/other/cv_func4.C: New. Added: trunk/gcc/testsuite/g++.dg/other/cv_func4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog
[Bug c++/67845] ICE on invalid use of const qualifier on x86_64-linux-gnu in merge_types, at cp/typeck.c:854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67845 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com Target Milestone|--- |6.0 --- Comment #2 from Paolo Carlini --- Mine.
[Bug c++/67845] ICE on invalid use of const qualifier on x86_64-linux-gnu in merge_types, at cp/typeck.c:854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67845 Paolo Carlini changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed||2015-10-22 Ever confirmed|0 |1
[Bug c++/67845] ICE on invalid use of const qualifier on x86_64-linux-gnu in merge_types, at cp/typeck.c:854
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67845 --- Comment #1 from Andrew Pinski --- >This is a regression from 5.2.x. No it is not because 5.2 does: > small.cc:4: confused by earlier errors, bailing out Which is just saying there was an ICE after an error had been produced :). --enable-checking disables that and the trunk defaults to that mode.