public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu @ 2005-01-05 19:25 ghazi at gcc dot gnu dot org 2005-01-05 19:27 ` [Bug inline-asm/19275] " pinskia at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: ghazi at gcc dot gnu dot org @ 2005-01-05 19:25 UTC (permalink / raw) To: gcc-bugs I'm seeing a testsuite regression on 3.4 and mainline when running with extra flags -fpic or -fPIC. The testcase does use ebx, however 3.3 manages to pass so somehow it can work and this is a regression. (The testcase is identical in all three branches.) http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00211.html http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00210.html http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00209.html I get this in the log file: FAIL: gcc.dg/20020919-1.c (test for errors, line 132) FAIL: gcc.dg/20020919-1.c (test for errors, line 177) FAIL: gcc.dg/20020919-1.c (test for errors, line 231) FAIL: gcc.dg/20020919-1.c (test for errors, line 244) FAIL: gcc.dg/20020919-1.c (test for excess errors) Excess errors: gcc.dg/20020919-1.c:132: error: PIC register '%ebx' clobbered in 'asm' gcc.dg/20020919-1.c:177: error: PIC register '%ebx' clobbered in 'asm' gcc.dg/20020919-1.c:186: error: PIC register '%ebx' clobbered in 'asm' gcc.dg/20020919-1.c:231: error: PIC register '%ebx' clobbered in 'asm' gcc.dg/20020919-1.c:244: error: PIC register '%ebx' clobbered in 'asm' -- Summary: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with - fpic/-fPIC on i686-pc-linux-gnu Product: gcc Version: 3.4.4 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=19275 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug inline-asm/19275] [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu 2005-01-05 19:25 [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org @ 2005-01-05 19:27 ` pinskia at gcc dot gnu dot org 2005-01-05 20:44 ` [Bug inline-asm/19275] [3.4/4.0] " pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-05 19:27 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-05 19:26 ------- These should be just skiped with -fPIC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19275 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug inline-asm/19275] [3.4/4.0] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu 2005-01-05 19:25 [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org 2005-01-05 19:27 ` [Bug inline-asm/19275] " pinskia at gcc dot gnu dot org @ 2005-01-05 20:44 ` pinskia at gcc dot gnu dot org 2005-01-05 21:43 ` ghazi at gcc dot gnu dot org 2005-01-05 21:57 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-05 20:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-05 20:44 ------- The error message is correct. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-01-05 20:44:00 date| | Summary|[3.4/4.0 regression] |[3.4/4.0] gcc.dg/20020919- |gcc.dg/20020919-1.c fails |1.c fails with -fpic/-fPIC |with -fpic/-fPIC on i686-pc-|on i686-pc-linux-gnu |linux-gnu | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19275 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug inline-asm/19275] [3.4/4.0] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu 2005-01-05 19:25 [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org 2005-01-05 19:27 ` [Bug inline-asm/19275] " pinskia at gcc dot gnu dot org 2005-01-05 20:44 ` [Bug inline-asm/19275] [3.4/4.0] " pinskia at gcc dot gnu dot org @ 2005-01-05 21:43 ` ghazi at gcc dot gnu dot org 2005-01-05 21:57 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: ghazi at gcc dot gnu dot org @ 2005-01-05 21:43 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ghazi at gcc dot gnu dot org 2005-01-05 21:42 ------- Is it a bug that 3.3 compiles it without a problem? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19275 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug inline-asm/19275] [3.4/4.0] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu 2005-01-05 19:25 [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-01-05 21:43 ` ghazi at gcc dot gnu dot org @ 2005-01-05 21:57 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-05 21:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-05 21:57 ------- (In reply to comment #3) > Is it a bug that 3.3 compiles it without a problem? Yes see PR 14128 for which it shows why this error was added. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19275 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-05 21:57 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-01-05 19:25 [Bug inline-asm/19275] New: [3.4/4.0 regression] gcc.dg/20020919-1.c fails with -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org 2005-01-05 19:27 ` [Bug inline-asm/19275] " pinskia at gcc dot gnu dot org 2005-01-05 20:44 ` [Bug inline-asm/19275] [3.4/4.0] " pinskia at gcc dot gnu dot org 2005-01-05 21:43 ` ghazi at gcc dot gnu dot org 2005-01-05 21:57 ` pinskia 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).