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
* [Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605
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 ` joel at gcc dot gnu.org
2012-11-04 6:20 ` joel at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu.org @ 2012-11-03 17:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194
--- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> 2012-11-03 17:07:01 UTC ---
Sorry... bad cut and paste. The assembly is OK. The cross compiler generates an
ICE.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605
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
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu.org @ 2012-11-04 6:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194
--- Comment #2 from Joel Sherrill <joel at gcc dot gnu.org> 2012-11-04 06:20:02 UTC ---
git bisect should help:
[0e797c2e325bfe0676fc9b9e5baee01aefb164f5] /cp 2012-08-20 Paolo Carlini
<paolo.carlini@oracle.com>
[joel@baltimore gcc]$ git bisect good
Bisecting: 1 revision left to test after this (roughly 1 step)
[29b2949ccfc068c78899358ca40218f3518b00dd] PR rtl-optimization/54294 *
fwprop.c (all_uses_available_at): Ignore debug insns in between def_insn
and target_insn when checking whether the shortcut is possible.
[joel@baltimore gcc]$ git bisect good
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[2bf99680c2012de150798c933642aa4c82a85410] 2012-08-20 Tobias Burnus
<burnus@net-b.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605
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
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu.org @ 2012-11-04 6:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194
--- Comment #3 from Joel Sherrill <joel at gcc dot gnu.org> 2012-11-04 06:22:22 UTC ---
I added Jakub because I think this was the patch which broke it:
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Aug 20 18:56:49 2012 +0000
PR rtl-optimization/54294
* fwprop.c (all_uses_available_at): Ignore debug insns in between
def_insn and target_insn when checking whether the shortcut is
possible.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605
2012-11-03 16:39 [Bug target/55194] New: h8300 ICE during conftest in libgcc dwarf2out:7605 joel at gcc dot gnu.org
` (2 preceding siblings ...)
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
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-05 11:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-05 11:11:32 UTC ---
Author: jakub
Date: Mon Nov 5 11:11:28 2012
New Revision: 193158
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193158
Log:
PR target/55194
* dwarf2out.c (value_format) <case dw_val_class_high_pc>: Handle
also DWARF2_ADDR_SIZE 1 and 2.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605
2012-11-03 16:39 [Bug target/55194] New: h8300 ICE during conftest in libgcc dwarf2out:7605 joel at gcc dot gnu.org
` (3 preceding siblings ...)
2012-11-05 11:11 ` jakub at gcc dot gnu.org
@ 2012-11-05 11:17 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-05 11:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.8.0
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-05 11:16:47 UTC ---
Off by two guess, the change that broke this was r190543, my patch was r190541.
Anyway, should be fixed, though haven't tested it.
^ 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).