Re: gcc generates incorrect code with -Os

2005-12-06 Thread Václav Haisman
The best way to get noticed and the problem fixed is to open a PR in GCC Bugzilla: http://gcc.gnu.org/bugzilla/ VH signature.asc Description: OpenPGP digital signature

gcc generates incorrect code with -Os

2005-12-06 Thread Krzysztof Halasa
Hi, gcc-4.0.1-4.fc4 gcc-4.0.2-8.fc4 (4.0.2 20051125 (Red Hat 4.0.2-8)) i386 gcc -W -Wall -Os test.c -o test -Werror && ./test array: 1 2 array: 1 2 gcc -W -Wall -O2 test.c -o test -Werror && ./test array: 1 2 array: 2 3 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173764 #include voi