------- Comment #22 from joseph at codesourcery dot com 2010-02-23 16:32 ------- Subject: Re: [4.5 Regression] c-c++-common/pr41779.c doesn't work
On Tue, 23 Feb 2010, manu at gcc dot gnu dot org wrote: > ------- Comment #20 from manu at gcc dot gnu dot org 2010-02-23 08:39 ------- > (In reply to comment #19) > > > > The proposed logic is the same, *except* that the conversion to a common > > type goes via the semantic type, *if* there is excess precision involved > > *and* the operand being converted had integer type. > > In order to know the common_type I need to move the test for build_type before > the calls to convert_and_check. What is build_type for? build_type is for comparisons, when the (semantic) type of the result of the expression is not the same as the (semantic) common type of the operands. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43128