Bug 42426 - ICE in get_resolution (lto)
Summary: ICE in get_resolution (lto)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: lto
Depends on:
Blocks:
 
Reported: 2009-12-18 11:48 UTC by Dmitry Gorbachev
Modified: 2010-01-11 13:08 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Preprocessed sources (354.79 KB, application/octet-stream)
2009-12-18 11:49 UTC, Dmitry Gorbachev
Details
Backtrace (869 bytes, text/plain)
2009-12-18 11:50 UTC, Dmitry Gorbachev
Details
Small testcase (135 bytes, patch)
2009-12-21 21:42 UTC, Dmitry Gorbachev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Gorbachev 2009-12-18 11:48:09 UTC
GCC (version 4.5.0 20091217) crashes when building binutils with message: "lto1: internal compiler error: in get_resolution, at lto-streamer-in.c:1524".
Comment 1 Dmitry Gorbachev 2009-12-18 11:49:25 UTC
Created attachment 19343 [details]
Preprocessed sources

Compile with `gcc src/* -flto -fuse-linker-plugin'
Comment 2 Dmitry Gorbachev 2009-12-18 11:50:14 UTC
Created attachment 19344 [details]
Backtrace
Comment 3 Dmitry Gorbachev 2009-12-21 21:42:27 UTC
Created attachment 19361 [details]
Small testcase

Run `gcc -flto -fuse-linker-plugin 1.c 2.c' (or just `gcc -flto -fuse-linker-plugin 1.c') to reproduce the bug.
Comment 4 Dmitry Gorbachev 2010-01-11 13:08:57 UTC
Fixed in r155800.