This is the mail archive of the gcc-patches@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: [tree-ssa] Make tail-call work on SSA form


> 
> I keep getting the failure.  Could you please try a build from scratch
> with an absolutely clean tree?  Mine is configured with 
> --disable-checking, though I have reproduced it with checking enabled as
> well.
> 
> I get several pages of this:
> 
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/gcc/xgcc -shared-libgcc -B/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/gcc/ -nostdinc
> ++ -L/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/src -L/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobian
> o/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/inst.tobiano/i686-pc-linux-gnu/bin/ -B/home/cygnus/dnovillo/perf/sbox/tree-ssa
> -branch/local.i686/inst.tobiano/i686-pc-linux-gnu/lib/ -isystem /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/inst.tobiano/i686-pc-linux-gnu/include -isystem /home/cygnu
> s/dnovillo/perf/sbox/tree-ssa-branch/local.i686/inst.tobiano/i686-pc-linux-gnu/sys-include -I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/
> libstdc++-v3/include/i686-pc-linux-gnu -I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include -I/home/cygnus/dnovillo/perf/sb
> ox/tree-ssa-branch/local.i686/src/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
>  -ffunction-sections -fdata-sections -c /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/libstdc++-v3/src/complex_io.cc  -fPIC -DPIC -o .libs/complex_io.o
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/complex: In function `std::basic_ostream<_CharT, _Traits>& std::operator
> <<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&) [with _Tp = float, _CharT = char, _Traits = std::char_traits<char>]':
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/libstdc++-v3/src/complex_io.cc:41:   instantiated from here
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/complex:394: error: no match for 'operator<<' in '__os << std::basic_ost
> ringstream<_CharT, _Traits, _Alloc>::str() const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()'
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:66: note: candidates are: std::basic_ostream<_CharT, _T
> raits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>&(*)(std::basic_ostream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits
> <char>]
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:88: note:                 std::basic_ostream<_CharT, _T
> raits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ios<_CharT, _Traits>&(*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>]
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:110: note:                 std::basic_ostream<_CharT, _
> Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base&(*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>]
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:182: note:                 std::basic_ostream<_CharT, _
> Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>]
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:217: note:                 std::basic_ostream<_CharT, _
> Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
> /home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/bld.tobiano/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:157: note:                 std::basic_ostream<_CharT, _
> [ .... ]
> 
> It's now not even easy to undo your patches.  They don't reverse
> cleanly.  The preprocessed source is at
> 
> http://people.redhat.com/dnovillo/pub/complex_io.ii.bz2

Thanks.  I will look into this asap (I have to leave for about a hour
now, but I will be back soon).
If this appears too long, perhaps we can simply disable the tail call
until I fix this?

I apologize for the problem.  Looks like something environment specific.
I changed configure options and also god RH/Gentoo system running clean
bootstraps now.

Honza
> 
> 
> Diego.


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