public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
@ 2005-01-02 16:58 ghazi at gcc dot gnu dot org
2005-01-02 17:04 ` [Bug target/19226] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-02 16:58 UTC (permalink / raw)
To: gcc-bugs
When running the GCC testsuite on i686-pc-linux-gnu using -fpic or -fPIC, I get
additional failures with 3.3, 3.4 and mainline:
FAIL: g++.old-deja/g++.pt/asm1.C (test for excess errors)
FAIL: g++.old-deja/g++.pt/asm2.C (test for excess errors)
as shown here:
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00029.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00085.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00084.html
Both of these tests fail like this:
g++.old-deja/g++.pt/asm1.C:6: error: can't find a register in class `BREG'
while reloading `asm'
Is there something to fix in the compiler, the testcase, or should the test be
bypassed when using -fpic/-fPIC ?
--
Summary: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -
fpic/-fPIC
Product: gcc
Version: 3.3.6
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ghazi at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
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=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
@ 2005-01-02 17:04 ` pinskia at gcc dot gnu dot org
2005-01-02 17:18 ` kghazi at verizon dot net
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-02 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-02 17:04 -------
Lets look at the testcases:
__asm__ __volatile__("addl %1, %0" : "=a" (v) : "b" (i));
Hmm, IIRC ebx is the PIC register so this should not be tested at all -fPIC/-fpic.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|inline-asm |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
2005-01-02 17:04 ` [Bug target/19226] " pinskia at gcc dot gnu dot org
@ 2005-01-02 17:18 ` kghazi at verizon dot net
2005-01-03 15:11 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: kghazi at verizon dot net @ 2005-01-02 17:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kghazi at verizon dot net 2005-01-02 17:18 -------
Subject: Re: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
I'm not familiar with inline asm, what exactly in the testcase reveals that
ebx will be used?
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
2005-01-02 17:04 ` [Bug target/19226] " pinskia at gcc dot gnu dot org
2005-01-02 17:18 ` kghazi at verizon dot net
@ 2005-01-03 15:11 ` pinskia at gcc dot gnu dot org
2005-01-05 16:38 ` ghazi at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-03 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-03 15:11 -------
(In reply to comment #2)
> Subject: Re: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
>
> I'm not familiar with inline asm, what exactly in the testcase reveals that
> ebx will be used?
The b constraint in ("b") says that this is going to use the ebx register.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-03 15:11:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-01-03 15:11 ` pinskia at gcc dot gnu dot org
@ 2005-01-05 16:38 ` ghazi at gcc dot gnu dot org
2005-01-06 2:37 ` ghazi at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-05 16:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ghazi at gcc dot gnu dot org 2005-01-05 16:38 -------
Patch submitted here.
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00284.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-01-05 16:38 ` ghazi at gcc dot gnu dot org
@ 2005-01-06 2:37 ` ghazi at gcc dot gnu dot org
2005-01-06 5:52 ` [Bug target/19226] [3.4 only] " pinskia at gcc dot gnu dot org
2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-06 2:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ghazi at gcc dot gnu dot org 2005-01-06 02:37 -------
Installed on mainline, waiting for dg-skip-if before propagating to branches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] [3.4 only] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-01-06 2:37 ` ghazi at gcc dot gnu dot org
@ 2005-01-06 5:52 ` pinskia at gcc dot gnu dot org
2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-06 5:52 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.0.0
Summary|ICE in g++.old- |[3.4 only] ICE in g++.old-
|deja/g++.pt/asm1.C and |deja/g++.pt/asm1.C and
|asm2.C with -fpic/-fPIC |asm2.C with -fpic/-fPIC
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] [3.4 only] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-01-06 5:52 ` [Bug target/19226] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] [3.4 only] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
[not found] <bug-19226-578@http.gcc.gnu.org/bugzilla/>
2005-10-07 3:45 ` gdr at gcc dot gnu dot org
@ 2005-11-30 23:36 ` ghazi at gcc dot gnu dot org
1 sibling, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-11-30 23:36 UTC (permalink / raw)
To: gcc-bugs
--
ghazi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ghazi at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-04-07 06:28:35 |2005-11-30 23:36:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19226] [3.4 only] ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC
[not found] <bug-19226-578@http.gcc.gnu.org/bugzilla/>
@ 2005-10-07 3:45 ` gdr at gcc dot gnu dot org
2005-11-30 23:36 ` ghazi at gcc dot gnu dot org
1 sibling, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-10-07 3:45 UTC (permalink / raw)
To: gcc-bugs
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.5 |3.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-11-30 23:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-02 16:58 [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC ghazi at gcc dot gnu dot org
2005-01-02 17:04 ` [Bug target/19226] " pinskia at gcc dot gnu dot org
2005-01-02 17:18 ` kghazi at verizon dot net
2005-01-03 15:11 ` pinskia at gcc dot gnu dot org
2005-01-05 16:38 ` ghazi at gcc dot gnu dot org
2005-01-06 2:37 ` ghazi at gcc dot gnu dot org
2005-01-06 5:52 ` [Bug target/19226] [3.4 only] " pinskia at gcc dot gnu dot org
2005-05-19 17:42 ` mmitchel at gcc dot gnu dot org
[not found] <bug-19226-578@http.gcc.gnu.org/bugzilla/>
2005-10-07 3:45 ` gdr at gcc dot gnu dot org
2005-11-30 23:36 ` ghazi 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).