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++/35336] Broken diagnostic: 'bit_field_ref' not supported by dump_expr



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-03-05 10:32 -------
Subject: Bug 35336

Author: rguenth
Date: Wed Mar  5 10:32:07 2008
New Revision: 132894

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132894
Log:
2008-03-05  Richard Guenther  <rguenther@suse.de>

        PR c++/35336
        * tree.def (BIT_FIELD_REF): Document that operands 1 and 2
        should be constants.
        * tree-cfg.c (verify_expr): Verify it.
        * fold-const.c (fold_truthop): Remove code generating
        BIT_FIELD_REFs of structure bases.
        (fold_binary): Likewise.
        (fold_ternary): Position and size of BIT_FIELD_REFs are
        always host integers.
        (make_bit_field_ref): Remove.
        (optimize_bit_field_compare): Remove.
        (all_ones_mask_p): Remove.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree.def


-- 


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


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