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: fix spurious error from switch-conversion on overaligned types


On Thu, Mar 9, 2017 at 10:24 PM, Olivier Hainque <hainque@adacore.com> wrote:
>> Yes, unconditionally.
>
> Here's an adjusted patch, pleasantly simpler indeed
> (thanks again for the suggestion).
>
> Test passes fine as well.
>
> Is this one OK ?

Ok.

Richard.

> Olivier
>
>         * tree-switch-conversion (array_value_type): Start by
>         resetting candidate type to it's main variant.
>
>
>
>
>


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