public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/45413] New: gcc.target/i386/combine-mul.c fails on PIC targets
@ 2010-08-26 10:51 howarth at nitro dot med dot uc dot edu
2010-08-26 10:57 ` [Bug testsuite/45413] " bernds at gcc dot gnu dot org
2010-08-26 11:13 ` howarth at nitro dot med dot uc dot edu
0 siblings, 2 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-26 10:51 UTC (permalink / raw)
To: gcc-bugs
The scan-assembler-not "12345" test in gcc.target/i386/combine-mul.c fails on
x86_64-apple-darwin10 due to that target defaulting to -fPIC. Adding -fno-PIC
eliminates the failure. This testcase needs...
Index: gcc.target/i386/combine-mul.c
===================================================================
--- gcc.target/i386/combine-mul.c (revision 163561)
+++ gcc.target/i386/combine-mul.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-require-effective-target nonpic } */
/* { dg-final { scan-assembler-not "12345" } } */
static inline unsigned int myrnd (void)
--
Summary: gcc.target/i386/combine-mul.c fails on PIC targets
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: x86_64-apple-darwin10
GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/45413] gcc.target/i386/combine-mul.c fails on PIC targets
2010-08-26 10:51 [Bug testsuite/45413] New: gcc.target/i386/combine-mul.c fails on PIC targets howarth at nitro dot med dot uc dot edu
@ 2010-08-26 10:57 ` bernds at gcc dot gnu dot org
2010-08-26 11:13 ` howarth at nitro dot med dot uc dot edu
1 sibling, 0 replies; 6+ messages in thread
From: bernds at gcc dot gnu dot org @ 2010-08-26 10:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bernds at gcc dot gnu dot org 2010-08-26 10:57 -------
Ok, I could apply that, but why is it failing? What assembly output is being
produced for it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/45413] gcc.target/i386/combine-mul.c fails on PIC targets
2010-08-26 10:51 [Bug testsuite/45413] New: gcc.target/i386/combine-mul.c fails on PIC targets howarth at nitro dot med dot uc dot edu
2010-08-26 10:57 ` [Bug testsuite/45413] " bernds at gcc dot gnu dot org
@ 2010-08-26 11:13 ` howarth at nitro dot med dot uc dot edu
1 sibling, 0 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-26 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-08-26 11:13 -------
Created an attachment (id=21570)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21570&action=view)
assembly file for gcc.target/i386/combine-mul.c on x86_64-apple-darwin10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/45413] gcc.target/i386/combine-mul.c fails on PIC targets
[not found] <bug-45413-4@http.gcc.gnu.org/bugzilla/>
2011-01-17 2:35 ` danglin at gcc dot gnu.org
2011-03-07 18:07 ` mrs at gcc dot gnu.org
@ 2011-03-07 18:10 ` mrs at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: mrs at gcc dot gnu.org @ 2011-03-07 18:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
mrs@gcc.gnu.org <mrs at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |mrs at gcc dot gnu.org
Resolution| |FIXED
--- Comment #4 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2011-03-07 18:10:33 UTC ---
FIxed.
If there is a better incantation with:
/* { dg-options "-O2 -fno-PIC" { target i?86-apple-darwin* } } */
I'd be interested, but I tried that version out and didn't see a pass.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/45413] gcc.target/i386/combine-mul.c fails on PIC targets
[not found] <bug-45413-4@http.gcc.gnu.org/bugzilla/>
2011-01-17 2:35 ` danglin at gcc dot gnu.org
@ 2011-03-07 18:07 ` mrs at gcc dot gnu.org
2011-03-07 18:10 ` mrs at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: mrs at gcc dot gnu.org @ 2011-03-07 18:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
--- Comment #3 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2011-03-07 18:07:33 UTC ---
Author: mrs
Date: Mon Mar 7 18:07:31 2011
New Revision: 170744
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170744
Log:
2011-03-07 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/45413
* gcc.target/i386/combine-mul.c: Require nonpic.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/combine-mul.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/45413] gcc.target/i386/combine-mul.c fails on PIC targets
[not found] <bug-45413-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-17 2:35 ` danglin at gcc dot gnu.org
2011-03-07 18:07 ` mrs at gcc dot gnu.org
2011-03-07 18:10 ` mrs at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-01-17 2:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45413
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.17 00:56:47
CC| |danglin at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-07 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26 10:51 [Bug testsuite/45413] New: gcc.target/i386/combine-mul.c fails on PIC targets howarth at nitro dot med dot uc dot edu
2010-08-26 10:57 ` [Bug testsuite/45413] " bernds at gcc dot gnu dot org
2010-08-26 11:13 ` howarth at nitro dot med dot uc dot edu
[not found] <bug-45413-4@http.gcc.gnu.org/bugzilla/>
2011-01-17 2:35 ` danglin at gcc dot gnu.org
2011-03-07 18:07 ` mrs at gcc dot gnu.org
2011-03-07 18:10 ` mrs at gcc dot gnu.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).