public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
@ 2010-05-17 19:22 jakub at gcc dot gnu dot org
2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-17 19:22 UTC (permalink / raw)
To: gcc-bugs
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" { target fpic } } */
int f0 (int, int, int, int, int);
int f1 (void);
void
f2 (void)
{
unsigned v1, v2, v3, v4;
__asm__ ("" : "=a" (v1), "=d" (v2), "=c" (v3), "=r" (v4));
f0 (f1 (), f1 (), f1 (), f1 (), (v4 >> 8) & 0xff);
}
used to compile with -m32 -O2 -fpic in 4.3, but starting with 4.4 fails with:
/tmp/u.c: In function 'void f2()':
/tmp/u.c:11:60: error: can't find a register in class 'CLOBBERED_REGS' while
reloading 'asm'
/tmp/u.c:11:60: error: 'asm' operand has impossible constraints
while it should be fine to use esi or edi for that.
--
Summary: [4.4/4.5/4.6 Regression] can't find a register in class
'CLOBBERED_REGS' while reloading 'asm'
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: i686-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
@ 2010-05-18 10:06 ` rguenth at gcc dot gnu dot org
2010-05-18 19:07 ` vmakarov at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-18 10:06 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
@ 2010-05-18 19:07 ` vmakarov at redhat dot com
2010-05-19 13:00 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: vmakarov at redhat dot com @ 2010-05-18 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from vmakarov at redhat dot com 2010-05-18 19:06 -------
It will be fixed by IRA without cover classes which I am working on. The code
is planned to be included in gcc4.6.
For older versions, it should be fixed in reload because I believe it is a
hidden reload bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
2010-05-18 19:07 ` vmakarov at redhat dot com
@ 2010-05-19 13:00 ` rguenth at gcc dot gnu dot org
2010-07-25 1:48 ` pinskia at gcc dot gnu dot org
2010-07-25 1:50 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-19 13:00 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-05-19 13:00 ` rguenth at gcc dot gnu dot org
@ 2010-07-25 1:48 ` pinskia at gcc dot gnu dot org
2010-07-25 1:50 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-25 1:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-25 01:48 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-25 01:48:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-07-25 1:48 ` pinskia at gcc dot gnu dot org
@ 2010-07-25 1:50 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-25 1:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-25 01:49 -------
*** Bug 44018 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lloyd at randombit dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2012-01-24 5:14 ` pinskia at gcc dot gnu.org
@ 2012-01-24 13:20 ` ro at CeBiTec dot Uni-Bielefeld.DE
7 siblings, 0 replies; 14+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-01-24 13:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
--- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-01-24 12:55:38 UTC ---
> --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-24 01:29:40 UTC ---
> Since this was fixed on the trunk, can you remove the xfail?
I already did so in April last year.
Rainer
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2011-02-02 18:07 ` dnovillo at gcc dot gnu.org
@ 2012-01-24 5:14 ` pinskia at gcc dot gnu.org
2012-01-24 13:20 ` ro at CeBiTec dot Uni-Bielefeld.DE
7 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-24 5:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4/4.5/4.6/4.7 |[4.4/4.5/4.6 Regression]
|Regression] can't find a |can't find a register in
|register in class |class 'CLOBBERED_REGS'
|'CLOBBERED_REGS' while |while reloading 'asm'
|reloading 'asm' |
--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-24 01:29:40 UTC ---
Since this was fixed on the trunk, can you remove the xfail?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2011-01-28 14:57 ` ebotcazou at gcc dot gnu.org
@ 2011-02-02 18:07 ` dnovillo at gcc dot gnu.org
2012-01-24 5:14 ` pinskia at gcc dot gnu.org
2012-01-24 13:20 ` ro at CeBiTec dot Uni-Bielefeld.DE
7 siblings, 0 replies; 14+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-02-02 18:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
--- Comment #11 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:56:42 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:56:39 2011
New Revision: 169645
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169645
Log:
PR rtl-optimization/44174
* gcc.target/i386/asm-6.c: New test.
Added:
branches/google/integration/gcc/testsuite/gcc.target/i386/asm-6.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2011-01-28 13:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2011-01-28 14:57 ` ebotcazou at gcc dot gnu.org
2011-02-02 18:07 ` dnovillo at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-28 14:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-28 14:29:30 UTC ---
> Ok for mainline (I'll post to gcc-patches anyway)?
Sure, thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2011-01-28 13:40 ` ebotcazou at gcc dot gnu.org
@ 2011-01-28 13:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-28 14:57 ` ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-01-28 13:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-01-28 13:04:36 UTC ---
> --- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-28 12:45:43 UTC ---
>> You're right: I somehow misread the PR and though the test had already
>> been introduced in november last year.
>
> It did pass with GCC 4.3 on Solaris too so this is a regression. Can you XFAIL
> it on Solaris for the time being?
Sure. The following patch does this:
2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/asm-6.c: XFAIL on i?86-pc-solaris2.1[0-9] && ilp32.
diff -r a1670fd752ff gcc/testsuite/gcc.target/i386/asm-6.c
--- a/gcc/testsuite/gcc.target/i386/asm-6.c Thu Jan 27 20:26:26 2011 +0100
+++ b/gcc/testsuite/gcc.target/i386/asm-6.c Fri Jan 28 14:03:13 2011 +0100
@@ -3,6 +3,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" { target fpic } } */
+/* { dg-xfail-if "" { i?86-pc-solaris2.1[0-9] && ilp32 } } */
int f0 (int, int, int, int, int);
int f1 (void);
Ok for mainline (I'll post to gcc-patches anyway)?
Rainer
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:46 ` jakub at gcc dot gnu.org
2011-01-27 10:46 ` ebotcazou at gcc dot gnu.org
@ 2011-01-28 13:40 ` ebotcazou at gcc dot gnu.org
2011-01-28 13:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (4 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-28 13:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4/4.5 Regression] can't |[4.4/4.5/4.6 Regression]
|find a register in class |can't find a register in
|'CLOBBERED_REGS' while |class 'CLOBBERED_REGS'
|reloading 'asm' |while reloading 'asm'
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-28 12:45:43 UTC ---
> You're right: I somehow misread the PR and though the test had already
> been introduced in november last year.
It did pass with GCC 4.3 on Solaris too so this is a regression. Can you XFAIL
it on Solaris for the time being?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:46 ` jakub at gcc dot gnu.org
@ 2011-01-27 10:46 ` ebotcazou at gcc dot gnu.org
2011-01-28 13:40 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-27 10:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-27 08:39:39 UTC ---
Author: ebotcazou
Date: Thu Jan 27 08:39:33 2011
New Revision: 169325
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169325
Log:
PR rtl-optimization/44174
* gcc.target/i386/asm-6.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/asm-6.c
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-01 11:46 ` jakub at gcc dot gnu.org
2011-01-27 10:46 ` ebotcazou at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-01 11:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.5 |4.4.6
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-01-24 12:56 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu dot org
2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
2010-05-18 19:07 ` vmakarov at redhat dot com
2010-05-19 13:00 ` rguenth at gcc dot gnu dot org
2010-07-25 1:48 ` pinskia at gcc dot gnu dot org
2010-07-25 1:50 ` pinskia at gcc dot gnu dot org
[not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:46 ` jakub at gcc dot gnu.org
2011-01-27 10:46 ` ebotcazou at gcc dot gnu.org
2011-01-28 13:40 ` ebotcazou at gcc dot gnu.org
2011-01-28 13:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-28 14:57 ` ebotcazou at gcc dot gnu.org
2011-02-02 18:07 ` dnovillo at gcc dot gnu.org
2012-01-24 5:14 ` pinskia at gcc dot gnu.org
2012-01-24 13:20 ` ro at CeBiTec dot Uni-Bielefeld.DE
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).