This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lno] internal compiler error: in record_dependences_for_modify_expr, at tree-scalar-evolution.c:3236
Hi,
On Fri, Feb 27, 2004 at 03:18:38PM +0100, Richard Guenther wrote:
>
> Btw. - all the use of switch (TREE_CODE_LENGTH (TREE_CODE (x))) in
> tree-scalar-evolution.c looks fragile, no? Shouldn't this switch for
> the TREE_CODE(x) instead to avoid surprises? At least a comment should
> describe why this "optimization" is legal.
>
> For the ICE below, s/abort()/return/ works for me, but that doesn't look
> less fragile either ;)
>
I'm rewriting all this stuff, and probably this is already fixed in
the new version of the analyzer. I plan to contribute it during this
weekend, and before I will check that this works in the new version.
Thanks for the bug report.