This is the mail archive of the gcc-bugs@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]

RTL_FLAG_CHECK patch


Hi Janis...

2002-05-08  Janis Johnson  <janis187@us.ibm.com>

        * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
        and use it in all invocations of these macros.  Clean up comments.
        * rtl.c (rtl_check_failed_flag): Add an argument for the name
        of the flag access macro whose check failed.
        * doc/rtl.texi (Flags): Document additional flag uses.

This patch fixes the specific problem listed in target/6603,
but the libgcc build for sh-elf then fails 2 functions later:

/u1/users/thorpej/gnu-toolchain/gcc/build/sh-elf/gcc/xgcc -B/u1/users/thorpej/gnu-toolchain/gcc/build/sh-elf/gcc/ -B/usr/local/gnu/sh-elf/bin/ -B/usr/local/gnu/sh-elf/lib/ -isystem /usr/local/gnu/sh-elf/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/config -I../../../gcc/gcc/../include  -DL_lshrdi3 -c ../../../gcc/gcc/libgcc2.c -o libgcc/./_lshrdi3.o
../../../gcc/gcc/libgcc2.c: In function `__lshrdi3':
../../../gcc/gcc/libgcc2.c:266: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code `call_insn' in dbr_schedule, at reorg.c:3631
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[2]: *** [libgcc/./_lshrdi3.o] Error 1

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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