This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22371] C front-end produces mis-match types in MODIFY_EXPR
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2007 14:52:01 -0000
- Subject: [Bug c/22371] C front-end produces mis-match types in MODIFY_EXPR
- References: <bug-22371-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from joseph at codesourcery dot com 2007-08-22 14:52 -------
Subject: Re: C front-end produces mis-match types in MODIFY_EXPR
On Wed, 22 Aug 2007, rguenther at suse dot de wrote:
> As far as I see we still need to re-instantiate transitiveness
> of useless_type_converison_p somehow, by handling all of the
> aggregate type compatibilities in the middle-end without dispatching
> back to the frontends. Like with something like
Arrays aren't the only case where C type compatibility isn't transitive.
For example, two enums compatible with the same integer type aren't
compatible with each other.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22371