[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 4 17:29:16 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860
--- Comment #86 from Martin Liška <marxin at gcc dot gnu.org> ---
Optimized dump is equal:
void cl_optimization_save ()
{
vector(8) short int vect__2.20;
vector(16) char vect__2.19;
int val0.0_1;
int val1.15_3;
vector(4) int _22;
vector(4) int _25;
<bb 2> [local count: 1073741824]:
val0.0_1 = val0;
_25 = {val0.0_1, val0.0_1, val0.0_1, val0.0_1};
val1.15_3 = val1;
_22 = {val0.0_1, val0.0_1, val0.0_1, val1.15_3};
vect__2.20_26 = VEC_PACK_TRUNC_EXPR <_25, _25>;
vect__2.20_27 = VEC_PACK_TRUNC_EXPR <_25, _22>;
vect__2.19_28 = VEC_PACK_TRUNC_EXPR <vect__2.20_26, vect__2.20_27>;
MEM <vector(16) char> [(char *)&cl_optimization_save_ptr] = vect__2.19_28;
return;
}
More information about the Gcc-bugs
mailing list