This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40035] ICE when cross-compiling with -Os
- From: "bje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2009 21:42:15 -0000
- Subject: [Bug middle-end/40035] ICE when cross-compiling with -Os
- References: <bug-40035-602@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from bje at gcc dot gnu dot org 2009-05-13 21:42 -------
Subject: Bug 40035
Author: bje
Date: Wed May 13 21:42:03 2009
New Revision: 147501
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147501
Log:
Backport from mainline:
PR middle-end/40035
* dse.c (check_mem_read_rtx): Guard against width == -1.
testsuite/
* gcc.c-torture/compile/pr40035.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40035.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/dse.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40035