[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Apr 13 17:11:03 2016 New Revision: 234953 URL: https://gcc.gnu.org/viewcvs?rev=234953=gcc=rev Log: /cp 2016-04-13 Paolo CarliniPR c++/70635 * pt.c (resolve_typename_type): Fix typos in infinite recursion avoidance mechanism. /testsuite 2016-04-13 Paolo Carlini PR c++/70635 * g++.dg/parse/pr70635.C: New. Added: trunk/gcc/testsuite/g++.dg/parse/pr70635.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog
[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 --- Comment #3 from Paolo Carlini --- I think we can simply restrict the same_type_p call to type_decls with TREE_TYPE with CLASS_TYPE_P true or something very close. I'm testing a patch.
[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com
[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 Richard Biener changed: What|Removed |Added Priority|P3 |P2
[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 --- Comment #2 from Paolo Carlini --- It's an infinite recursion affecting the same_type_p call at parser.c:25125 which I added in that patch.
[Bug c++/70635] [4.9/5/6 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70635 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2016-04-12 CC||jakub at gcc dot gnu.org, ||paolo at gcc dot gnu.org Target Milestone|--- |4.9.4 Summary|ICE on (and rejects) valid |[4.9/5/6 Regression] ICE on |code on x86_64-linux-gnu: |(and rejects) valid code on |Segmentation fault (program |x86_64-linux-gnu: |cc1plus)|Segmentation fault (program ||cc1plus) Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- With -fpermissive -std=c++98 just warnings instead of errors are emitted, and the ICE starts with r204339.