re PR lto/47188 (Undefined reference errors when combining IR and non-IR object files)
authorJan Hubicka <jh@suse.cz>
Thu, 6 Jan 2011 18:50:20 +0000 (19:50 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 6 Jan 2011 18:50:20 +0000 (18:50 +0000)
commit402c1cb4c884a4b9b0428e4e31bb877f5e7c81b4
treef715c405e49bf93799f68e21cc9b75c63695969b
parenta4da64857da9eae83672910e1a427d3239de0b47
re PR lto/47188 (Undefined reference errors when combining IR and non-IR object files)

PR lto/47188
* collect2.c (main): Do not enable LTOmode when plugin is active.
* testsuite/gcc.dg/lto/pr47188_0.c: New testcase.
* testsuite/gcc.dg/lto/pr47188_1.c: New testcase.

From-SVN: r168548
gcc/ChangeLog
gcc/collect2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr47188_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr47188_1.c [new file with mode: 0644]