[Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC

2010-09-18 Thread howarth at nitro dot med dot uc dot edu


--- 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=21829action=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



[Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC

2010-09-18 Thread howarth at nitro dot med dot uc dot edu


--- 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=21830action=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



[Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC

2010-09-18 Thread hjl dot tools at gmail dot com


--- 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



[Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC

2010-09-18 Thread howarth at nitro dot med dot uc dot edu


--- 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



[Bug c/45719] gcc.target/i386/pad-3.c scan-assembler-not nop fails at -m32 for-fPIC

2010-09-18 Thread hjl at gcc dot gnu dot org


--- 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=gccview=revrev=164395
Log:
Pass -fno-pic to gcc.target/i386/pad-3.c.

2010-09-18  H.J. Lu  hongjiu...@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