http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47795
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW AssignedTo|paolo.carlini at oracle dot |unassigned at gcc dot |com |gnu.org Summary|[4.5/4.6 Regression] |[4.5 Regression] internal |internal compiler error: |compiler error: tree check: |tree check: expected |expected record_type or |record_type or union_type |union_type or |or qual_union_type, have |qual_union_type, have |error_mark in |error_mark in |finish_non_static_data_memb |finish_non_static_data_memb |er, at cp/semantics.c:1513 |er, at cp/semantics.c:1513 --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-18 17:27:30 UTC --- Fixed for 4.6.0. The patch doesn't seem to work as-is in 4_5-branch: being just an ICE on invalid, I'm not going to further fiddle with that branch.