--- Comment #7 from pinskia at gcc dot gnu dot org 2006-03-21 15:31 ---
Mine, it is STRING_CST which is causing the ICE.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-21 15:31 ---
Reduced testcase:
void zconfdump(void)
{
char *p, *p2;
for (p2 = p; p2; )
{
char __a0, __a1, __a2;
__a0 = ((__const char *) (\\\))[0];
if (__a0)
return;
}
}
--
On Tue, 2006-03-21 at 15:02 +, malitzke at metronets dot com wrote:
--- Comment #5 from malitzke at metronets dot com 2006-03-21 15:02
---
The two if (tree_code(genop) == VALUE_HANDLE) at lines 2190 of tree-ssa-pre.c
look suspicious to me.
They aren't suspicious at all.
--- Comment #5 from malitzke at metronets dot com 2006-03-21 15:02 ---
The two if (tree_code(genop) == VALUE_HANDLE) at lines 2190 of tree-ssa-pre.c
look suspicious to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26781
--- Comment #6 from dberlin at gcc dot gnu dot org 2006-03-21 15:14 ---
Subject: Re: [4.2 Regression] ICE in
tree-ssa-pre.c at create_component_ref_by_piec
On Tue, 2006-03-21 at 15:02 +, malitzke at metronets dot com wrote:
--- Comment #5 from malitzke at metronets
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-21 14:56 ---
Reducing.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
GCC build
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-03-21 16:13 ---
And here is a testcase without a simplifing opportunity:
void zconfdump(__SIZE_TYPE__ i)
{
for (;;)
{
char __a0;
__a0 = (\\\)[i];
if (__a0)
return;
}
}
--
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-21 16:26
---
I am testing the following patch:
Index: tree-ssa-pre.c
===
--- tree-ssa-pre.c (revision 112250)
+++ tree-ssa-pre.c (working copy)
@@
--- Comment #11 from malitzke at metronets dot com 2006-03-21 18:26 ---
While I have your attention I would propose this more comprehensive patch:
--- tree-ssa-pre.org.c 2006-03-21 12:55:12.0 -0500
+++ tree-ssa-pre.c 2006-03-21 13:11:36.0 -0500
@@ -2192,11
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-03-21 18:53
---
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-03-21 18:58
---
Subject: Bug 26781
Author: pinskia
Date: Tue Mar 21 18:58:50 2006
New Revision: 112254
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=112254
Log:
2006-03-21 Andrew Pinski [EMAIL PROTECTED]
PR
11 matches
Mail list logo