[Bug c/26643] Linux matroxfb_probe miscompiled

2006-03-11 Thread olh at suse dot de
--- Comment #5 from olh at suse dot de 2006-03-11 15:21 --- flags=' -m64 -g -O1 -fno-cprop-registers -fno-defer-pop -fno-guess-branch-probability -fno-if-conversion -fno-if-conversion2 -fno-ipa-pure-const -fno-ipa-reference -fno-loop-optimize -fno-merge-constants -fno-omit-frame-pointer

[Bug c/26643] Linux matroxfb_probe miscompiled

2006-03-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-11 15:15 --- (In reply to comment #0) > I tried all the new opts from -O0 to -O1, but adding them all to -O0 does not > fix it. No idea why. Because you did not read the documention that says that would not work. Now if you ins

[Bug c/26643] Linux matroxfb_probe miscompiled

2006-03-11 Thread olh at suse dot de
--- Comment #3 from olh at suse dot de 2006-03-11 14:30 --- generated asm is: 16d0 <.matroxfb_probe>: 16d0: 7c 08 02 a6 mflrr0 16d4: fb e1 ff f8 std r31,-8(r1) 16d8: 7c 7f 1b 78 mr r31,r3 16dc: 38 a0 00 08

[Bug c/26643] Linux matroxfb_probe miscompiled

2006-03-11 Thread olh at suse dot de
--- Comment #2 from olh at suse dot de 2006-03-11 14:25 --- Created an attachment (id=11022) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11022&action=view) /tmp/matroxfb_probe.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26643

[Bug c/26643] Linux matroxfb_probe miscompiled

2006-03-11 Thread olh at suse dot de
--- Comment #1 from olh at suse dot de 2006-03-11 14:25 --- Created an attachment (id=11021) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11021&action=view) /tmp/main.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26643