Hi,
I now have some more info on this bug in 20010924, and that is that it seems to have been introduced since 19990118. So compiling with version:-
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
the program runs:-
level_1 level_2 level_3 goto 1 label 1
but compiling with version:-
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs gpc version 20010924, based on 2.95.3 20010315 (release)
the program runs:-
level_1 level_2 level_3 goto 1 Segmentation Fault(coredump)
I captured the assembler from both version (with -S), performed an "sdiff -W" and the output is attached (as is the source).
Sadly I cannot use 19990118 for my "real" source because there are just too many things it cannot cope with so I really hope someone can give me a fix for the latest version.
Thanks for the help so far and fingers crossed you can help more.
Cheers, Martin.