This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix PR1645
- To: Richard dot Earnshaw at arm dot com, rearnsha at arm dot com
- Subject: Re: PATCH: Fix PR1645
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 19 Apr 2001 08:35:38 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200104191050.LAA26225@cam-mail2.cambridge.arm.com>
>>>>> "Richard" == Richard Earnshaw <rearnsha@arm.com> writes:
Richard> is (perhaps indirectly) breaking the ARM bootstrap. The
Richard> code here
Yup, that looks like I exposed a latent bug.
The fix is going to be to make the condition true if the JUMP_LABLE is
NULL, i.e.,:
if (!JUMP_LABEL (p) || (...))
return;
That should solve the problem, and is the correct fix.
Would you send me a test-case (preprocessed source, cc1flags, and
target triplet) so that I can verify the fix, and add a test-case to
the test-suite?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com