public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
@ 2010-09-18 14:59 howarth at nitro dot med dot uc dot edu
2010-09-18 15:01 ` [Bug c/45719] " howarth at nitro dot med dot uc dot edu
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-18 14:59 UTC (permalink / raw)
To: gcc-bugs
On x86_64-apple-darwin10, the new testcase failure...
FAIL: gcc.target/i386/pad-3.c scan-assembler-not nop
appears at -m32. The failure is suppressed if the testcase is compiled with
-fno-PIC.
--
Summary: gcc.target/i386/pad-3.c scan-assembler-not nop fails at
-m32 for-fPIC
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
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=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
@ 2010-09-18 15:01 ` howarth at nitro dot med dot uc dot edu
2010-09-18 15:02 ` howarth at nitro dot med dot uc dot edu
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-18 15:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-09-18 15:01 -------
Created an attachment (id=21829)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21829&action=view)
assembly file for /gcc.target/i386/pad-3.c at -m32 on x86_64-apple-darwin10
Assembly file generated with...
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100918/gcc/testsuite/gcc.target/i386/pad-3.c
-O2 -fomit-frame-pointer -march=atom -S -S -m32 --save-temps -o pad-3.s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
2010-09-18 15:01 ` [Bug c/45719] " howarth at nitro dot med dot uc dot edu
@ 2010-09-18 15:02 ` howarth at nitro dot med dot uc dot edu
2010-09-18 15:11 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-18 15:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-09-18 15:02 -------
Created an attachment (id=21830)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21830&action=view)
preprocessed source file for /gcc.target/i386/pad-3.c at -m32 on
x86_64-apple-darwin10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
2010-09-18 15:01 ` [Bug c/45719] " howarth at nitro dot med dot uc dot edu
2010-09-18 15:02 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-18 15:11 ` hjl dot tools at gmail dot com
2010-09-18 16:12 ` howarth at nitro dot med dot uc dot edu
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-18 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-09-18 15:11 -------
Does adding "-fno-pic" work on Darwin?
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
` (2 preceding siblings ...)
2010-09-18 15:11 ` hjl dot tools at gmail dot com
@ 2010-09-18 16:12 ` howarth at nitro dot med dot uc dot edu
2010-09-18 16:25 ` hjl at gcc dot gnu dot org
2010-09-18 16:27 ` [Bug testsuite/45719] " hjl dot tools at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-18 16:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from howarth at nitro dot med dot uc dot edu 2010-09-18 16:12 -------
(In reply to comment #3)
> Does adding "-fno-pic" work on Darwin?
>
Yes, -fno-pic also suppresses the nop's in the testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
` (3 preceding siblings ...)
2010-09-18 16:12 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-18 16:25 ` hjl at gcc dot gnu dot org
2010-09-18 16:27 ` [Bug testsuite/45719] " hjl dot tools at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-09-18 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl at gcc dot gnu dot org 2010-09-18 16:25 -------
Subject: Bug 45719
Author: hjl
Date: Sat Sep 18 16:24:50 2010
New Revision: 164395
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164395
Log:
Pass -fno-pic to gcc.target/i386/pad-3.c.
2010-09-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/45719
* gcc.target/i386/pad-3.c: Pass -fno-pic.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/pad-3.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
` (4 preceding siblings ...)
2010-09-18 16:25 ` hjl at gcc dot gnu dot org
@ 2010-09-18 16:27 ` hjl dot tools at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-18 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl dot tools at gmail dot com 2010-09-18 16:27 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Component|c |testsuite
Resolution| |FIXED
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45719
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-18 16:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 14:59 [Bug c/45719] New: gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC howarth at nitro dot med dot uc dot edu
2010-09-18 15:01 ` [Bug c/45719] " howarth at nitro dot med dot uc dot edu
2010-09-18 15:02 ` howarth at nitro dot med dot uc dot edu
2010-09-18 15:11 ` hjl dot tools at gmail dot com
2010-09-18 16:12 ` howarth at nitro dot med dot uc dot edu
2010-09-18 16:25 ` hjl at gcc dot gnu dot org
2010-09-18 16:27 ` [Bug testsuite/45719] " hjl dot tools at gmail dot com
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).