[Bug middle-end/83023] branch probabilities pessimize malloc
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 17 11:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83023
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
True! I guess ptr != 0 should be differently predicted? Usually it might
work because code is
p = malloc ();
if (!p)
abort ();
More information about the Gcc-bugs
mailing list