This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Resurrecting -Wunreachable
- From: Florian Weimer <fweimer at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 07 May 2014 13:56:51 +0200
- Subject: Re: Resurrecting -Wunreachable
- Authentication-results: sourceware.org; auth=none
- References: <5368ED25 dot 7090901 at redhat dot com> <CAFiYyc0+1TwHdez4hiop=PVyebTArswFKfebDPwAn_xpoad=qQ at mail dot gmail dot com>
On 05/06/2014 04:30 PM, Richard Biener wrote:
Like I have suggested in the past a good point to do this kind of analysis
on the (mostly, as you say) unoptimized IL is right after going into SSA
form and implementing said analysis as an IPA pass (yeah, that somewhat
conflicts).
I don't think this works for -Wunreachable because trivially unreachable
code is already gone when we enter SSA. Or am I missing something?
--
Florian Weimer / Red Hat Product Security Team