[10512] in Athena Bugs
xlc 1.2.1 internal compiler error
daemon@ATHENA.MIT.EDU (John Carr)
Sun May 23 07:05:36 1993
To: probe@Athena.MIT.EDU
Cc: bugs@Athena.MIT.EDU
Date: Sun, 23 May 1993 07:05:32 EDT
From: John Carr <jfc@Athena.MIT.EDU>
XLC versions 1.2.1.0 and 1.2.1.4 fail with an internal compiler error
on this input:
#pragma options isolated_call=gettimeofday
#pragma options isolated_call=gettimeofday
It is the repetition that kills the compiler. A single #pragma works.
The same problem occurs if the option is specified twice on the command line:
% cp /dev/null /tmp/test.c
% xlc -O -c /tmp/test.c -qisolated_call=f1 -qisolated_call=f1
1506-229: (W) File is empty.
1506-229: (W) File is empty.
1506-092: (W) The identifier f1 used in ISOLATED_CALL option or directive is not referenced.
xlc: 1501-230 Internal compiler error; please contact your IBM representative
%