- 26 Feb, 2002 1 commit
-
-
* expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law in EXPAND_SUM case. Use host_integerp/tree_low_cst. From-SVN: r50033
Richard Henderson committed
-
- 25 Feb, 2002 8 commits
-
-
* gcc.c-torture/execute/960416-1.x: New. * gcc.c-torture/execute/divconst-3.x: Likewise. From-SVN: r50029
Kazu Hirata committed -
PR target/5755 * config/i386/i386.c (ix86_return_pops_args): Only pop fake structure return argument if it was passed on the stack. * gcc.dg/20020224-1.c: New test. From-SVN: r50028
Jakub Jelinek committed -
* attribs.c (decl_attributes): Also re-layout PARM_DECL and RESULT_DECL. From-SVN: r50027
Jason Merrill committed -
* gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to link with shared_name only. * doc/invoke.texi (Link Options): Document new behavior. From-SVN: r50025
Alexandre Oliva committed -
From-SVN: r50022
GCC Administrator committed -
2002-02-25 Aldy Hernandez <aldyh@redhat.com> * c-typeck.c (push_init_level): Handle vectors. From-SVN: r50021
Aldy Hernandez committed -
* config/sparc/sparc.c (const64_high_operand): Zero-extend operands of SPARC_SETHI_P. (input_operand): Likewise. (sparc_emit_set_const32): Likewise. * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. (SPARC_SETHI32_P): Zero-extend operand from 32 bits. (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. (movdi_insn_sp64_vis): Likewise. (movdi split, movdf split): Use SETHI32. * doc/md.texi: Document SPARC constraints L, M and N. From-SVN: r50018
Alexandre Oliva committed -
2002-02-25 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md ("get_vrsave_internal"): New. ("*set_vrsave_internal"): use mfspr for Darwin. * config/rs6000/rs6000.c (rs6000_emit_prologue): Call gen_get_vrsave_internal. From-SVN: r50015
Aldy Hernandez committed
-
- 24 Feb, 2002 6 commits
-
-
From-SVN: r50012
Alan Modra committed -
From-SVN: r50011
Richard Kenner committed -
2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org> PR c++/4093 * cp-tree.h (SET_BINFO_MARKED): Cast false part of condition to void. From-SVN: r50008
Craig Rodrigues committed -
cpplex.c (cpp_interpret_charconst): Get signedness or otherwise of wide character constants correct. * cpplex.c (cpp_interpret_charconst): Get signedness or otherwise of wide character constants correct. * cppexp.c (lex): Get signedness of wide charconsts correct. * testsuite/gcc.dg/cpp/wchar-1.c: New test. From-SVN: r50005
Neil Booth committed -
* optabs.c (widen_operand): Only call convert_modes for promoted SUBREG if signedness matches. * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. From-SVN: r50004
Richard Kenner committed -
From-SVN: r50002
GCC Administrator committed
-
- 23 Feb, 2002 15 commits
-
-
* cpplib.c (glue_header_name): Use local buffer to build up header name. From-SVN: r49998
Neil Booth committed -
From-SVN: r49997
Neil Booth committed -
* config/h8300/h8300.c (output_simode_bld): Handle H8/300 and H8/300[HS] separately. * config/h8300/h8300.md: Remove the early clobber constraint from bit field patterns. From-SVN: r49995
Kazu Hirata committed -
* config/h8300/h8300.md (mulqihi3): Tighten predicates to register_operand. (mulhisi3): Likewise. (umulqisi3): Likewise. (umulhisi3): Likewise. From-SVN: r49994
Kazu Hirata committed -
* cppinit.c (output_deps): Correct test for stdout output. (init_dependency_output): Cure warning. From-SVN: r49993
Neil Booth committed -
* expr.c (store_expr): When converting expression to promoted equivalent type, allow using SUBREG_REG of TARGET as the target of the expansion of EXP. * loop.c (basic_induction_var, case SUBREG): Always look inside. * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. (alpha_emit_set_const): Handle SImode when can't make new pseudos. (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. From-SVN: r49992
Richard Kenner committed -
* doc/contribute.texi, doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, doc/standards.texi, doc/tm.texi: Remove trailing whitespace. From-SVN: r49991
Joseph Myers committed -
re PR rtl-optimization/5747 (ss20020218 fails to build binutils-2.11.93.0.2 on sparc-suse-linux - ICE in loop.c) PR optimization/5747 * loop.c (scan_loop): Update reg info if move_movables created new pseudos. * gcc.dg/20020222-1.c: New test. From-SVN: r49989
Jakub Jelinek committed -
From-SVN: r49987
GCC Administrator committed -
From-SVN: r49986
David Edelsohn committed -
From-SVN: r49984
Alan Modra committed -
2002-02-23 David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use gpc_reg_operand constraint. 2002-02-23 Alan Modra <amodra@bigpond.net.au> * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. Simplify comparison of `low'. (add_operand): Fix formatting. (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. (rs6000_stack_info): Remove redundant test setting push_p. (output_toc): Fix formatting. * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use cc_reg_not_cr0_operand constraint. (booldi3, boolcdi3 splitters): Same. From-SVN: r49983
David Edelsohn committed -
2002-02-23 Aldy Hernandez <aldyh@redhat.com> * altivec.h: Add extra level of parentheses on casts. From-SVN: r49982
Aldy Hernandez committed -
Fix for PR java/2369: * jvspec.c (verify_class_name): New function. (lang_specific_driver): Call it. (JAVA_START_CHAR_P): New macro. (JAVA_PART_CHAR_P): Likewise. From-SVN: r49981
Tom Tromey committed -
* gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with -shared-libgcc. From-SVN: r49979
David Edelsohn committed
-
- 22 Feb, 2002 10 commits
-
-
* class.c: Change vtable to be more compatible with g++ v3 abi. (get_dispatch_table): Prepend offset-to-top (always 0) and type_info pointer (currently unimplemented hence NULL) to vtable. Specifically, prepend offset-to-top and typeinfo ptr (currently null). (make_class_data): Variable dtable_start_offset is sizeof 2 pointers. Adjust vtable pointers by dtable_start_offse - i.e. skip new words. (build_dtable_decl): Add declarations for new fields. From-SVN: r49978
Per Bothner committed -
* expr.c (store_expr): When converting expression to promoted equivalent type, allow using SUBREG_REG of TARGET as the target of the expansion of EXP. * loop.c (basic_induction_var, case SUBREG): Always look inside. * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. (alpha_emit_set_const): Handle SImode when can't make new pseudos. (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. From-SVN: r49972
Richard Kenner committed -
PR c++/5748 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union decl if any of elements was TREE_USED. * g++.dg/opt/anonunion1.C: New test. From-SVN: r49971
Jakub Jelinek committed -
* config/sparc/sol2.h: Don't include sys/mman.h. * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. (arith_4096_operand): Don't throw high bits away. (const64_operand): Take sign extension of CONST_INTs into account. (const64_high_operand, sparc_emit_set_const32): Likewise. (GEN_HIGHINT64): Likewise. (sparc_emit_set_const64_quick1): Likewise. (const64_is_2insns): Likewise. (print_operand): Use trunc_int_for_mode for sign extension. * config/sparc/sparc.h (SMALL_INT32): Likewise. * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE chars. Assume CONST_INT is already properly sign-extended. (movdi split): Sign-extend each SImode part. (andsi3 split): Don't mask high bits off, so that result remains properly sign-extend. (iorsi3 split): Likewise. (xorsi3 split): Likewise. From-SVN: r49970
Alexandre Oliva committed -
PR other/5746 * semantics.c (finish_switch_cond): Don't call get_unwidened if error_mark_node. From-SVN: r49969
Jakub Jelinek committed -
parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns... * parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns drops it). However, we don't need to set it on the COMPOUND_EXPR - the caller does that. From-SVN: r49966
Per Bothner committed -
cp: PR c++/2645, DR 295 * cp-tree.h (tsubst_flags_t): Add tf_ignore_bad_quals, tf_keep_type_decl. (make_typename_type): Use tsubst_flags_t. * decl.c (make_typename_type): Adjust. Return non-artificial TYPE_DECLs, if required. (grokdeclarator): Simplify CVR qualification handling. Allow bad qualifiers on typedef types. * decl2.c (handle_class_head): Adjust make_typename_type call. * parse.y (nested_name_specifier): Likewise. (typename_sub0): Likewise. (typename_sub1): Likewise. * pt.c (convert_template_argument): Adjust make_typename_type return value. (tsubst): Adjust cp_build_qualified_type_real calls. (check_cv_quals_for_unify): Cope with alowing bad qualifications on template type parms. (instantiate_decl): Recheck substitutions to give warnings on bad qualifications. * tree.c (cp_build_qualified_type_real): Use tf_allow_bad_quals. testsuite: * g++.dg/template/qualttp19.C: New test. * g++.dg/template/qualttp20.C: New test. * g++.old-deja/g++.jason/report.C: Adjust expected errors * g++.old-deja/g++.other/qual1.C: Likewise. From-SVN: r49961
Nathan Sidwell committed -
From-SVN: r49960
Richard Sandiford committed -
From-SVN: r49957
GCC Administrator committed -
From-SVN: r49956
Diego Novillo committed
-