if-conversion passes
Ian Lance Taylor
iant@google.com
Tue Jun 18 20:24:00 GMT 2013
On Tue, Jun 18, 2013 at 11:40 AM, Abdul Wahid Memon
<engrwahidmemon@gmail.com> wrote:
> I searched in gcc source and found that there are three passes related
> to if-conversion optimization in ifcvt.c i.e. ce1, ce2, and ce3.
>
> My question is that if I compile any program with if-conversion
> disabled then why ce1 is being executed?
>
> $ -O3 -fno-if-conversion *.c
If you use -fno-if-conversion then the ce1 pass won't do anything, but
it will still be executed. See rest_of_handle_if_conversion in
ifcvt.c.
Ian
More information about the Gcc-help
mailing list