document inconsistant?

Min Xu mxu@cae.wisc.edu
Fri Mar 31 18:20:00 GMT 2000


Recently, somebody else also tried my code on another solaris machine.
The problem is repeatable. The problem is strictly related to  some
default optimization settings on solaris platform and for gcc 2.95.2 only.

I believe this is a bug of gcc's optimization on solaris. But I can avoid it
with turning on -msupersparc or -mcypress options for the time being.

Thank you very much for trying that on your platform.

Owen

Greg Rigole wrote:

> On an RS6000, running AIX 4.2.1.0, I compile your sample and it works A-OK.
> The output of the compile/test session is:
>
>         vision21dev:/home/greg/smpl> make
>         gcc -O2 -g -Wall -c -o ind_table_parser.o ind_table_parser.cc
>         gcc -O2 -g -Wall -lm -lstdc++ -o cpp_test cpp_test.cc
> ind_table_parser.o
>         Target "all" is up to date.
>         vision21dev:/home/greg/smpl> cpp_test
>         Begin the test program...
>         Lm: 0
>         vision21dev:/home/greg/smpl>
>
> Seems to be something with your platform.
>
> Greg
>



More information about the Gcc mailing list