------- Comment #1 from zsojka at seznam dot cz  2010-03-15 21:09 -------
Created an attachment (id=20113)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20113&action=view)
different problem

This is probably related problem.

It fails in trunk with:
$ /mnt/svn/gcc-trunk/binary-157460-lto/bin/gcc pr43384-2.c 
pr43384-2.c: In function 'foo':
pr43384-2.c:2:1: error: parameter 'p' is initialized
pr43384-2.c:2:11: error: 'q' undeclared (first use in this function)
pr43384-2.c:2:11: note: each undeclared identifier is reported only once for
each function it appears in
pr43384-2.c:3:1: internal compiler error: tree check: expected tree that
contains 'decl minimal' structure, have 'error_mark' in
store_parm_decls_oldstyle, at c-decl.c:7668

And in 4.4 with:
$ /mnt/svn/gcc-4_4/binary-157395-enable-checking/bin/gcc pr43384-2.c 
pr43384-2.c: In function 'foo':
pr43384-2.c:2: error: parameter 'p' is initialized
pr43384-2.c:2: error: 'q' undeclared (first use in this function)
pr43384-2.c:2: error: (Each undeclared identifier is reported only once
pr43384-2.c:2: error: for each function it appears in.)
'
tree check: expected tree that contains 'decl minimal' structure, have
'error_mark' in c_tree_printer, at c-objc-common.c:109


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384

Reply via email to