public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88
Date: Wed, 31 Oct 2012 11:26:00 -0000	[thread overview]
Message-ID: <bug-55142-4-IiigXqulEm@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55142-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-31 11:25:48 UTC ---
Breakpoint 7, fold_binary_loc (loc=2696, code=PLUS_EXPR, type=0x7ffff199e000, 
    op0=0x7ffff1ab8398, op1=0x7ffff1aa6660)
    at /export/gnu/import/git/gcc/gcc/fold-const.c:10058
10058            return tem;
(gdb) call debug_tree (arg0)
 <mult_expr 0x7ffff1ab6900
    type <integer_type 0x7ffff199e690 unsigned int public unsigned SI
        size <integer_cst 0x7ffff1989d40 constant 32>
        unit size <integer_cst 0x7ffff1989d60 constant 4>
        align 32 symtab 0 alias set -1 canonical type 0x7ffff199e690 precision
32 min <integer_cst 0x7ffff19a40c0 0> max <integer_cst 0x7ffff19a40a0
4294967295>
        pointer_to_this <pointer_type 0x7ffff19b60a8>>

    arg 0 <nop_expr 0x7ffff1ab8348 type <integer_type 0x7ffff199e690 unsigned
int>

        arg 0 <minus_expr 0x7ffff1ab6870 type <integer_type 0x7ffff1aa73f0
Elf32_Sword>

            arg 0 <integer_cst 0x7ffff1aa65a0 constant 1879047935>
            arg 1 <component_ref 0x7ffff1aba0e0 type <integer_type
0x7ffff1aa73f0 Elf32_Sword>

                arg 0 <indirect_ref 0x7ffff1ab82d0 type <record_type
0x7ffff1aa7540 Elf32_Dyn>
                    arg 0 <var_decl 0x7ffff1996280 dyn>
                    x.i:22:23> arg 1 <field_decl 0x7ffff19b3260 d_tag>
                x.i:22:23>
            x.i:22:18>>
    arg 1 <integer_cst 0x7ffff1aa6620 type <integer_type 0x7ffff199e690
unsigned int> constant 4>
    x.i:22:6>
(gdb) call debug_tree (arg1)
 <integer_cst 0x7ffff1aa6660 type <integer_type 0x7ffff199e000 sizetype>
constant 48>
(gdb) call debug_tree (tem)
 <plus_expr 0x7ffff1ab6990
    type <integer_type 0x7ffff199e000 sizetype public unsigned SI
        size <integer_cst 0x7ffff1989d40 constant 32>
        unit size <integer_cst 0x7ffff1989d60 constant 4>
        align 32 symtab 0 alias set -1 canonical type 0x7ffff199e000 precision
32 min <integer_cst 0x7ffff1989d80 0> max <integer_cst 0x7ffff1989000
4294967295>>

    arg 0 <mult_expr 0x7ffff1ab6960 type <integer_type 0x7ffff199e000 sizetype>

        arg 0 <nop_expr 0x7ffff1ab8438 type <integer_type 0x7ffff199e000
sizetype>

            arg 0 <component_ref 0x7ffff1aba0e0 type <integer_type
0x7ffff1aa73f0 Elf32_Sword>

                arg 0 <indirect_ref 0x7ffff1ab82d0 type <record_type
0x7ffff1aa7540 Elf32_Dyn>
                    arg 0 <var_decl 0x7ffff1996280 dyn>
                    x.i:22:23> arg 1 <field_decl 0x7ffff19b3260 d_tag>
                x.i:22:23>
            x.i:22:6>
        arg 1 <integer_cst 0x7ffff1aa66c0 constant 4294967292>>
    arg 1 <integer_cst 0x7ffff1aa66a0 type <integer_type 0x7ffff199e000
sizetype> constant 3221224492>>
(gdb) 

Integer constant multiply operand is signed.


  parent reply	other threads:[~2012-10-31 11:26 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31  2:05 [Bug middle-end/55142] New: " hjl.tools at gmail dot com
2012-10-31  2:21 ` [Bug middle-end/55142] " hjl.tools at gmail dot com
2012-10-31  8:26 ` hjl.tools at gmail dot com
2012-10-31  9:14 ` hjl.tools at gmail dot com
2012-10-31 10:19 ` hjl.tools at gmail dot com
2012-10-31 10:59 ` ebotcazou at gcc dot gnu.org
2012-10-31 11:09 ` hjl.tools at gmail dot com
2012-10-31 11:26 ` hjl.tools at gmail dot com [this message]
2012-10-31 12:20 ` hjl.tools at gmail dot com
2012-10-31 12:50 ` ebotcazou at gcc dot gnu.org
2012-10-31 13:12 ` hjl.tools at gmail dot com
2012-11-01  8:44 ` ebotcazou at gcc dot gnu.org
2012-11-01 12:51 ` [Bug target/55142] " ebotcazou at gcc dot gnu.org
2012-11-01 14:20 ` ebotcazou at gcc dot gnu.org
2012-11-01 22:24 ` [Bug middle-end/55142] " hjl.tools at gmail dot com
2012-11-01 22:30 ` hjl.tools at gmail dot com
2012-11-01 23:00 ` ebotcazou at gcc dot gnu.org
2012-11-01 23:08 ` hjl.tools at gmail dot com
2012-11-02 23:09 ` hjl.tools at gmail dot com
2012-11-03  2:51 ` hjl.tools at gmail dot com
2012-11-07 18:35 ` ebotcazou at gcc dot gnu.org
2012-11-07 22:12 ` hjl.tools at gmail dot com
2012-11-07 22:43 ` ebotcazou at gcc dot gnu.org
2012-11-07 23:04 ` hjl.tools at gmail dot com
2012-11-08 16:11 ` ebotcazou at gcc dot gnu.org
2012-11-08 16:24 ` ubizjak at gmail dot com
2012-11-08 16:34 ` ubizjak at gmail dot com
2012-11-08 17:18 ` ebotcazou at gcc dot gnu.org
2012-11-08 23:03 ` hjl.tools at gmail dot com
2012-11-08 23:22 ` ebotcazou at gcc dot gnu.org
2012-11-09  0:35 ` hjl.tools at gmail dot com
2012-11-09  2:36 ` hjl.tools at gmail dot com
2012-11-12  4:08 ` hjl.tools at gmail dot com
2012-11-13 14:17 ` ebotcazou at gcc dot gnu.org
2012-11-13 14:32 ` [Bug target/55142] " hjl.tools at gmail dot com
2012-11-13 18:21 ` hjl.tools at gmail dot com
2012-11-13 18:36 ` [Bug middle-end/55142] " hjl at gcc dot gnu.org
2012-11-13 19:37 ` ebotcazou at gcc dot gnu.org
2012-11-19 19:18 ` hjl at gcc dot gnu.org
2014-05-30  2:22 ` pinskia at gcc dot gnu.org
2014-05-30 22:47 ` pinskia at gcc dot gnu.org
2014-11-23  4:13 ` pinskia at gcc dot gnu.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-55142-4-IiigXqulEm@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: 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).