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++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new



------- Comment #5 from dodji at gcc dot gnu dot org  2008-08-14 16:06 -------
Created an attachment (id=16074)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16074&action=view)
third fix candidate

This patch tries another approach.
Basically it changes the low level function (shared with the C front-end) that
tests if an integer value fits within a given type.
It provides a special casing for integers of type sizetype.


-- 


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


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