public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: gcc-gnats@gcc.gnu.org
Subject: c/9818: ICE after syntax error in C99 mode
Date: Sun, 23 Feb 2003 16:56:00 -0000	[thread overview]
Message-ID: <E18mzKz-0002ev-00@juist> (raw)


>Number:         9818
>Category:       c
>Synopsis:       ICE after syntax error in C99 mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 23 16:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Falk Hueffner
>Release:        3.4 20030213 (experimental)
>Organization:
>Environment:
System: Linux juist 2.5.59 #4 Sat Jan 18 12:46:41 CET 2003 alpha unknown unknown GNU/Linux
Architecture: alpha

	
host: alphaev68-unknown-linux-gnu
build: alphaev68-unknown-linux-gnu
target: alphaev68-unknown-linux-gnu
configured with: ../configure --with-gcc-version-trigger=/src/gcc-2003.02.13.hacked/gcc/version.c --no-create --no-recursion
>Description:
~% cat bug.c 
struct graph { };
void foo(void);

void permanentize_paw_del(struct graph *g) {
    for (int j = 0; j < 4; ++j) {
       if (foo()                /* Missing ) here */
           continue;
        g->foo = 0;             /* non-existent struct member */
    }
}
% gcc -std=c99 -c bug.c    
bug.c: In function `permanentize_paw_del':
bug.c:7: error: syntax error before "continue"
bug.c:8: error: structure has no member named `foo'
bug.c:9: internal compiler error: in genrtl_compound_stmt, at c-semantics.c:732
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2003-02-23 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-23 16:56 Falk Hueffner [this message]
2003-02-24 15:16 bangerth
2003-03-27 21:44 Nathanael Nerode
2003-05-13 13:41 ehrhardt

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=E18mzKz-0002ev-00@juist \
    --to=falk.hueffner@student.uni-tuebingen.de \
    --cc=gcc-gnats@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).