https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112985
--- Comment #3 from Richard Biener ---
Btw, ideally you'd vectorize these compares ;) (there's a missed-optimization
bug for this I think)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112985
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112985
--- Comment #1 from chenglulu ---
(In reply to Xi Ruoyao from comment #0)
> /* { dg-do compile } */
> /* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
>
> int
> short_circuit (float *a)
> {
> float t1x = a[0];
> float t2x = a[1];