http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55192
Bug #: 55192 Summary: bfin generates invalid assembly Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org Created attachment 28602 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28602 Tarball of preprocessed C and generated assembly When building newlib using the gcc-svn head, the compiler generates assembly language that cannot be assembled by the binutils cvs head or 2.22 xgcc (GCC) 4.8.0 20121103 (experimental) [trunk revision 193124] Attached are the preprocessed C code and generated assembly. This is sufficient to trip the issue: /home/joel/v850/tools/b-gcc-svn/./gcc/xgcc -B/home/joel/v850/tools/b-gcc-svn/./gcc/ -c -fno-builtin -g -O2 -fshort-enums bfin_test.c /opt/rtems-4.11/bin/bfin-rtems4.11-as bfin_test.s bfin_test.s: Assembler messages: bfin_test.s:416: Error: syntax error. Input text was .LBE54. bfin_test.s:416: Error: The original command was: /home/joel/v850/tools/b-gcc-svn/./gcc/xgcc -B/home/joel/v850/tools/b-gcc-svn/./gcc/ -nostdinc -B/home/joel/v850/tools/b-gcc-svn/bfin-rtems4.11/newlib/ -isystem /home/joel/v850/tools/b-gcc-svn/bfin-rtems4.11/newlib/targ-include -isystem /home/joel/v850/tools/gcc-svn/newlib/libc/include -B/home/joel/v850/install/bfin-rtems4.11/bin/ -B/home/joel/v850/install/bfin-rtems4.11/lib/ -isystem /home/joel/v850/install/bfin-rtems4.11/include -isystem /home/joel/v850/install/bfin-rtems4.11/sys-include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../gcc-svn/newlib/libc/stdio -D_COMPILING_NEWLIB -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -Wall -fno-builtin -g -O2 -fshort-enums -DINTEGER_ONLY -c ../../../../../gcc-svn/newlib/libc/stdio/vfprintf.c -E >bfin_test.c