[Bug c++/65017] valgrind error in get_constraint_for_address_of

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Feb 11 13:36:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65017

--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 11 Feb 2015, dcb314 at hotmail dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65017
> 
> --- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
> (In reply to Richard Biener from comment #2)
> > I can't reproduce this - how did you compile/configure GCC?  Just tried both
> > --enable-checking and --enable-checking=release builds.
> 
> ../src/trunk/configure --prefix=/home/dcb/gcc/results \
>     --disable-bootstrap \
>     --disable-werror \
>     --enable-checking=yes \
>     --enable-languages=c,c++,fortran \
>     CC="clang -fheinous-gnu-extensions" \
>     CXX="clang++ -fheinous-gnu-extensions"
> 
> on AMD Phenom.

Uh, so it might be very well clang miscompiling it.  I don't have
clang to reproduce, so can you get me some more information,
like

(gdb) p debug_tree (t)

at the point it barfs?  Can you disable optimization of clang?
Thus build with CFLAGS="-g -O0" CXXFLAGS="-g -O0"?



More information about the Gcc-bugs mailing list