public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36613] New: likely codegen bug
@ 2008-06-24 4:15 regehr at cs dot utah dot edu
2008-06-24 4:33 ` [Bug middle-end/36613] " pinskia at gcc dot gnu dot org
` (18 more replies)
0 siblings, 19 replies; 20+ messages in thread
From: regehr at cs dot utah dot edu @ 2008-06-24 4:15 UTC (permalink / raw)
To: gcc-bugs
This is seen on svn 137045.
[regehr@babel tmp27]$ current-gcc -O -fwrapv small.c -o small
[regehr@babel tmp27]$ ./small
0
[regehr@babel tmp27]$ current-gcc -Os -fwrapv small.c -o small
[regehr@babel tmp27]$ ./small
2
[regehr@babel gcc-current]$ current-gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --program-prefix=current-
--enable-languages=c,c++ --prefix=/home/regehr
Thread model: posix
gcc version 4.4.0 20080623 (experimental) (GCC)
#include <limits.h>
#include <stdio.h>
static inline int
lshift_s_s(int left, int right)
{
if ((left < 0)
|| (right < 0)
|| (right >= sizeof(int)*CHAR_BIT)
|| (left > (INT_MAX >> right))) {
/* Avoid undefined behavior. */
return left;
}
return left << right;
}
static inline unsigned int
lshift_u_u(unsigned int left, unsigned int right)
{
if ((right >= sizeof(unsigned int)*CHAR_BIT)
|| (left > (UINT_MAX >> right))) {
/* Avoid undefined behavior. */
return left;
}
return left << right;
}
static inline int
rshift_s_u(int left, unsigned int right)
{
if ((left < 0)
|| (right >= sizeof(int)*CHAR_BIT)) {
/* Avoid implementation-defined and undefined behavior. */
return left;
}
return left >> right;
}
int func_47(unsigned int p_48 ) ;
int func_47(unsigned int p_48 )
{
int tmp = lshift_u_u(p_48, p_48);
int tmp___0 = lshift_s_s(tmp, 1);
int tmp___1 = rshift_s_u(1 + p_48, tmp___0);
return (tmp___1);
}
int main(void)
{
int x = func_47(1);
printf("%d\n", x);
return 0;
}
--
Summary: likely codegen bug
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: regehr at cs dot utah dot edu
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/36613] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
@ 2008-06-24 4:33 ` pinskia at gcc dot gnu dot org
2008-06-24 11:43 ` [Bug middle-end/36613] [4.1/4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-24 4:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-24 04:32 -------
This worked with:
Using built-in specs.
Target: i386-apple-darwin8.11.1
Configured with: /Users/apinski/src/local/gcc/configure
--prefix=/Users/apinski/local-gcc --disable-multilib
Thread model: posix
gcc version 4.4.0 20080622 (experimental) [trunk revision 137020] (GCC)
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
2008-06-24 4:33 ` [Bug middle-end/36613] " pinskia at gcc dot gnu dot org
@ 2008-06-24 11:43 ` rguenth at gcc dot gnu dot org
2008-06-24 12:29 ` [Bug target/36613] " rguenth at gcc dot gnu dot org
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-06-24 11:42 -------
Fails since 4.1.0, still broken on the trunk.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |4.0.2 4.1.0
Known to work| |3.4.6 4.0.3 4.0.4
Last reconfirmed|0000-00-00 00:00:00 |2008-06-24 11:42:22
date| |
Summary|likely codegen bug |[4.1/4.2/4.3/4.4 Regression]
| |likely codegen bug
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
2008-06-24 4:33 ` [Bug middle-end/36613] " pinskia at gcc dot gnu dot org
2008-06-24 11:43 ` [Bug middle-end/36613] [4.1/4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2008-06-24 12:29 ` rguenth at gcc dot gnu dot org
2008-06-24 12:41 ` rguenth at gcc dot gnu dot org
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-06-24 12:28 -------
We expand
25 return left << right;
to
sall %cl, %ecx
but we initialized %ecx from
movb %dl, %cl
so later the comparison against zero fails due to the upper part of ecx
being uninitialized.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at gcc dot gnu dot org
Component|middle-end |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (2 preceding siblings ...)
2008-06-24 12:29 ` [Bug target/36613] " rguenth at gcc dot gnu dot org
@ 2008-06-24 12:41 ` rguenth at gcc dot gnu dot org
2008-06-25 11:52 ` rguenth at gcc dot gnu dot org
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-24 12:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-06-24 12:40 -------
Actually this may be a reload/df problem -- in reload we have
;; bb 4 artificial_defs: { }
;; bb 4 artificial_uses: { u-1(6){ }u-1(7){ }}
;; lr in 1 [dx] 6 [bp] 7 [sp] 20 [frame]
;; lr use 1 [dx] 6 [bp] 7 [sp]
;; lr def 2 [cx] 17 [flags]
;; live in 1 [dx] 6 [bp] 7 [sp] 20 [frame]
;; live gen 2 [cx]
;; live kill 17 [flags]
;; Pred edge 3 [50.0%] (fallthru)
(note:HI 14 13 15 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
(insn:HI 15 14 65 4 t.c:25 (parallel [
(set (reg/v:SI 2 cx [orig:58 p_48.12 ] [58])
(ashift:SI (reg/v:SI 2 cx [orig:58 p_48.12 ] [58])
(reg:QI 2 cx)))
(clobber (reg:CC 17 flags))
]) 459 {*ashlsi3_1} (nil))
but cx should be live in as it is used by the ashift.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (3 preceding siblings ...)
2008-06-24 12:41 ` rguenth at gcc dot gnu dot org
@ 2008-06-25 11:52 ` rguenth at gcc dot gnu dot org
2008-06-25 12:01 ` jakub at gcc dot gnu dot org
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-25 11:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-06-25 11:51 -------
Wrong code on primary arch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (4 preceding siblings ...)
2008-06-25 11:52 ` rguenth at gcc dot gnu dot org
@ 2008-06-25 12:01 ` jakub at gcc dot gnu dot org
2008-07-01 19:18 ` matz at gcc dot gnu dot org
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-25 12:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2008-06-25 12:00 -------
Simplified testcase (fails at -Os -m32):
/* PR target/36613 */
extern void abort (void);
static inline int
lshifts (int val, int cnt)
{
if (val < 0)
return val;
return val << cnt;
}
static inline unsigned int
lshiftu (unsigned int val, unsigned int cnt)
{
if (cnt >= sizeof (unsigned int) * __CHAR_BIT__
|| val > ((__INT_MAX__ * 2U) >> cnt))
return val;
return val << cnt;
}
static inline int
rshifts (int val, unsigned int cnt)
{
if (val < 0 || cnt >= sizeof (int) * __CHAR_BIT__)
return val;
return val >> cnt;
}
int
foo (unsigned int val)
{
return rshifts (1 + val, lshifts (lshiftu (val, val), 1));
}
int
main (void)
{
if (foo (1) != 0)
abort ();
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (5 preceding siblings ...)
2008-06-25 12:01 ` jakub at gcc dot gnu dot org
@ 2008-07-01 19:18 ` matz at gcc dot gnu dot org
2008-07-04 22:43 ` [Bug target/36613] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-07-01 19:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from matz at gcc dot gnu dot org 2008-07-01 19:17 -------
Blaeh. The bug is in code that is there since the dawn of revision control,
under a comment that starts with "... This is tricky ..." and ends with
"I am not sure whether the algorithm here is always right ...".
One thing after another. The problem is in insn 15 (with Jakubs testcase),
that effectively is:
p58 <- p63 << p63:QI
It so happens that p63 is allocated to $edx and p58 to $ecx. This is all
fine and would result in such insn: %ecx = %edx << %dl
Then find_reloads comes and determines that the insn as is is invalid:
1) The output and first input have to match and
2) the second input needs to be in
So, it generates the first reload to make op0 and op1 match.
in = inreg = (reg:SI dx)
out = outreg = (reg:SI cx)
inmode = outmode = SImode
class = GENERAL_REGS
type = RELOAD_OTHER
perfectly fine. find_reloads will also already set reg_rtx (i.e. the register
that is used to carry out the reload) to (reg:SI cx), also quite fine and
correct.
Then it tries to generate another reload to fit the "c" constraint for operand
2:
in = (subreg:QI (reg:SI dx))
out = 0
inmode = QImode
class = CREG
type = RELOAD_FOR_INPUT
Fairly early push_reload will substitute in (still a SUBREG) with the real
hardreg: in = (reg:QI dx). Then it tries to find a mergable reload, and
indeed finds the first one. That is also correct, the classes overlap,
the already assigned reg_rtx is member of that class (CREG) the types of
reloads are okay and so on.
Okay, so we don't generate a second reload for this operand, but simply reuse
the first one, so we have to merge the info of this to-be reload with the one
we have already. That for instance would widen the existing mode if our new
reload would be wider. See push_reload around line 1369 for what exactly
that merging does. Among the things it does, it also overwrites .in:
if (in != 0) {
...
rld[i].in = in;
rld[i].in_reg = in_reg;
}
This might look strange, but in itself is okay. It looks strange, because
our reload now looks like:
in = inreg = (reg:QI dx)
out = outreg = (reg:SI cx)
inmode = outmode = SImode
class = CREG
type = RELOAD_OTHER
reg_rtx = (reg:SI cx)
Note in particular that the .in reg is a QImode register, while the inmode
(and outmode) are still SImode. This in itself is still not incorrect,
if this reload would be emitted as a SImode register move (from dx to cx),
as requested by the modes of this reload all would work.
I.e. the .in (and hence .out) registers are not to be used as real register
references, but merely as container for the hardreg _numbers_ we want to use.
Now, if we're going to emit this reload we go over do_input_reload,
and right at the beginning we have this:
[ here old = rl->in; ]
if (old && reg_rtx)
{
enum machine_mode mode;
/* Determine the mode to reload in.
This is very tricky because we have three to choose from.
...
I am not sure whether the algorithm here is always right,
but it does the right things in those cases. */
mode = GET_MODE (old);
if (mode == VOIDmode)
mode = rl->inmode;
So, it determines the mode _from the .in member_ by default, and only uses
the mode from the reload when that one is a constant. Argh! This means we
are now emitting a QImode move only loading %cl from %dl, whereas we would
need to load all of %ecx from %edx. We emit this wrong reload insn, which
then later get's removed because we already have another reload %cl <- %dl
in the basic block before this one, which we are inheriting then. This just
confuses the analysis somewhat, but the problem really is this too narrow
reload.
This code originally comes from do_input_reload, which in turn has it from
emit_reload_insns, and had this comment already in r120 of reload1.c .
I see basically two ways to fix this:
1) make push_reload "merge" also the .in member, instead of just overwriting
it. By merging I mean that if rld.in and in are both registers (in which
case they have the same numbers already, as that is checked by
find_reusable_reload) that leave in the larger of the two. Same for
.out.
2) Change do_input_reload (and also do_output_reload) to listen
to inmode and outmode first, before looking at the mode of .in.
The comment above this looks scary and lists some problematic cases, but
given it's age I'm not at all sure if these indeed are still a problem.
I actually think that inmode and outmode are currently the most precise
descriptions of what this reload is about, unlike .in and .out whose
significance lies more or less in the reg number only.
(2) might be the harder change, as it would require also reinterpreting
anything in .in or .out in the mode, in case they don't match.
I checked that (1) fixes the testcase, maybe I'm regstrapping that, it's the
simpler change.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (6 preceding siblings ...)
2008-07-01 19:18 ` matz at gcc dot gnu dot org
@ 2008-07-04 22:43 ` jsm28 at gcc dot gnu dot org
2008-07-14 9:02 ` jakub at gcc dot gnu dot org
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jsm28 at gcc dot gnu dot org 2008-07-04 22:42 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
|likely codegen bug |likely codegen bug
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (7 preceding siblings ...)
2008-07-04 22:43 ` [Bug target/36613] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-07-14 9:02 ` jakub at gcc dot gnu dot org
2008-07-31 13:00 ` bonzini at gnu dot org
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-07-14 9:02 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uweigand at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |matz at gcc dot gnu dot org
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |07/msg00722.html
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (8 preceding siblings ...)
2008-07-14 9:02 ` jakub at gcc dot gnu dot org
@ 2008-07-31 13:00 ` bonzini at gnu dot org
2008-07-31 16:14 ` matz at gcc dot gnu dot org
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bonzini at gnu dot org @ 2008-07-31 13:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from bonzini at gnu dot org 2008-07-31 12:58 -------
Michael, any news?
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (9 preceding siblings ...)
2008-07-31 13:00 ` bonzini at gnu dot org
@ 2008-07-31 16:14 ` matz at gcc dot gnu dot org
2008-07-31 19:33 ` uweigand at gcc dot gnu dot org
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-07-31 16:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from matz at gcc dot gnu dot org 2008-07-31 16:13 -------
I submitted a patch here:
http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00722.html
but got no feedback or review.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (10 preceding siblings ...)
2008-07-31 16:14 ` matz at gcc dot gnu dot org
@ 2008-07-31 19:33 ` uweigand at gcc dot gnu dot org
2008-08-06 15:37 ` matz at gcc dot gnu dot org
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2008-07-31 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from uweigand at gcc dot gnu dot org 2008-07-31 19:31 -------
I'll have a look tomorrow ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3/4.4 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (11 preceding siblings ...)
2008-07-31 19:33 ` uweigand at gcc dot gnu dot org
@ 2008-08-06 15:37 ` matz at gcc dot gnu dot org
2008-08-11 8:14 ` [Bug target/36613] [4.2/4.3 " jakub at gcc dot gnu dot org
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-08-06 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from matz at gcc dot gnu dot org 2008-08-06 15:36 -------
Subject: Bug 36613
Author: matz
Date: Wed Aug 6 15:34:45 2008
New Revision: 138807
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138807
Log:
PR target/36613
* reload.c (push_reload): Merge in,out,in_reg,out_reg members
for reused reload, instead of overwriting them.
* gcc.target/i386/pr36613.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr36613.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reload.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (12 preceding siblings ...)
2008-08-06 15:37 ` matz at gcc dot gnu dot org
@ 2008-08-11 8:14 ` jakub at gcc dot gnu dot org
2008-08-11 9:50 ` rguenther at suse dot de
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-11 8:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jakub at gcc dot gnu dot org 2008-08-11 08:12 -------
Do you plan to commit this to 4.3 as well?
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4 Regression] |[4.2/4.3 Regression] likely
|likely codegen bug |codegen bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (13 preceding siblings ...)
2008-08-11 8:14 ` [Bug target/36613] [4.2/4.3 " jakub at gcc dot gnu dot org
@ 2008-08-11 9:50 ` rguenther at suse dot de
2008-08-11 15:13 ` uweigand at gcc dot gnu dot org
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenther at suse dot de @ 2008-08-11 9:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from rguenther at suse dot de 2008-08-11 09:48 -------
Subject: Re: [4.2/4.3 Regression] likely codegen bug
On Mon, 11 Aug 2008, jakub at gcc dot gnu dot org wrote:
> ------- Comment #13 from jakub at gcc dot gnu dot org 2008-08-11 08:12 -------
> Do you plan to commit this to 4.3 as well?
Ulrich asked for some time on the trunk (we have built all of our
packages against a patched 4.3 tree now with no appearant problems as
well).
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2/4.3 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (14 preceding siblings ...)
2008-08-11 9:50 ` rguenther at suse dot de
@ 2008-08-11 15:13 ` uweigand at gcc dot gnu dot org
2008-08-11 16:23 ` [Bug target/36613] [4.2 " matz at gcc dot gnu dot org
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2008-08-11 15:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from uweigand at gcc dot gnu dot org 2008-08-11 15:12 -------
(In reply to comment #14)
> Ulrich asked for some time on the trunk (we have built all of our
> packages against a patched 4.3 tree now with no appearant problems as
> well).
OK, in that case I have no further concern. I'll leave it up to you as
release manager to decide when you want it to go into 4.3 ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (15 preceding siblings ...)
2008-08-11 15:13 ` uweigand at gcc dot gnu dot org
@ 2008-08-11 16:23 ` matz at gcc dot gnu dot org
2008-08-11 16:24 ` matz at gcc dot gnu dot org
2008-08-11 16:24 ` matz at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-08-11 16:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from matz at gcc dot gnu dot org 2008-08-11 16:22 -------
committed as r138955 into 4_3 branch.
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.2/4.3 Regression] likely |[4.2 Regression] likely
|codegen bug |codegen bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (16 preceding siblings ...)
2008-08-11 16:23 ` [Bug target/36613] [4.2 " matz at gcc dot gnu dot org
@ 2008-08-11 16:24 ` matz at gcc dot gnu dot org
2008-08-11 16:24 ` matz at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-08-11 16:24 UTC (permalink / raw)
To: gcc-bugs
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.2 4.1.0 |4.0.2 4.1.0 4.3.1
Target Milestone|4.2.5 |4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug target/36613] [4.2 Regression] likely codegen bug
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
` (17 preceding siblings ...)
2008-08-11 16:24 ` matz at gcc dot gnu dot org
@ 2008-08-11 16:24 ` matz at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-08-11 16:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from matz at gcc dot gnu dot org 2008-08-11 16:23 -------
Subject: Bug 36613
Author: matz
Date: Mon Aug 11 16:22:00 2008
New Revision: 138955
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138955
Log:
PR target/36613
* reload.c (push_reload): Merge in,out,in_reg,out_reg members
for reused reload, instead of overwriting them.
* gcc.target/i386/pr36613.c: New testcase.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/pr36613.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/reload.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2008-08-11 16:24 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-24 4:15 [Bug c/36613] New: likely codegen bug regehr at cs dot utah dot edu
2008-06-24 4:33 ` [Bug middle-end/36613] " pinskia at gcc dot gnu dot org
2008-06-24 11:43 ` [Bug middle-end/36613] [4.1/4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2008-06-24 12:29 ` [Bug target/36613] " rguenth at gcc dot gnu dot org
2008-06-24 12:41 ` rguenth at gcc dot gnu dot org
2008-06-25 11:52 ` rguenth at gcc dot gnu dot org
2008-06-25 12:01 ` jakub at gcc dot gnu dot org
2008-07-01 19:18 ` matz at gcc dot gnu dot org
2008-07-04 22:43 ` [Bug target/36613] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-07-14 9:02 ` jakub at gcc dot gnu dot org
2008-07-31 13:00 ` bonzini at gnu dot org
2008-07-31 16:14 ` matz at gcc dot gnu dot org
2008-07-31 19:33 ` uweigand at gcc dot gnu dot org
2008-08-06 15:37 ` matz at gcc dot gnu dot org
2008-08-11 8:14 ` [Bug target/36613] [4.2/4.3 " jakub at gcc dot gnu dot org
2008-08-11 9:50 ` rguenther at suse dot de
2008-08-11 15:13 ` uweigand at gcc dot gnu dot org
2008-08-11 16:23 ` [Bug target/36613] [4.2 " matz at gcc dot gnu dot org
2008-08-11 16:24 ` matz at gcc dot gnu dot org
2008-08-11 16:24 ` matz at gcc dot gnu dot org
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).