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; 3+ 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] 3+ 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; 3+ 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] 3+ 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; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2010-08-26 11:13 UTC | newest]
Thread overview: 3+ 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
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).