This is the mail archive of the 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/25183] [4.0/4.1/4.2 Regression] internal compiler error triggered by overflow in constant expression

------- Comment #4 from janis at gcc dot gnu dot org  2005-11-30 19:27 -------
A regression hunt using the testcase from comment #3 identified:

r85599 | nathan | 2004-08-05 09:03:42 +0000 (Thu, 05 Aug 2004) | 17 lines

        * tree.h (force_fit_type): Return a tree, take three flags.
        * fold-const.c (force_fit_type): Set TREE_OVERFLOW and
        (int_const_binop, const_binop): Adjust.
        (size_int_type): Do sign extension here.
        (fold_convert_const, optimize_bit_field_compare,
        decode_field_reference, all_ones_mask_p, fold_div_compare, fold,
        fold_negate_const, fold_abs_const, fold_not_const): Adjust.
        * tree.c (size_in_bytes, int_fits_type_p): Adjust.

        * cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call.

        * java/jcf-parse.c (get_constant): Adjust force_fit_type call.
        * java/lex.h (SET_LVAL_NODE_TYPE): Remove.
        * java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly.
        (do_java_lex): Likewise. Adjust force_fit_type call.


janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org

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