A patch in the revision range (last_known_working:first_known_failing) 174114:174124 caused the build for cris-elf to fail as follows: ... checking whether ln -s works... yes checking for cris-elf-gcc... /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys -L/tmp/hpautotest-gcc1/gcc/libgloss/cris -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/ -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include checking for suffix of object files... configure: error: in `/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/tmp/hpautotest-gcc1/cris-elf/gccobj' The applicable part of that config.log is: configure:3268: /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys -L/tmp/hpautotest-gcc1/gcc/libgloss/cris -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/ -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -c -g -O2 conftest.c >&5 conftest.c:1:0: internal compiler error: in setup_pressure_classes, at ira.c:902 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. configure:3272: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } Author of suspect patches in revision range CC:ed.
Same error on Solaris 11/SPARC.
Author: vmakarov Date: Thu May 26 21:01:57 2011 New Revision: 174309 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174309 Log: 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/49154 * ira.c (setup_pressure_classes): Process class without sublcasses as a candidate for pressure classes. Modified: trunk/gcc/ChangeLog trunk/gcc/ira.c
It's either an IRA bug, or a documentation issue (and subsequently a target bug). Suggested patch at URL to amend the documentation.
I'm removing sparc-sun-solaris2* from the target field as that was fixed by the commit in the audit trail.
Created attachment 24470 [details] A patch to the CRIS port to go with the documentation update. Unfortunately when this patch by itself is applied, we run into a SEGV in IRA. Will post that patch momentarily.
Created attachment 24471 [details] Repeat mentioned SEGV at patched r174780 with "cc1 -fpreprocessed -O2 libgcc2.i -march=v10"
(In reply to comment #5) > Will post that patch momentarily. Done: <http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00697.html>
Author: hp Date: Thu Jun 9 23:36:22 2011 New Revision: 174867 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174867 Log: PR rtl-optimization/49154 * doc/tm.texi.in (Register Classes): Document rule for the narrowest register classes. * doc/tm.texi: Regenerate. (oops, forgot the PR markers) Modified: trunk/gcc/ChangeLog
Author: hp Date: Thu Jun 9 23:38:35 2011 New Revision: 174868 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174868 Log: PR rtl-optimization/49154 * ira-costs.c (setup_regno_cost_classes_by_mode): If there already is a matching slot in the hashtable, assign it to classes_ptr. Modified: trunk/gcc/ChangeLog trunk/gcc/ira-costs.c
Author: hp Date: Thu Jun 9 23:45:45 2011 New Revision: 174870 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174870 Log: PR rtl-optimization/49154 * config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM. (enum reg_class): Add SRP_REGS and MOF_SRP_REGS. (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS) (PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit. * config/cris/cris.h (cris_register_move_cost): Remove !TARGET_V32 code. Tweak comments. Modified: trunk/gcc/ChangeLog trunk/gcc/config/cris/cris.c trunk/gcc/config/cris/cris.h
Autotester builds now succeed.