With revision 145488 this test passed. >From revision 145495 and on, this test has failed as follows: ... Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/dg-torture.exp ... FAIL: gcc.dg/torture/builtin-math-3.c -O1 (test for excess errors) FAIL: gcc.dg/torture/builtin-math-3.c -Os (test for excess errors) ...
With the message in gcc.log being: builtin-math-3.c:(.text+0x88): undefined reference to `_link_error' builtin-math-3.c:(.text+0xfe): undefined reference to `_link_error' builtin-math-3.c:(.text+0x174): undefined reference to `_link_error' builtin-math-3.c:(.text+0x1aa): undefined reference to `_link_error' builtin-math-3.c:(.text+0x220): undefined reference to `_link_error' /tmp/ccKBGOIU.o:builtin-math-3.c:(.text+0x296): more undefined references to `_link_error' follow The lack of line-numbers is of course unhelpful, but with "-g" added, the link error becomes, for both -O1 and -Os: builtin-math-3.o: In function `main': /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/builtin-math-3.c:176: undefined reference to `_link_error' /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/builtin-math-3.c:176: undefined reference to `_link_error' /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/builtin-math-3.c:177: undefined reference to `_link_error' /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/builtin-math-3.c:177: undefined reference to `_link_error' Author of patches in suspect revision range CC:ed. -- Summary: [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math- 3.c -O1 and -Os sincos one Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: cris-axis-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39643