public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
@ 2013-10-21 23:05 su at cs dot ucdavis.edu
2013-10-22 21:14 ` [Bug tree-optimization/58831] " mikpelinux at gmail dot com
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: su at cs dot ucdavis.edu @ 2013-10-21 23:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Bug ID: 58831
Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu in
64-bit mode
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
The current gcc trunk and 4.8.x miscompiles the following code on x86_64-linux
at -O2 and -O3 in 64-bit mode.
This is a regression from 4.7.x.
I had hoped to reduce it even further, but it's the best I have so far.
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure
--enable-languages=c,c++,objc,obj-c++,fortran,lto --disable-werror
--enable-checking=release --with-gmp=/usr/local/gcc-trunk
--with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk
--with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk
Thread model: posix
gcc version 4.9.0 20131021 (experimental) [trunk revision 203907] (GCC)
$
$ gcc-trunk -m64 -O1 small.c; a.out
$ gcc-trunk -m32 -O2 small.c; a.out
$ gcc-4.7.3 -m64 -O2 small.c; a.out
$
$ gcc-trunk -m64 -O2 small.c; a.out
a.out: small.c:14: fn1: Assertion `r' failed.
Aborted (core dumped)
$ gcc-trunk -m64 -O3 small.c; a.out
a.out: small.c:14: fn1: Assertion `r' failed.
Aborted (core dumped)
$
$ gcc-4.8.2 -m64 -O2 small.c; a.out
a.out: small.c:14: fn1: Assertion `r' failed.
Aborted (core dumped)
$ gcc-4.8.2 -m64 -O3 small.c; a.out
a.out: small.c:14: fn1: Assertion `r' failed.
Aborted (core dumped)
$
--------------------------------
#include<assert.h>
int a, *b, c, d, f, **i, p, q, *r;
short o, j;
static int
fn1 (int *p1, int **p2)
{
int **e = &b;
for (; p; p++)
*p1 = 1;
*e = *p2 = &d;
assert(r);
return c;
}
static int **
fn2 ()
{
for (f = 0; f != 42; f++)
{
int *g[3] = {0, 0, 0};
for (o = 0; o; o--)
for (; a > 1;)
{
int **h[1] = { &g[2] };
}
}
return &r;
}
static short
fn3 ()
{
for (; q < 1;)
return 0;
fn2 ();
fn1 (0, 0);
return 0;
}
int
main ()
{
i = fn2 ();
j = fn1 (b, i);
fn3 ();
return 0;
}
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/58831] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
@ 2013-10-22 21:14 ` mikpelinux at gmail dot com
2013-10-23 8:19 ` [Bug tree-optimization/58831] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mikpelinux at gmail dot com @ 2013-10-22 21:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Started with r196174.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
2013-10-22 21:14 ` [Bug tree-optimization/58831] " mikpelinux at gmail dot com
@ 2013-10-23 8:19 ` rguenth at gcc dot gnu.org
2013-10-23 11:19 ` [Bug rtl-optimization/58831] " rguenth at gcc dot gnu.org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23 8:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-10-23
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Target Milestone|--- |4.8.3
Summary|wrong code at -O2 and -O3 |[4.8/4.9 Regression] wrong
|on x86_64-linux-gnu in |code at -O2 and -O3 on
|64-bit mode |x86_64-linux-gnu in 64-bit
| |mode
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
2013-10-22 21:14 ` [Bug tree-optimization/58831] " mikpelinux at gmail dot com
2013-10-23 8:19 ` [Bug tree-optimization/58831] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
@ 2013-10-23 11:19 ` rguenth at gcc dot gnu.org
2013-10-23 11:39 ` rguenth at gcc dot gnu.org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23 11:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |rtl-optimization
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's instruction scheduling which in fn1 changes
.L8:
movq $d, (%rsi)
movq $d, b(%rip)
cmpq $0, r(%rip)
je .L15 // assert-fail
to
.L8:
cmpq $0, r(%rip)
movq $d, (%rsi)
movq $d, b(%rip)
je .L15
but %rsi points to r. Before sched2 we have
(note 22 21 23 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
(insn 23 22 24 4 (set (mem/f:DI (reg/v/f:DI 4 si [orig:90 p2 ] [90]) [3
*p2_9(D)+0 S8 A64])
(symbol_ref:DI ("d") <var_decl 0x7f8900812720 d>)) t.c:12 85
{*movdi_internal}
(expr_list:REG_DEAD (reg/v/f:DI 4 si [orig:90 p2 ] [90])
(nil)))
(insn 24 23 25 4 (set (mem/f/c:DI (symbol_ref:DI ("b") <var_decl
0x7f89008125f0 b>) [3 b+0 S8 A64])
(symbol_ref:DI ("d") <var_decl 0x7f8900812720 d>)) t.c:12 85
{*movdi_internal}
(nil))
(insn 25 24 26 4 (set (reg:CCZ 17 flags)
(compare:CCZ (mem/f/c:DI (symbol_ref:DI ("r") <var_decl 0x7f8900812a18
r>) [3 r+0 S8 A64])
(const_int 0 [0]))) t.c:14 4 {*cmpdi_ccno_1}
(nil))
(jump_insn 26 25 35 4 (set (pc)
seems to be dependent on code-changes in random places :/
Somewhat shorter testcase:
#include<assert.h>
int a, *b, c, d, f, **i, p, q, *r;
short o, j;
static int __attribute__((noinline, noclone))
fn1 (int *p1, int **p2)
{
int **e = &b;
for (; p; p++)
*p1 = 1;
*e = *p2 = &d;
assert (r);
return c;
}
static int ** __attribute__((noinline, noclone))
fn2 ()
{
for (f = 0; f != 42; f++)
{
int *g[3] = {0, 0, 0};
for (o = 0; o; o--)
for (; a > 1;)
{
int **h[1] = { &g[2] };
}
}
return &r;
}
int
main ()
{
i = fn2 ();
fn1 (b, i);
return 0;
}
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (2 preceding siblings ...)
2013-10-23 11:19 ` [Bug rtl-optimization/58831] " rguenth at gcc dot gnu.org
@ 2013-10-23 11:39 ` rguenth at gcc dot gnu.org
2013-10-23 11:42 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23 11:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, at some point during DSE true_dependence_1 still returns true for
(mem/f/c:DI (symbol_ref:DI ("r") <var_decl 0x7ffff6e3ba18 r>) [3 r+0 S8 A64])
(mem/f:DI (reg/v/f:DI 90 [ p2 ]) [3 *p2_9(D)+0 S8 A64])
but later when sched2 asks (maybe the wrong question?) base_alias_check
says that for
Breakpoint 8, true_dependence_1 (mem=0x7ffff6e6c360, mem_mode=VOIDmode,
mem_addr=0x0, x=0x7ffff6e6c420, x_addr=0x0, mem_canonicalized=false)
at /space/rguenther/src/svn/trunk/gcc/alias.c:2520
2520 gcc_checking_assert (mem_canonicalized ? (mem_addr != NULL_RTX)
(mem/f:DI (reg/v/f:DI 4 si [orig:90 p2 ] [90]) [3 *p2_9(D)+0 S8 A64])
(mem/f/c:DI (symbol_ref:DI ("r") <var_decl 0x7ffff6e3ba18 r>) [3 r+0 S8 A64])
rtx mem_base = find_base_term (mem_addr);
if (! base_alias_check (x_addr, base, mem_addr, mem_base,
GET_MODE (x), mem_mode))
return 0;
we pass
(gdb) call debug_rtx (mem_base)
(symbol_ref/f:DI ("*.LC0") [flags 0x2] <var_decl 0x7ffff6e6b098 *.LC0>)
!? to it. find_base_term uses REG_BASE_VALUE which is initialized to the
above.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (3 preceding siblings ...)
2013-10-23 11:39 ` rguenth at gcc dot gnu.org
@ 2013-10-23 11:42 ` rguenth at gcc dot gnu.org
2013-10-25 9:21 ` ebotcazou at gcc dot gnu.org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-23 11:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
CC| |ebotcazou at gcc dot gnu.org
Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Deep RTL land - I'm out of here ;)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (4 preceding siblings ...)
2013-10-23 11:42 ` rguenth at gcc dot gnu.org
@ 2013-10-25 9:21 ` ebotcazou at gcc dot gnu.org
2013-10-25 9:24 ` ebotcazou at gcc dot gnu.org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-10-25 9:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Oct 25 09:21:11 2013
New Revision: 204055
URL: http://gcc.gnu.org/viewcvs?rev=204055&root=gcc&view=rev
Log:
PR rtl-optimization/58831
* alias.c (init_alias_analysis): At the beginning of each iteration, set
the reg_seen[N] bit if static_reg_base_value[N] is non-null.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr58831.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/alias.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (5 preceding siblings ...)
2013-10-25 9:21 ` ebotcazou at gcc dot gnu.org
@ 2013-10-25 9:24 ` ebotcazou at gcc dot gnu.org
2013-10-25 9:31 ` ebotcazou at gcc dot gnu.org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-10-25 9:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Oct 25 09:24:02 2013
New Revision: 204056
URL: http://gcc.gnu.org/viewcvs?rev=204056&root=gcc&view=rev
Log:
PR rtl-optimization/58831
* alias.c (init_alias_analysis): At the beginning of each iteration, set
the reg_seen[N] bit if static_reg_base_value[N] is non-null.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58831.c
- copied unchanged from r204055,
trunk/gcc/testsuite/gcc.c-torture/execute/pr58831.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/alias.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (6 preceding siblings ...)
2013-10-25 9:24 ` ebotcazou at gcc dot gnu.org
@ 2013-10-25 9:31 ` ebotcazou at gcc dot gnu.org
2013-10-25 10:09 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-10-25 9:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Thanks for reporting the problem.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (7 preceding siblings ...)
2013-10-25 9:31 ` ebotcazou at gcc dot gnu.org
@ 2013-10-25 10:09 ` rguenth at gcc dot gnu.org
2013-10-25 10:10 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-25 10:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 58865 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (8 preceding siblings ...)
2013-10-25 10:09 ` rguenth at gcc dot gnu.org
@ 2013-10-25 10:10 ` rguenth at gcc dot gnu.org
2013-10-25 10:12 ` [Bug rtl-optimization/58831] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-25 10:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 58685 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.7/4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (9 preceding siblings ...)
2013-10-25 10:10 ` rguenth at gcc dot gnu.org
@ 2013-10-25 10:12 ` rguenth at gcc dot gnu.org
2013-10-25 10:14 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-25 10:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to work| |4.8.3, 4.9.0
Resolution|FIXED |---
Target Milestone|4.8.3 |4.7.4
Summary|[4.8/4.9 Regression] wrong |[4.7/4.8/4.9 Regression]
|code at -O2 and -O3 on |wrong code at -O2 and -O3
|x86_64-linux-gnu in 64-bit |on x86_64-linux-gnu in
|mode |64-bit mode
Known to fail| |4.7.3, 4.8.2
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #11)
> *** Bug 58685 has been marked as a duplicate of this bug. ***
This last duplicate has a testcase that fails on the 4.7 branch as well,
adjusting target milestone and re-opened.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.7/4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (10 preceding siblings ...)
2013-10-25 10:12 ` [Bug rtl-optimization/58831] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org
@ 2013-10-25 10:14 ` rguenth at gcc dot gnu.org
2013-10-25 11:17 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-25 10:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 58832 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.7/4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (11 preceding siblings ...)
2013-10-25 10:14 ` rguenth at gcc dot gnu.org
@ 2013-10-25 11:17 ` ebotcazou at gcc dot gnu.org
2013-10-25 11:18 ` ebotcazou at gcc dot gnu.org
2013-10-28 7:10 ` su at cs dot ucdavis.edu
14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-10-25 11:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Oct 25 11:16:59 2013
New Revision: 204058
URL: http://gcc.gnu.org/viewcvs?rev=204058&root=gcc&view=rev
Log:
PR rtl-optimization/58831
* alias.c (init_alias_analysis): At the beginning of each iteration, set
the reg_seen[N] flag if static_reg_base_value[N] is non-null.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/execute/pr58831.c
- copied unchanged from r204056,
trunk/gcc/testsuite/gcc.c-torture/execute/pr58831.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/alias.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.7/4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (12 preceding siblings ...)
2013-10-25 11:17 ` ebotcazou at gcc dot gnu.org
@ 2013-10-25 11:18 ` ebotcazou at gcc dot gnu.org
2013-10-28 7:10 ` su at cs dot ucdavis.edu
14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-10-25 11:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed everywhere (and twice to be really sure :-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/58831] [4.7/4.8/4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
` (13 preceding siblings ...)
2013-10-25 11:18 ` ebotcazou at gcc dot gnu.org
@ 2013-10-28 7:10 ` su at cs dot ucdavis.edu
14 siblings, 0 replies; 16+ messages in thread
From: su at cs dot ucdavis.edu @ 2013-10-28 7:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58831
--- Comment #16 from Zhendong Su <su at cs dot ucdavis.edu> ---
(In reply to Eric Botcazou from comment #15)
> Fixed everywhere (and twice to be really sure :-)
Verified (also against the original tests). Thanks.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-10-28 7:10 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21 23:05 [Bug tree-optimization/58831] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode su at cs dot ucdavis.edu
2013-10-22 21:14 ` [Bug tree-optimization/58831] " mikpelinux at gmail dot com
2013-10-23 8:19 ` [Bug tree-optimization/58831] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-10-23 11:19 ` [Bug rtl-optimization/58831] " rguenth at gcc dot gnu.org
2013-10-23 11:39 ` rguenth at gcc dot gnu.org
2013-10-23 11:42 ` rguenth at gcc dot gnu.org
2013-10-25 9:21 ` ebotcazou at gcc dot gnu.org
2013-10-25 9:24 ` ebotcazou at gcc dot gnu.org
2013-10-25 9:31 ` ebotcazou at gcc dot gnu.org
2013-10-25 10:09 ` rguenth at gcc dot gnu.org
2013-10-25 10:10 ` rguenth at gcc dot gnu.org
2013-10-25 10:12 ` [Bug rtl-optimization/58831] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org
2013-10-25 10:14 ` rguenth at gcc dot gnu.org
2013-10-25 11:17 ` ebotcazou at gcc dot gnu.org
2013-10-25 11:18 ` ebotcazou at gcc dot gnu.org
2013-10-28 7:10 ` su at cs dot ucdavis.edu
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).