public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/55194] New: h8300 ICE during conftest in libgcc dwarf2out:7605
@ 2012-11-03 16:39 joel at gcc dot gnu.org
  2012-11-03 17:07 ` [Bug target/55194] " joel at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: joel at gcc dot gnu.org @ 2012-11-03 16:39 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55194
           Summary: h8300 ICE during conftest in libgcc dwarf2out:7605
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: joel@gcc.gnu.org


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]

This is enough to trip the bug:

/home/joel/v850/tools/b-gcc-svn/./gcc/xgcc
-B/home/joel/v850/tools/b-gcc-svn/./gcc/ -c -O2 -g h8300_bug.c 

Dropping the -g is sufficient to let it compile.

Test case is very basic:

int main(int argc, char **argv)
{
  return 0;
}

The full command line:

configure:3374:  /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/h8300-rtems4.11/newlib/ -isystem
/home/joel/v850/tools/b-gcc-svn/h8300-rtems4.11/newlib/targ-include -isystem
/home/joel/v850/tools/gcc-svn/newlib/libc/include
-B/home/joel/v850/install/h8300-rtems4.11/bin/
-B/home/joel/v850/install/h8300-rtems4.11/lib/ -isystem
/home/joel/v850/install/h8300-rtems4.11/include -isystem
/home/joel/v850/install/h8300-rtems4.11/sys-include    -o conftest -g -O2  
conftest.c  >&5
conftest.c:16:1: internal compiler error: in value_format, at dwarf2out.c:7605
 }
 ^
0x8266d9f value_format
        ../../gcc-svn/gcc/dwarf2out.c:7605
0x8284966 output_value_format
        ../../gcc-svn/gcc/dwarf2out.c:7618
0x8284966 output_abbrev_section
        ../../gcc-svn/gcc/dwarf2out.c:7651
0x8284966 dwarf2out_finish
        ../../gcc-svn/gcc/dwarf2out.c:22527


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

end of thread, other threads:[~2012-11-05 11:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-03 16:39 [Bug target/55194] New: h8300 ICE during conftest in libgcc dwarf2out:7605 joel at gcc dot gnu.org
2012-11-03 17:07 ` [Bug target/55194] " joel at gcc dot gnu.org
2012-11-04  6:20 ` joel at gcc dot gnu.org
2012-11-04  6:22 ` joel at gcc dot gnu.org
2012-11-05 11:11 ` jakub at gcc dot gnu.org
2012-11-05 11:17 ` jakub 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).