Bug?

Tommi Kiviniemi tomkiv-9@student.ltu.se
Wed Jul 14 09:17:00 GMT 2004


Ok, I don't have the time to register and all so this is what I found out:

i have an import filter for TARGA images which is 80kb source, and 
translates to an 11kb
object file. now, i got complaints for "if (header.imagedescriptor & 0xF 
== 1) {" which is
used about.. 40 times? ok, i changed those to "if ((header.imagedescriptor 
& 0xF) == 1) {"
to get rid of the compiler warnings (notice the extra parantheses). now 
the object file is
20kb!! what is going on, as this is hardly the behaviour i was expecting?
i can mail you the source if the need arises. the compiler options were 
heaviest
optimizations and wall. v3.3.3.

Sincerely,
Tommi Kiviniemi



More information about the Gcc-bugs mailing list