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] Fix some -Wunreachable-code issues


On Tue, Nov 05, 2002 at 06:22:45PM -0500, John David Anglin wrote:

 > There was I believe a suggested fix with PR 3846.  Was this looked at?

The suggested fix is to conditionalize that particular warning on
warn_notreached, such that the warning would only happen with
-Wunreachable-code.  But I don't think that is the correct fix for
this particular problem, since the code in question is, in fact,
reachable.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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