[Bug gcov-profile/58250] -fprofile-use causes: "warning: -fprefetch-loop-arrays is not supported with -Os"

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Thu Sep 5 19:36:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58250

--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> ---
> Prefetching generally increases code size, so I think we shouldn't do it, at
> least not by default.  So I'd say for !optimize_size -fprofile-use should just
> not add -fprefetch-loop-arrays.

Yep, I think -fprofile-use code should not enable code expanding optimizations
when
optimize_size.   I will look into that.

Honza
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.



More information about the Gcc-bugs mailing list