* Re: ra.c todo list. [not found] ` <Pine.LNX.4.58.0409061752050.20630@wotan.suse.de> @ 2004-09-09 19:13 ` Ramana Radhakrishnan 2004-09-09 19:17 ` Michael Matz 0 siblings, 1 reply; 3+ messages in thread From: Ramana Radhakrishnan @ 2004-09-09 19:13 UTC (permalink / raw) To: Michael Matz; +Cc: gcc Hi, As I had promised, but while building the new-regalloc-branch and the C++ compiler during the build there is an ICE . The error message is given below. . I was not able to find any equivalent error on Google. Making all in src make[3]: Entering directory `/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/src' /bin/sh ../libtool --tag CXX --mode=compile /home/ramana/toolscvs/reg-alloc-branch/build-all/gcc/xgcc -shared-libgcc -B/home/ramana/toolscvs/reg-alloc-branch/build-all/gcc/ -nostdinc++ -L/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/src -L/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i386-regalloc-branch/i686-pc-linux-gnu/bin/ -B/usr/local/i386-regalloc-branch/i686-pc-linux-gnu/lib/ -isystem /usr/local/i386-regalloc-branch/i686-pc-linux-gnu/include -isystem /usr/local/i386-regalloc-branch/i686-pc-linux-gnu/sys-include -I/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include -I/home/ramana/toolscvs/reg-alloc-branch/gcc/libstdc++-v3/libsupc++ -O2 -pg -g -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -fimplicit-templates -c ../../../../gcc/libstdc++-v3/src/demangle.cc /home/ramana/toolscvs/reg-alloc-branch/build-all/gcc/xgcc -shared-libgcc -B/home/ramana/toolscvs/reg-alloc-branch/build-all/gcc/ -nostdinc++ -L/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/src -L/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i386-regalloc-branch/i686-pc-linux-gnu/bin/ -B/usr/local/i386-regalloc-branch/i686-pc-linux-gnu/lib/ -isystem /usr/local/i386-regalloc-branch/i686-pc-linux-gnu/include -isystem /usr/local/i386-regalloc-branch/i686-pc-linux-gnu/sys-include -I/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include -I/home/ramana/toolscvs/reg-alloc-branch/gcc/libstdc++-v3/libsupc++ -O2 -pg -g -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -fimplicit-templates -c ../../../../gcc/libstdc++-v3/src/demangle.cc -fPIC -DPIC /home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_uninitialized.h: In function `_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<__gnu_cxx::demangler::substitution_st*, std::vector<__gnu_cxx::demangler::substitution_st, std::allocator<char> > >, _ForwardIterator = __gnu_cxx::__normal_iterator<__gnu_cxx::demangler::substitution_st*, std::vector<__gnu_cxx::demangler::substitution_st, std::allocator<char> > >]': /home/ramana/toolscvs/reg-alloc-branch/build-all/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_uninitialized.h:600: internal compiler error: Segmentation fault Any ideas / comments. ? cheers Ramana -- Ramana Radhakrishnan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ra.c todo list. 2004-09-09 19:13 ` ra.c todo list Ramana Radhakrishnan @ 2004-09-09 19:17 ` Michael Matz 2004-09-10 6:01 ` [Patch]fix new reg-alloc-branch crash in final.c Ramana Radhakrishnan 0 siblings, 1 reply; 3+ messages in thread From: Michael Matz @ 2004-09-09 19:17 UTC (permalink / raw) To: Ramana Radhakrishnan; +Cc: gcc Hi, On Fri, 10 Sep 2004, Ramana Radhakrishnan wrote: > As I had promised, but while building the new-regalloc-branch and the > C++ compiler during the build there is an ICE . The error message is > given below. . I was not able to find any equivalent error on Google. > > internal compiler error: Segmentation fault > > Any ideas / comments. ? No. Except for seeing where it crashes, and fixing the bug. Do you want to? Ciao, Michael. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Patch]fix new reg-alloc-branch crash in final.c 2004-09-09 19:17 ` Michael Matz @ 2004-09-10 6:01 ` Ramana Radhakrishnan 0 siblings, 0 replies; 3+ messages in thread From: Ramana Radhakrishnan @ 2004-09-10 6:01 UTC (permalink / raw) To: Michael Matz, gcc, gcc-patches Hi Michael, <snip> > No. Except for seeing where it crashes, and fixing the bug. Do you want > to? Tracked to final.c : profile_function which I have fixed based on the patches suggested at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12315 . The patch below fixes it for the ra-branch . There are still a couple of other libstdc++ errors that I am looking at . cheers Ramana -- Ramana Radhakrishnan ChangeLog * 20040906: Ramana Radhakrishnan <ramana.r@gmail.com> final.c : backport of a profiling patch from gcc3.4 head to reg-alloc-branch to fix a crash while building the regalloc branch with profiling. Based on patches suggested by Alan Modra and DJ Delorie for fix to Bug #12315. Index: final.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/final.c,v retrieving revision 1.155.2.8 diff -a -u -r1.155.2.8 final.c --- final.c 10 Oct 2003 14:18:31 -0000 1.155.2.8 +++ final.c 10 Sep 2004 05:21:11 -0000 @@ -1437,7 +1437,7 @@ function_section (current_function_decl); #if defined(ASM_OUTPUT_REG_PUSH) - if (sval && GET_CODE (svrtx) == REG) + if (sval && svrtx != NULL_RTX && GET_CODE (svrtx) == REG) ASM_OUTPUT_REG_PUSH (file, REGNO (svrtx)); #endif @@ -1468,7 +1468,7 @@ #endif #if defined(ASM_OUTPUT_REG_PUSH) - if (sval && GET_CODE (svrtx) == REG) + if (sval && svrtx != NULL_RTX && GET_CODE (svrtx) == REG) ASM_OUTPUT_REG_POP (file, REGNO (svrtx)); #endif } ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-10 5:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <67ea2eb040905020128b03316@mail.gmail.com> [not found] ` <Pine.LNX.4.58.0409060926360.20630@wotan.suse.de> [not found] ` <67ea2eb040906011154bb737b@mail.gmail.com> [not found] ` <Pine.LNX.4.58.0409061752050.20630@wotan.suse.de> 2004-09-09 19:13 ` ra.c todo list Ramana Radhakrishnan 2004-09-09 19:17 ` Michael Matz 2004-09-10 6:01 ` [Patch]fix new reg-alloc-branch crash in final.c Ramana Radhakrishnan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).