This is the mail archive of the gcc-bugs@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]

[Bug c/22371] C front-end produces mis-match types in MODIFY_EXPR



------- 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


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