On Wed, Jul 30, 2008 at 2:00 PM, Daniel Dunbar <[EMAIL PROTECTED]> wrote:
> +#if 0
> +/* Optimizer isn't smart enough to reduce this since we use
> +   memset. Hrm. */
> +int f1() {
> +  struct s0 x[2] = { {0} };
> +  return x[1].x;
> +}
> +#endif

It might be worth filing a bug on this.  I don't think it It should be
very difficult to make GVN smart enough to deal with this.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to