[g++] -O produces incorrect code

Martin Schröder martin@oneiros.de
Sun Oct 7 21:43:00 GMT 2007


2007/10/7, Christoph Bartoschek <bartoschek@gmx.de>:
> Generally one cannot help without the code. Where to get it?

svn checkout svn://scm.foundry.supelec.fr/svn/pdftex/trunk/source

build.sh will generate pdftex and pdftex.pool
Testing them requires a working TeX installation.
The file in question is src/texk/web2c/pdftexdir/pdftoepdf.cc

> Use #include <valgrind/memcheck.h> and check each value in the line with
>
> VALGRIND_CHECK_VALUE_IS_DEFINED(variable)
>
> Do this with each subexpression and follow the stack up to the declaration of
> the offending variable.

Will do.

Best
   Martin



More information about the Gcc-help mailing list