[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Paolo Carlini  ---
Done.

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465

--- Comment #3 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Thu Jun  9 12:02:17 2016
New Revision: 237258

URL: https://gcc.gnu.org/viewcvs?rev=237258=gcc=rev
Log:
/cp
2016-06-09  Paolo Carlini  

PR c++/71465
Revert:
2016-06-04  Paolo Carlini  

PR c++/70202
* parser.c (cp_parser_class_head): When xref_basetypes fails and
emits an error do not zero the type.

/testsuite
2016-06-09  Paolo Carlini  

PR c++/71465
* g++.dg/inherit/crash5.C: New.
Revert:
2016-06-04  Paolo Carlini  

PR c++/70202
* g++.dg/inherit/crash5.C: New.
* g++.dg/inherit/virtual1.C: Adjust.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/inherit/crash5.C
trunk/gcc/testsuite/g++.dg/inherit/virtual1.C

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #2 from Paolo Carlini  ---
Caused by my patchlet for c++/70202, I'm going to revert it (c++/70202 isn't a
regression) and close this one with a testcase.

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-06-09
 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed.

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465

Richard Biener  changed:

   What|Removed |Added

   Keywords||error-recovery,
   ||ice-on-invalid-code
   Target Milestone|--- |7.0
Summary|ICE on invalid C++ code |[7 Regression] ICE on
   |(with duplicate base) on|invalid C++ code (with
   |x86_64-linux-gnu: in|duplicate base) on
   |dfs_build_secondary_vptr_vt |x86_64-linux-gnu: in
   |t_inits, at cp/class.c:9075 |dfs_build_secondary_vptr_vt
   ||t_inits, at cp/class.c:9075