Thomas Bushnell BSG wrote:
Thomas Bushnell BSG <[EMAIL PROTECTED]> writes:


Ah, I have found the problem.  The Debian package builds gf2pbm with
optimization on (-O2).  gf2pbm misbehaves when compiled with
optimization, and works fine when compiled without.


More specifically, failure happens with:

-fschedule-insns -fstrict-aliasing -O

But not with: -O or either of those -f optimizations alone.

there are some dodgy pointer casts in gf2pbm, specifically,

gf2pbm.c: In functie $-1òøread_GF_charòù:
gf2pbm.c:305: let op: initialization from incompatible pointer type

        BMUNIT  *cp, *basep, *maxp;
        char    **basep_cpp = &basep;

GCC4 has become much more agressive with considering cast pointers as unaliased by definition, so I would suspect this one.


I'll try isolating it function by function now.

Thomas



--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to