This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37932] narrowing conversion with -std=c++0x
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2008 04:17:36 -0000
- Subject: [Bug c++/37932] narrowing conversion with -std=c++0x
- References: <bug-37932-15329@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jason at gcc dot gnu dot org 2008-11-14 04:17 -------
Subject: Bug 37932
Author: jason
Date: Fri Nov 14 04:16:07 2008
New Revision: 141844
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141844
Log:
PR c++/37932
* typeck2.c (process_init_constructor_record): Update bitfield
handling.
(check_narrowing): Update bitfield handling, print source type.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/conversion/bitfield11.C
- copied unchanged from r141843,
trunk/gcc/testsuite/g++.dg/conversion/bitfield11.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/typeck2.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37932