[Bug tree-optimization/59875] Missed unrolling opportunity
josephlawrie at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 19 11:03:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59875
--- Comment #2 from josephlawrie at hotmail dot com ---
(In reply to Marc Glisse from comment #1)
> I don't think it has anything to do with glibc or weak. If I patch
> tree-ssa-loop-ivcanon.c (couldn't find a sufficient option or parameter) to
> convince the compiler that it is ok to unroll the loop although it isn't an
> inner loop and it contains calls on the "hot" path, it manages to optimize
> foo to nothing.
Am I correct in understanding this would not be possible without -fno-weak or
when linking dynamically? In those cases, the function of delete could not be
know when optimizingm, surely?
More information about the Gcc-bugs
mailing list