[Bug middle-end/69537] [6 Regression] Incorrect -Wmaybe-uninitialized warning with enum variable
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Jan 28 14:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69537
--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 28 Jan 2016, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69537
>
> --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Yeah, in the match.pd hunk there is quite a lot of == INTEGER_TYPE. I bet
> ENUMERAL_TYPE can be always handled the same, the question is about
> BOOLEAN_TYPE.
I refrained from editing the patterns I moved from fold-const.c at
the same time as I moved them just to avoid introducing new bugs.
You might confuse == INTEGER_CST with == INTEGER_TYPE though as
there is only one place with == INTEGER_TYPE in whole match.pd.
More information about the Gcc-bugs
mailing list