[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test
Andrew Pinski
pinskia@physics.uc.edu
Mon Sep 18 17:19:00 GMT 2006
On Mon, 2006-09-18 at 13:48 +0000, ebotcazou at gcc dot gnu dot org
wrote:
>
> ------- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-09-18 13:48 -------
> > + /* TER is not run at -O0, so our representation of alignment
> > + information and its propagation is non-existant. */
> > + if (!optimize)
> > + return 0;
>
> Perhaps
>
> if (!flag_tree_ter)
> return 0;
>
> would be more accurate?
Well -f{no-,}tree-ter can be still passed and you will get it wrong,
what about:
if (!optimize || !flag_tree_ter)
return 0;
Thanks,
Andrew Pinski
More information about the Gcc-bugs
mailing list