[Bug c++/81607] Conditional operator: "type mismatch in shift expression" error
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Mon Jul 31 09:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81607
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 31 Jul 2017, mpolacek at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81607
>
> --- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
> Actually I think richi's fix is the right one. Let me test.
Note for aggregate types fold_const might just ICE so I'm not 100% sure
we don't need some more guards on it. Like if type != expected-type or
so?
More information about the Gcc-bugs
mailing list