bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #35524] Unreachable code is not an error


From: Per Bothner
Subject: [Bug-kawa] [bug #35524] Unreachable code is not an error
Date: Fri, 04 May 2012 06:10:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.36 Safari/536.5

Update of bug #35524 (project kawa):

                  Status:               Postponed => Fixed                  

    _______________________________________________________

Follow-up Comment #2:

I checked in a fix to make unreachable code a warning, not an error.  This is
somewhat risky, since I'm not sure if the code generator may get confused or
produce unverifiable code.

I'm moving to detecting unreachable code at data-flow time, and then dropping
unreachable expressions.  There is partial support for this; what is missing
is detecting infinite loops/recursion.   Of course this has to be approximate:
I have a vague plan for doing this, but it needs to be implemented and tested.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35524>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]