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++/35909] [4.3/4.4 Regression] ICE with bit-field and const references



------- Comment #10 from aoliva at gcc dot gnu dot org  2008-05-27 05:48 -------
Subject: Bug 35909

Author: aoliva
Date: Tue May 27 05:48:02 2008
New Revision: 135969

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135969
Log:
gcc/cp/ChangeLog:
PR c++/35909
* call.c (convert_like_real): Convert bitfield to desired type
before creating temporary.
gcc/testsuite/ChangeLog:
PR c++/35909
* g++.dg/conversion/bitfield9.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/conversion/bitfield9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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