On trunk at Thu Sep 18 22:45:12 UTC 2008 (revision 140476) $ gnatchop ../trunk/gcc/testsuite/ada/acats/support/rep* $ gnatchop ../trunk/gcc/testsuite/ada/acats/tests/c6/c650001.a $ gnatmake -gnat95 -f -O1 c650001.adb ... gnatlink c650001.ali ./c650001.o: In function `_ada_c650001': c650001.adb:(.text+0x83d): undefined reference to `c650001_0__Ttask_arrayBIP__L27s__F24s.3033' c650001.adb:(.text+0x96d): undefined reference to `c650001_0__Ttask_arrayBIP___clean.3019' c650001.adb:(.text+0x97f): undefined reference to `c650001_0__Ttask_arrayBIP___clean.3019'
At -O0 the test links and PASS. The test PASSed normally at: LAST_UPDATED: Wed Sep 17 10:26:14 UTC 2008 (revision 140411) http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg01465.html -- Summary: ACATS c650001 fails to link at -O1 because of undefined references Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: link-failure Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: laurent at guerby dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37585