Re: possible compiler bug

2005-05-01 Thread Robert Dewar
Diego Novillo wrote: On Sun, May 01, 2005 at 02:16:27PM -0400, Friends wrote: Only when I compile with an optimization level of "O2" or "O3" does the program exit with a memory access error. It may be a bug in GCC and it may also be a bug in your program (some problems like aliasing bugs only ar

Re: possible compiler bug

2005-05-01 Thread Diego Novillo
On Sun, May 01, 2005 at 02:16:27PM -0400, Friends wrote: > Only when I compile with an optimization level of "O2" or "O3" does the > program exit with a memory access error. > It may be a bug in GCC and it may also be a bug in your program (some problems like aliasing bugs only are exposed at hi

possible compiler bug

2005-05-01 Thread Friends
I have reviewed the gcc web page for reporting bugs and this situation is not covered. I have a program that I have been compiling with the gcc 2.9 and 3.4 series. In the past week I upgraded to gcc 4.0.0 I compiled the program and corrected the warning message about using "unsigned char *" wh