public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "joel at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-55194-4@http.gcc.gnu.org/bugzilla/> (raw)


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


             reply	other threads:[~2012-11-03 16:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03 16:39 joel at gcc dot gnu.org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55194-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).