This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dead code remover under gcc -O and higher(Is there a flag to do this)




On 2017/12/4 10:25, carl hansen wrote:
line 12 , you say "void A( );"

say instead:
void A(){};

That solved it for me, using gcc7.2



Yeah, I miss the implementation, but I did this on purpose

I'm curious is there any options to eliminate this.
like gcc -O2 do.

thanks.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]