From: Jim Wilson <wilson@cygnus.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] two ICEs with current compiler
Date: Thu, 18 Jan 2001 00:56:32 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590693005072@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005066@msgid-missing>
>gcc -O2 -c lexer.c
>...
>lexer.c: In function `yylook':
>lexer.c:2138: warning: cast from pointer to integer of different size
>lexer.c:2148: warning: cast from pointer to integer of different size
>lexer.c:2239: Internal compiler error in `find_auto_inc', at flow.c:5032
For the second problem, there was a little bit of code looking for a register
when we actually had a slightly more complicated expression. The code needed
to fail instead of aborting if it didn't find the register it was looking for.
Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
* flow.c (find_auto_inc): Verify that we've got a REG before
peeking at its regno. Fail, don't abort if we can't find
the increment of the desired register.
Index: flow.c
=================================RCS file: /cvs/cvsfiles/devo/gcc/flow.c,v
retrieving revision 1.234.2.7
diff -p -r1.234.2.7 flow.c
*** flow.c 2000/11/16 20:24:38 1.234.2.7
--- flow.c 2001/01/18 00:47:56
*************** find_auto_inc (pbi, x, insn)
*** 5024,5035 ****
if (GET_CODE (y) != PLUS)
return;
! if (REGNO (XEXP (y, 0)) = REGNO (addr))
inc_val = XEXP (y, 1);
! else if (REGNO (XEXP (y, 1)) = REGNO (addr))
inc_val = XEXP (y, 0);
else
! abort ();
if (GET_CODE (inc_val) = CONST_INT)
{
--- 5024,5035 ----
if (GET_CODE (y) != PLUS)
return;
! if (REG_P (XEXP (y, 0)) && REGNO (XEXP (y, 0)) = REGNO (addr))
inc_val = XEXP (y, 1);
! else if (REG_P (XEXP (y, 1)) && REGNO (XEXP (y, 1)) = REGNO (addr))
inc_val = XEXP (y, 0);
else
! return;
if (GET_CODE (inc_val) = CONST_INT)
{
prev parent reply other threads:[~2001-01-18 0:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 19:54 [Linux-ia64] two ICEs with current compiler Bill Nottingham
2001-01-18 0:39 ` Jim Wilson
2001-01-18 0:56 ` Jim Wilson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590693005072@msgid-missing \
--to=wilson@cygnus.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.