public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "soundis at infa dot fi" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/44982] New: crash on invalid code if((a==1) ? (void) (0) : 1) Date: Mon, 19 Jul 2010 00:26:00 -0000 [thread overview] Message-ID: <bug-44982-19457@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1071 bytes --] otto@lonkero:~/code$ gcc bug.c -Wall bug.c: In function main: bug.c:5: error: void value not ignored as it ought to be bug.c:5: error: void value not ignored as it ought to be bug.c:5: confused by earlier errors, bailing out Preprocessed source stored into /tmp/ccoFNCjw.out file, please attach this to your bugreport. otto@lonkero:~/code$ cat /tmp/ccoFNCjw.out // /usr/lib/gcc/i486-linux-gnu/4.4.1/cc1 -quiet bug.c -D_FORTIFY_SOURCE=2 -quiet -dumpbase bug.c -mtune=generic -march=i486 -auxbase bug -Wall -fstack-protector -o - -frandom-seed=0 # 1 "bug.c" # 1 "<built-in>" # 1 "<command-line>" # 1 "bug.c" int main(void) { int a=1; if((a==1) ? (void) (0) : 1); return 0; } -- Summary: crash on invalid code if((a==1) ? (void) (0) : 1) Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: soundis at infa dot fi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44982
next reply other threads:[~2010-07-19 0:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-19 0:26 soundis at infa dot fi [this message] 2010-07-19 9:13 ` [Bug middle-end/44982] [4.3/4.4/4.5/4.6 Regression] ICE in get_narrower, at tree.c:7832 rguenth at gcc dot gnu dot org 2010-07-19 9:58 ` steven at gcc dot gnu dot org 2010-07-22 8:56 ` 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=bug-44982-19457@http.gcc.gnu.org/bugzilla/ \ --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: linkBe 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).