public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "steven at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/13748] New: [tree-ssa] ICE for gcc.dg/20031222-1.c Date: Mon, 19 Jan 2004 21:21:00 -0000 [thread overview] Message-ID: <20040119212052.13748.steven@gcc.gnu.org> (raw) $ ../cc1 20031222-1.c -std=c99 f 20031222-1.c: In function `f': 20031222-1.c:12: error: parse error before "int" 20031222-1.c: At top level: 20031222-1.c:13: internal compiler error: in cgraph_expand_function, at cgraphunit.c:633 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ Also happens at -O*. Starting program: /home/steven/devel/ssabuild/gcc/cc1 -std=c99 20031222-1.c f 20031222-1.c: In function `f': 20031222-1.c:12: error: parse error before "int" Breakpoint 2, fancy_abort (file=0x84a9f80 "../../tree-ssa/gcc/cgraphunit.c", line=1075848328, function=0x84a9f80 "../../tree-ssa/gcc/cgraphunit.c") at ../../tree-ssa/ gcc/diagnostic.c:584 584 internal_error ("in %s, at %s:%d", function, trim_filename (file), line); (gdb) up #1 0x0839d643 in cgraph_expand_function (node=0x40202488) at ../../tree-ssa/ gcc/cgraphunit.c:633 633 abort (); (gdb) l 628 via lang_expand_decl_stmt. */ 629 (*lang_hooks.callgraph.expand_function) (decl); 630 631 /* Make sure that BE didn't gave up on compiling. */ 632 if (!TREE_ASM_WRITTEN (node->decl)) 633 abort (); 634 635 current_function_decl = NULL; 636 if (DECL_SAVED_TREE (node->decl) 637 && !cgraph_preserve_function_body_p (node->decl)) (gdb) bt #0 fancy_abort (file=0x84a9f80 "../../tree-ssa/gcc/cgraphunit.c", line=1075848328, function=0x84a9f80 "../../tree-ssa/gcc/cgraphunit.c") at ../../tree-ssa/ gcc/diagnostic.c:584 #1 0x0839d643 in cgraph_expand_function (node=0x40202488) at ../../tree-ssa/ gcc/cgraphunit.c:633 #2 0x0839d6c3 in cgraph_assemble_pending_functions () at ../../tree-ssa/gcc/ cgraphunit.c:143 #3 0x0839dcda in cgraph_finalize_function (decl=0x40200d24, nested=false) at ../../tree-ssa/gcc/cgraphunit.c:222 #4 0x08063c99 in finish_function () at ../../tree-ssa/gcc/c-decl.c:6209 #5 0x0804bcc3 in yyparse () at c-parse.y:349 #6 0x08051d6b in c_parse_file () at c-parse.y:2839 #7 0x0809443b in c_common_parse_file (set_yydebug=139108224) at ../../ tree-ssa/gcc/c-opts.c:1207 #8 0x0834d8ad in toplev_main (argc=139108224, argv=0x854fc09) at ../../ tree-ssa/gcc/toplev.c:1850 #9 0x40040d17 in __libc_start_main () from /lib/i686/libc.so.6 #10 0x08049a21 in _start () at ../sysdeps/i386/elf/start.S:102 (gdb) Tested cc1 was: GNU C version 3.5-tree-ssa 20040119 (merged 20040102) (i686-pc-linux-gnu) compiled by GNU C version 3.5-tree-ssa 20040119 (merged 20040102). I'm assigning this to Honza as a cgraph problem. -- Summary: [tree-ssa] ICE for gcc.dg/20031222-1.c Product: gcc Version: tree-ssa Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: c AssignedTo: hubicka at gcc dot gnu dot org ReportedBy: steven at gcc dot gnu dot org CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13748
next reply other threads:[~2004-01-19 21:21 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-01-19 21:21 steven at gcc dot gnu dot org [this message] 2004-01-19 22:20 ` [Bug c/13748] " pinskia at gcc dot gnu dot org 2004-01-20 2:38 ` pinskia at gcc dot gnu dot org 2004-01-25 1:38 ` pinskia at gcc dot gnu dot org 2004-01-25 21:08 ` cvs-commit at gcc dot gnu dot org 2004-01-25 21:08 ` pinskia 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=20040119212052.13748.steven@gcc.gnu.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: 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).