http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57154

             Bug #: 57154
           Summary: [4.9 Regression] Bootstrap broken for
                    powerpc64-unknown-linux-gnu
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: wschm...@gcc.gnu.org
                CC: berg...@gcc.gnu.org, meiss...@gcc.gnu.org,
                    pthau...@gcc.gnu.org, tejohn...@gcc.gnu.org
              Host: powerpc*-*-*
            Target: powerpc*-*-*
             Build: powerpc*-*-*


Bootstrap has been broken for PowerPC Linux since r198532:

2013-05-02  Teresa Johnson  <tejohn...@google.com>

    * loop-unswitch.c (unswitch_loop): Use helper routines with rounding
    divides.
    * cfg.c (update_bb_profile_for_threading): Ditto.
    * tree-inline.c (copy_bb): Ditto.
    (copy_edges_for_bb): Ditto.
    (initialize_cfun): Ditto.
    (copy_cfg_body): Ditto.
    (expand_call_inline): Ditto.
    * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto.
    (estimate_node_size_and_time): Ditto.
    (inline_merge_summary): Ditto.
    * cgraphclones.c (cgraph_clone_edge): Ditto.
    (cgraph_clone_node): Ditto.
    * sched-rgn.c (compute_dom_prob_ps): Ditto.
    (compute_trg_info): Ditto.

Configuration information:

  $ /home/wschmidt/gcc/gcc-mainline-base/configure --target=powerpc64-linux
--host=powerpc64-linux --build=powerpc64-linux --enable-threads=posix
--enable-shared --enable-__cxa_atexit
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-secureplt
--enable-checking=yes --with-gmp=/home/wschmidt/gcc-libs/gcc-host-libs
--with-mpfr=/home/wschmidt/gcc-libs/gcc-host-libs
--with-mpc=/home/wschmidt/gcc-libs/gcc-host-libs-ppc64
--with-libelf=/home/wschmidt/gcc-libs/gcc-host-libs
--with-ppl=/home/wschmidt/gcc-libs/gcc-host-libs
--with-cloog=/home/wschmidt/gcc-libs/gcc-host-libs --with-long-double-128
--enable-decimal-float --disable-alsa
--prefix=/home/wschmidt/gcc/install/gcc-mainline-base --enable-lto
--with-plugin-ld=/home/meissner/tools-binutils/ppc64/bin/ld
--with-host-libstdcxx=-Wl,-Bstatic,-L/home/wschmidt/gcc-libs/gcc-host-libs/lib,-lstdc++,-Bdynamic,-lm

Failure details during stage2:

/home/wschmidt/gcc/gcc-mainline-base/gcc/cse.c: In function ‘void
remove_invalid_refs(unsigned int)’:
/home/wschmidt/gcc/gcc-mainline-base/gcc/cse.c:2005:1: internal compiler error:
in check_probability, at basic-block.h:941
 }
 ^
0x10a9351b check_probability
    /home/wschmidt/gcc/gcc-mainline-base/gcc/basic-block.h:941
0x10a93573 combine_probabilities
    /home/wschmidt/gcc/gcc-mainline-base/gcc/basic-block.h:950
0x10a9abcb compute_dom_prob_ps
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:1444
0x10a9b17b sched_rgn_local_init(int)
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3291
0x10a9b313 schedule_region
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:2984
0x10a9f05f schedule_insns()
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3384
0x10a9f1fb rest_of_handle_sched
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3577
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [cse.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/wschmidt/gcc/gcc-mainline-base/gcc/emit-rtl.c: In function ‘rtx_def*
emit_pattern_after_setloc(rtx, rtx, int, rtx_def* (*)(rtx))’:
/home/wschmidt/gcc/gcc-mainline-base/gcc/emit-rtl.c:4542:1: internal compiler
error: in check_probability, at basic-block.h:941
 }
 ^
0x10a9351b check_probability
    /home/wschmidt/gcc/gcc-mainline-base/gcc/basic-block.h:941
0x10a93573 combine_probabilities
    /home/wschmidt/gcc/gcc-mainline-base/gcc/basic-block.h:950
0x10a9abcb compute_dom_prob_ps
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:1444
0x10a9b17b sched_rgn_local_init(int)
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3291
0x10a9b313 schedule_region
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:2984
0x10a9f05f schedule_insns()
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3384
0x10a9f1fb rest_of_handle_sched
    /home/wschmidt/gcc/gcc-mainline-base/gcc/sched-rgn.c:3577
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [emit-rtl.o] Error 1

Compilation commands:

/home/wschmidt/gcc/build/gcc-mainline-base/./prev-gcc/xg++
-B/home/wschmidt/gcc/build/gcc-mainline-base/./prev-gcc/
-B/home/wschmidt/gcc/install/gcc-mainline-base/powerpc64-linux/bin/ -nostdinc++
-B/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/src/.libs
-B/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/libsupc++/.libs
-I/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/include/powerpc64-linux
-I/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/include
-I/home/wschmidt/gcc/gcc-mainline-base/libstdc++-v3/libsupc++
-L/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/src/.libs
-L/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -I. -I. -I/home/wschmidt/gcc/gcc-mainline-base/gcc
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/.
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../include
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libcpp/include
-I/home/wschmidt/gcc-libs/gcc-host-libs/include
-I/home/wschmidt/gcc-libs/gcc-host-libs/include
-I/home/wschmidt/gcc-libs/gcc-host-libs-ppc64/include 
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libdecnumber
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libdecnumber/dpd
-I../libdecnumber -I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libbacktrace   
/home/wschmidt/gcc/gcc-mainline-base/gcc/cse.c -o cse.o

/home/wschmidt/gcc/build/gcc-mainline-base/./prev-gcc/xg++
-B/home/wschmidt/gcc/build/gcc-mainline-base/./prev-gcc/
-B/home/wschmidt/gcc/install/gcc-mainline-base/powerpc64-linux/bin/ -nostdinc++
-B/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/src/.libs
-B/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/libsupc++/.libs
-I/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/include/powerpc64-linux
-I/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/include
-I/home/wschmidt/gcc/gcc-mainline-base/libstdc++-v3/libsupc++
-L/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/src/.libs
-L/home/wschmidt/gcc/build/gcc-mainline-base/prev-powerpc64-linux/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -I. -I. -I/home/wschmidt/gcc/gcc-mainline-base/gcc
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/.
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../include
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libcpp/include
-I/home/wschmidt/gcc-libs/gcc-host-libs/include
-I/home/wschmidt/gcc-libs/gcc-host-libs/include
-I/home/wschmidt/gcc-libs/gcc-host-libs-ppc64/include 
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libdecnumber
-I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libdecnumber/dpd
-I../libdecnumber -I/home/wschmidt/gcc/gcc-mainline-base/gcc/../libbacktrace   
/home/wschmidt/gcc/gcc-mainline-base/gcc/emit-rtl.c -o emit-rtl.o

Reply via email to