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


On Wed, May 08, 2002 at 04:30:26PM -0700, Jason R Thorpe wrote:
> Hi Janis...
> 2002-05-08  Janis Johnson  <>
>         * 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:> for instructions.
> gmake[2]: *** [libgcc/./_lshrdi3.o] Error 1

Can one of you familiar with targets that use these macros determine
the right list of RTL codes to use with INSN_ANNULLED_BRANCH_P and
INSN_FROM_TARGET_P and submit the appropriate patches to rtl.h and
doc/rtl.texi?  In the meantime if you need to work around this you
can turn off the new rtlflag checks (--enable-checking=misc,tree,gc).


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