From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20244 invoked by alias); 3 Nov 2012 16:39:14 -0000 Received: (qmail 18434 invoked by uid 48); 3 Nov 2012 16:38:52 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55194] New: h8300 ICE during conftest in libgcc dwarf2out:7605 Date: Sat, 03 Nov 2012 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00218.txt.bz2 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