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: RFA: PATCH to gimple_canonical_types_compatible_p for middle-end/66214


On Wed, Nov 25, 2015 at 4:55 PM, Jason Merrill <jason@redhat.com> wrote:
> The problem here is that we're trying to compare the TYPE_FIELDS of two
> variants of an incomplete type, which doesn't make sense; we shouldn't
> expect TYPE_FIELDS of an incomplete type to be meaningful.
>
> Tested x86_64-pc-linux-gnu.  OK for trunk?

Hmm, originally the code wasn't supposed to be called for incomplete types
as you generally can't compare them.  But now that the verifier uses the
predicate it instead should have this guard.

Richard.


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