grokfield miscompiled with -O9
Sat Jan 8 11:57:00 GMT 2000
On Jan 8, 2000, "Martin v. Loewis" <firstname.lastname@example.org> wrote:
>> I wonder if this isn't the same bug as execute/991112-1.c. That one has
>> to do with -O3 and not clearing an entire register, too.
> That could well be. Another commonality is that removing the unused,
> unrelated function corrects the code...
It is indeed caused by the same problem. If only I had read this just
a second before checking in the testcase I've just posted...
Anyway, that testcase would risk hiding the bug if gcc got smarter
about inlining pointers to functions that can be proven constant.
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
** I may forward mail about projects to mailing lists; please use them
More information about the Gcc-bugs