This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: optimization/1762, please reopen


On Mon, Jun 25, 2001 at 08:39:11PM +0200, Reichelt wrote:
> I still get the wrong results with the code snippet from the PR.
> But it's target specific (maybe I should have mentioned that more
> explicitly): On an x86-linux machine everything works fine
> (return value "0"), but on the SGI I get "1" instead.
> 
> Did you check it on an SGI?

Yes.

$ ./cc1 -quiet -v -O z.c
GNU CPP version 3.0.1 20010622 (prerelease) (cpplib) [AL 1.1, MM 40] SGI running IRIX 6.x
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "..."
ignoring nonexistent directory "..."
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
End of search list.
$ gcc z.s
$ ./a.out
$ echo $?
0
$ uname -a
IRIX ada 6.3 12161207 IP32

So.  What are you doing differently?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]