------- Comment #20 from galtgendo at o2 dot pl 2009-04-22 00:04 ------- Created an attachment (id=17669) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17669&action=view) prepocessed source of id.c
People, I've got a result, that's either very funny or very not funny. With the same compiler, with the command "i686-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon -mtune=athlon -pipe -fno-guess-branch-probability -I../lib -o id id.c group-list.o libver.a ../lib/libcoreutils.a" id.c from coreutils 7.2 gets miscompiled, resulting in "id -u" always printing "id: cannot print "only" of more than one choice" The "funny" part is that without "-fno-guess-branch-probability" it works correctly, so it's the (sort of) opposite of above. I will shortly test, if things change with gcc 4.4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333