[Bug c++/48749] [4.6/4.7 Regression] internal compiler error: tree check: expected field_decl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48749 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #5 from Jason Merrill 2011-05-05 15:03:34 UTC --- Fixed.
[Bug c++/48749] [4.6/4.7 Regression] internal compiler error: tree check: expected field_decl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48749 --- Comment #4 from Jason Merrill 2011-05-05 02:51:06 UTC --- Author: jason Date: Thu May 5 02:51:01 2011 New Revision: 173414 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173414 Log: PR c++/48749 * class.c (resolves_to_fixed_type_p): Don't look closely in templates. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/conversion/base1.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/class.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
[Bug c++/48749] [4.6/4.7 Regression] internal compiler error: tree check: expected field_decl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48749 --- Comment #3 from Jason Merrill 2011-05-05 02:20:17 UTC --- Author: jason Date: Thu May 5 02:20:12 2011 New Revision: 173412 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173412 Log: PR c++/48749 * class.c (resolves_to_fixed_type_p): Don't look closely in templates. Added: trunk/gcc/testsuite/g++.dg/conversion/base1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/testsuite/ChangeLog
[Bug c++/48749] [4.6/4.7 Regression] internal compiler error: tree check: expected field_decl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48749 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |
[Bug c++/48749] [4.6/4.7 Regression] internal compiler error: tree check: expected field_decl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48749 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC||jakub at gcc dot gnu.org, ||jason at gcc dot gnu.org Target Milestone|4.7.0 |4.6.1 Summary|[4.7 Regression] internal |[4.6/4.7 Regression] |compiler error: tree check: |internal compiler error: |expected field_decl |tree check: expected ||field_decl --- Comment #2 from Jakub Jelinek 2011-05-04 08:54:07 UTC --- Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171461 The patch has been backported to 4.6 branch as well and if built with --enable-checking=yes, it ICEs there the same way. In: 5880case COMPONENT_REF: 5881 /* If this component is really a base class reference, then the field 5882 itself isn't definitive. */ 5883 if (DECL_FIELD_IS_BASE (TREE_OPERAND (instance, 1))) 5884return RECUR (TREE_OPERAND (instance, 0)); 5885 return RECUR (TREE_OPERAND (instance, 1)); instance is a COMPONENT_REF with type Pos, TREE_OPERAND (instance, 0) is INDIRECT_REF - *coords and TREE_OPERAND (instance, 1) is not FIELD_DECL, but IDENTIFIER_NODE pos.