This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [g++] -O produces incorrect code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]