This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/14841] [tree-ssa] const_array[CST] is not folded


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]