http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46243
Summary: [4.6 Regression] expected tree that contains ‘decl
minimal’ structure, have ‘tree_list’ in start_decl, at
c-decl.c:4049
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I'm seeing the error on the following code:
void Y(Z); /* { dg-error "" "error before" } */
which is a modified version of gcc.dg/pr14963.c
pr14963.c:1:1: warning: parameter names (without types) in function declaration
[enabled by default]
pr14963.c:1:1: internal compiler error: tree check: expected tree that contains
‘decl minimal’ structure, have ‘tree_list’ in start_decl, at c-decl.c:4049
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.