This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2008 11:00:48 -0000
- Subject: [Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new
- References: <bug-36741-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from dodji at gcc dot gnu dot org 2008-08-19 11:00 -------
Created an attachment (id=16097)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16097&action=view)
5th patch
This patch makes sure the integer type used in the conversion to a zero
extended unsigned integral has a precision that is high enough.
regtested on x86_64.
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16060|0 |1
is obsolete| |
Attachment #16083|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36741