This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65017] valgrind error in get_constraint_for_address_of
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Feb 2015 15:10:38 +0000
- Subject: [Bug c++/65017] valgrind error in get_constraint_for_address_of
- Auto-submitted: auto-generated
- References: <bug-65017-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65017
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #4)
> 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"?
Can't reproduce when building GCC with clang 3.3 like you specified above.