[PATCH] Properly build integer constants

H.J. Lu hjl.tools@gmail.com
Tue May 3 03:08:00 GMT 2011


On Sun, Apr 24, 2011 at 8:11 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Apr 22, 2011 at 12:27 PM, Richard Guenther <rguenther@suse.de> wrote:
>>
>> There is a scary comment before build_int_cst_type why build_int_cst
>> can't be sane.  Fortunately it is not true.  If it were there would
>> be other code to be fixed.
>>
>> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>>
>> Richard.
>>
>> 2011-04-22  Richard Guenther  <rguenther@suse.de>
>>
>>        * tree.c (build_int_cst): Properly create canonicalized integer
>>        constants.
>>        (build_int_cst_type): Remove scary comments.
>>
>
> This caused:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48753
>

This also caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48846


-- 
H.J.



More information about the Gcc-patches mailing list