public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/43384] [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like declaration related to labels
Date: Mon, 15 Mar 2010 21:09:00 -0000	[thread overview]
Message-ID: <20100315210906.13324.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43384-14164@http.gcc.gnu.org/bugzilla/>



------- 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	other threads:[~2010-03-15 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 20:44 [Bug c/43384] New: " zsojka at seznam dot cz
2010-03-15 21:09 ` zsojka at seznam dot cz [this message]
2010-03-16 11:49 ` [Bug c/43384] [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like code rguenth at gcc dot gnu dot org
2010-03-17 15:19 ` rguenth at gcc dot gnu dot org
2010-03-24 13:49 ` zsojka at seznam dot cz
2010-05-22 18:35 ` [Bug c/43384] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100315210906.13324.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).