[Bug c/33374] GCC 4.1.2 produce wrong assembler code with -O2 option enabled.

2007-09-10 Thread _kirpichev_ at mail dot ru
--- Comment #2 from _kirpichev_ at mail dot ru 2007-09-10 07:53 --- Created an attachment (id=14183) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14183&action=view) Correct and incorrect assembler dumps. >From incorrect dump we can see where segmentation fault heppens: 0x0804839

[Bug c/33374] GCC 4.1.2 produce wrong assembler code with -O2 option enabled.

2007-09-10 Thread _kirpichev_ at mail dot ru
--- Comment #1 from _kirpichev_ at mail dot ru 2007-09-10 07:45 --- Created an attachment (id=14182) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14182&action=view) test programm This example is compiled incorrectly by gcc 4.1.2 with -O2 flag. But all works fine if we change line