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++/31273] [4.2/4.3 Regression] Erroneous bitfield conversions to boolean values



------- Comment #6 from mmitchel at gcc dot gnu dot org  2007-03-23 04:26 -------
Subject: Bug 31273

Author: mmitchel
Date: Fri Mar 23 04:26:13 2007
New Revision: 123149

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123149
Log:
            Mark Mitchell  <mark@codesourcery.com>
        PR c++/31273
        * call.c (standard_conversion): Use type_decays_to.  Keep FCODE
        consistent with FROM.
        PR c++/31273
        * g++.dg/expr/bitfield7.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/expr/bitfield7.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/call.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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