This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: RTL_FLAG_CHECK patch
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: davem at redhat dot com (David S. Miller)
- Cc: janis187 at us dot ibm dot com, thorpej at wasabisystems dot com, gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 May 2002 15:26:00 -0400 (EDT)
- Subject: Re: RTL_FLAG_CHECK patch
> 2002-05-09 David S. Miller <davem@redhat.com>
>
> * rtl.h (struct rtx_def): Document unchanging and in_struct flags
> more accurately.
> (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
> comment.
> (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
> * doc/rtl.texi: Document these macros more accurately.
> * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
> JUMP_INSNs and CALL_INSNs.
> * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
> or INSN_FROM_TARGET_P if the code is appropriate.
Hit this:
./xgcc -B./ -B/opt/gnu/hppa2.0w-hp-hpux11.11/bin/ -isystem /opt/gnu/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/hppa2.0w-hp-hpux11.11/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -DL_divdi3 -c ../../gcc/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
../../gcc/gcc/libgcc2.c: In function `__udivmoddi4':
../../gcc/gcc/libgcc2.c:64: RTL flag check: INSN_ANNULLED_BRANCH_P used with une
xpected rtx code `insn' in mark_set_resources, at resource.c:738
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)