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: [PATCH][LTO] Re-set boolean_type_node in free_lang_data


> Sure, but that's a different boolean_type_node then.  And I don't
> see a problem with that - do you?

Yes, I do, I don't see what will prevent an optimizer from rewriting a boolean 
expression, say a condition, originally in 8-bit boolean, into an equivalent 
boolean expression in 1-bit boolean; this will change the semantics of the 
code, admittedly in rare corner cases but still.

> I'm not convinced there is any breakage.  I guess you do not
> have a testcase as otherwise you'd have shown it already, no?

Right, I haven't found any yet.  But I nevertheless think that the hack should 
be eliminated sooner than later.

-- 
Eric Botcazou


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