This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63615] [5 Regression] FAIL: gcc.target/i386/addr-sel-1.c
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Oct 2014 02:27:52 +0000
- Subject: [Bug target/63615] [5 Regression] FAIL: gcc.target/i386/addr-sel-1.c
- Auto-submitted: auto-generated
- References: <bug-63615-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63615
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Breakpoint 1, simplify_plus_minus (code=code@entry=PLUS,
mode=mode@entry=SImode, op0=op0@entry=0x7ffff6d4b558,
op1=op1@entry=0x7ffff6d483a8) at /src/gcc-virgin/gcc/simplify-rtx.c:3967
(gdb) p debug_rtx(op0)
(plus:SI (reg:SI 0 ax [96])
(const_int 1 [0x1]))
$1 = void
(gdb) p debug_rtx(op1)
(symbol_ref:SI ("a") <var_decl 0x7ffff6c2f900 a>)
$2 = void
Believe it or not, this PR is due to fixing the accounting of n_constants.
Previously seeing n_constants > 1 (which is wrong, there is only one int
constant above) set "canonicalized". Now, nothing sets "canonicalized" and
simplify_plus_minus exits with NULL.