[Bug tree-optimization/14841] [tree-ssa] const_array[CST] is not folded
stevenb at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Aug 31 09:38:00 GMT 2004
------- Additional Comments From stevenb at suse dot de 2004-08-31 09:38 -------
Subject: Re: [tree-ssa] const_array[CST] is not folded
On Tuesday 31 August 2004 04:06, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-31
> 02:06 ------- Because you cannot do it in fold because we get the
> expression a[2] which is part of the bigger expression &a[2] which means
> that we cannot fold the first expression.
Exactly. CCP is the right place for this.
The expr.c hack can probably be removed when the patch is in, if
somebody is interested.
Gr.
Steven
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14841
More information about the Gcc-bugs
mailing list