This is the mail archive of the gcc-patches@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: [PATCH] PR c/10175: Fix for -Wunreachable-code


Op ma 31-03-2003, om 21:19 schreef Mark Mitchell:
> 
> In my opinion, to do this right, the code needs to be moved further into
> the front end.  On the other hand, to do it the way we have it now,
> whatever is causing jump not to issue the warnings it used to should be
> figured out and fixed.

Moving the warning to the front end is not really an option if you wish
to preserve the current behavior.  never_reached_warning is (RTL) CFG
based, and we don't know anything about the CFG in the front end.

Greetz
Steven



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