http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60140

            Bug ID: 60140
           Summary: Cross compiler i386 atom fails - divtf3.c
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shenhan at google dot com
                CC: llozano at google dot com, wmi at google dot com

Created attachment 32099
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32099&action=edit
test case

Note - this only fails for google/gcc-4_8 branch.

Compilation failure while build cross compiler for i386 atom. 

To reproduce - 
  configure:
     ~/gcc.git/configure --disable-bootstrap --enable-languages='c,c++'
--disable-multilib --disable-libatomic     --disable-libmudflap
--disable-libssp --enable-libgomp --enable-__cxa_atexit
--enable-checking=release     --disable-libquadmath --disable-libitm
--enable-esp --with-arch=atom --with-tune=atom --enable-frame-pointer
  Build - 
     make -j40
  Compile a testcase - 
     ./gcc/xgcc -B./gcc -O2 -fpic -c -m32 ./divtf3.pp.c
  Output - 
     /divtf3.pp.c:64:1194: error: ‘asm’ operand has impossible constraints

Note divtf3.pp.c is actually a preprocessed file from libgcc/soft-fp/divtf3.c.

Reply via email to