public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55192] New: bfin generates invalid assembly
@ 2012-11-03 16:23 joel at gcc dot gnu.org
  2012-11-04  3:55 ` [Bug target/55192] " joel at gcc dot gnu.org
  2015-01-03 19:23 ` joel at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: joel at gcc dot gnu.org @ 2012-11-03 16:23 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: joel@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-03 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-03 16:23 [Bug c/55192] New: bfin generates invalid assembly joel at gcc dot gnu.org
2012-11-04  3:55 ` [Bug target/55192] " joel at gcc dot gnu.org
2015-01-03 19:23 ` joel at gcc dot gnu.org

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