public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/29439] ICE in fold-const.c:1385 ( expected integer_cst, have var_decl in int_const_binop ) Date: Thu, 12 Oct 2006 19:46:00 -0000 [thread overview] Message-ID: <20061012194554.5739.qmail@sourceware.org> (raw) In-Reply-To: <bug-29439-7667@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from pluto at agmk dot net 2006-10-12 19:45 ------- cwd: ada/rts: $ ../../gnat1 -quiet -dumpbase a-stwifi.adb -O1 -fwrapv -ftree-vrp \ -gnatpg a-stwifi.adb -o a-stwifi.s (gdb) bt #0 int_const_binop (code=PLUS_EXPR, arg1=0x2b8302f027b0, arg2=0x2b8302f02810, notrunc=0) at ../../gcc/fold-const.c:1385 #1 0x000000000077c1e0 in round_up (value=0x2b8302f027b0, divisor=8) at ../../gcc/fold-const.c:12841 #2 0x000000000090a7ea in finalize_type_size (type=0x2b8302f0f160) at ../../gcc/stor-layout.c:1431 #3 0x000000000090e2a4 in layout_type (type=0x2b8302f0f160) at ../../gcc/stor-layout.c:1861 #4 0x000000000090ee38 in make_signed_type (precision=<value optimized out>) at ../../gcc/stor-layout.c:1881 #5 0x000000000092433e in build_common_tree_nodes (signed_char=1 '\001', signed_sizetype=<value optimized out>) at ../../gcc/tree.c:6460 #6 0x0000000000423e00 in gnat_init_decl_processing () at ../../gcc/ada/utils.c:405 #7 0x000000000041bc9e in gnat_init () at ../../gcc/ada/misc.c:421 #8 0x0000000000912d1a in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/toplev.c:1900 #9 0x00002b8302cf0134 in __libc_start_main () from /lib64/libc.so.6 #10 0x00000000004030e9 in _start () (gdb) c debug_tree(arg1) <integer_cst 0x2b3a2e1c47b0 type <integer_type 0x2b3a2e1d10b0> constant invariant 8> Value can't be converted to integer. (gdb) c debug_tree(arg2) <integer_cst 0x2b3a2e1c4810 type <integer_type 0x2b3a2e1d10b0> constant invariant 7> -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29439
next prev parent reply other threads:[~2006-10-12 19:46 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-12 13:00 [Bug other/29439] New: " pluto at agmk dot net 2006-10-12 14:30 ` [Bug other/29439] " rguenth at gcc dot gnu dot org 2006-10-12 14:38 ` pluto at agmk dot net 2006-10-12 19:46 ` pluto at agmk dot net [this message] 2006-10-15 18:02 ` [Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp pluto at agmk dot net 2006-10-15 18:02 ` pluto at agmk dot net 2006-10-15 18:35 ` [Bug middle-end/29439] [4.2 regression] " pinskia at gcc dot gnu dot org 2006-10-15 18:56 ` [Bug tree-optimization/29439] " pinskia at gcc dot gnu dot org 2006-10-15 21:27 ` mmitchel at gcc dot gnu dot org 2006-10-15 21:30 ` pinskia at gcc dot gnu dot org 2006-10-16 0:15 ` pinskia at gcc dot gnu dot org 2006-10-17 7:35 ` mmitchel at gcc dot gnu dot org 2006-10-18 9:34 ` pluto at agmk dot net 2006-10-18 10:00 ` rguenth at gcc dot gnu dot org 2006-11-06 23:25 ` [Bug tree-optimization/29439] [4.2/4.3 " pinskia at gcc dot gnu dot org 2006-11-06 23:25 ` [Bug tree-optimization/29439] [4.2 " pinskia at gcc dot gnu dot org 2006-11-12 1:57 ` pinskia at gcc dot gnu dot org 2006-11-13 14:46 ` pinskia at gcc dot gnu dot org 2006-11-13 14:46 ` pinskia at gcc dot gnu dot org 2006-12-01 0:09 ` chaoyingfu 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=20061012194554.5739.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: 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).