[Bug bootstrap/41397] New: [4.5 regression] RTL checking failure compiling libiberty

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 18 09:26:00 GMT 2009


At revision 151832 I get

/home/eric/build/gcc/native/./prev-gcc/xgcc
-B/home/eric/build/gcc/native/./prev-gcc/
-B/home/eric/install/gcc/x86_64-suse-linux/bin/
-B/home/eric/install/gcc/x86_64-suse-linux/bin/
-B/home/eric/install/gcc/x86_64-suse-linux/lib/ -isystem
/home/eric/install/gcc/x86_64-suse-linux/include -isystem
/home/eric/install/gcc/x86_64-suse-linux/sys-include    -c -DHAVE_CONFIG_H -g
-O2  -I. -I/home/eric/svn/gcc/libiberty/../include  -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic 
/home/eric/svn/gcc/libiberty/regex.c -o regex.o
In file included from /home/eric/svn/gcc/libiberty/regex.c:638:0:
/home/eric/svn/gcc/libiberty/regex.c: In function 'byte_re_match_2_internal':
/home/eric/svn/gcc/libiberty/regex.c:7476:5: warning: jump skips variable
initialization
/home/eric/svn/gcc/libiberty/regex.c:5952:12: note: label 'restore_best_regs'
defined here
/home/eric/svn/gcc/libiberty/regex.c:5913:16: note: 'same_str_p' declared here
/home/eric/svn/gcc/libiberty/regex.c: In function
'byte_common_op_match_null_string_p':
/home/eric/svn/gcc/libiberty/regex.c:7724:1: internal compiler error: RTL
check: expected code 'reg', have 'mem' in rhs_regno, at rtl.h:1049
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [regex.o] Error 1
make[3]: Leaving directory `/home/eric/build/gcc/native/libiberty'
make[2]: *** [all-stage3-libiberty] Error 2
make[2]: Leaving directory `/home/eric/build/gcc/native'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/eric/build/gcc/native'
make: *** [all] Error 2

This is with an --enable-checking=yes,rtl compiler.


-- 
           Summary: [4.5 regression] RTL checking failure compiling
                    libiberty
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
 GCC build triplet: x86_64-*-*
  GCC host triplet: x86_64-*-*
GCC target triplet: x86_64-*-*


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



More information about the Gcc-bugs mailing list