Age | Commit message (Collapse) | Author |
|
From-SVN: r80840
|
|
From-SVN: r55764
|
|
PR middle-end/7245
* config/i386/i386.c (const_int_1_31_operand): New.
* config/i386/i386.h (PREDICATE_CODES): Add it.
* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
* gcc.c-torture/compile/20020710-1.c: New test.
From-SVN: r55450
|
|
functions)
PR c++/7224
* class.c (add_method): Simplify.
PR c++/7224
* g++.dg/overload/error1.C: New test.
From-SVN: r55408
|
|
PR c++/6706
* dwarfout.c (output_reg_number): Fix warning message.
(output_bound_representation): Check SAVE_EXPR_RTL is not NULL
before using it.
PR c++/6706
* g++.dg/debug/debug6.C: New test.
* g++.dg/debug/debug7.C: New test.
From-SVN: r55263
|
|
multi-dim arrays)
PR c++/6944
* init.c (build_aggr_init): Remove qualifiers of init before calling
build_vec_init.
(build_vec_init): Flatten multi-dimensional array during cleanup.
(build_vec_delete_1): Abort if the type of each element is array.
* g++.dg/init/array4.C: New test.
* g++.dg/init/array5.C: New test.
From-SVN: r55213
|
|
PR c++/6716
* pt.c (can_complete_type_without_circularity): New function.
(instantiate_class_template): Use it.
* typeck2.c (incomplete_type_error): Improve error message
due to incomplete fields.
* g++.dg/template/instantiate1.C: New test.
From-SVN: r55181
|
|
PR c++/7112
* g++.dg/template/sizeof1.C: New test.
PR c++/7112
* mangle.c (write_expression): Add mangling for sizeof when
applied to a type.
* operators.def: Remove stale comment.
* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
Set it for the "st" operator.
(demangle_expression): Handle expressions with types as arguments.
From-SVN: r55168
|
|
mem)
PR target/7177
* gcc.c-torture/compile/20020701-1.c: New test.
From-SVN: r55145
|
|
PR preprocessor/7070
* c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
testsuite:
* gcc.dg/Wunknownprag.c: New tests.
From-SVN: r55045
|
|
PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.
PR c++/6695
* g++.dg/template/friend7.C: New file.
From-SVN: r55043
|
|
* reg-stack.c (convert_regs_exit): Push the registers to stack in
proper order.
* gcc.c-torture/execute/complex-6.c: New.
From-SVN: r54918
|
|
PR c++/6723
* pt.c (lookup_template_class): Don't build complete argument of
BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
argument.
* g++.dg/template/ttp4.C: New test.
From-SVN: r54837
|
|
From-SVN: r54780
|
|
From-SVN: r54724
|
|
From-SVN: r54652
|
|
From-SVN: r54564
|
|
From-SVN: r54554
|
|
PR optimization/6759
* cse.c (cse_insn): Fold src_eqv just once, store it folded back into
the REQ_EQUAL note.
* g++.dg/opt/cse1.C: New test.
From-SVN: r54471
|
|
PR c/6660
* c-decl.c (grokfield): Allow user defined types if they declare
structs or unions for unnamed fields.
* gcc.dg/20020527-1.c: New test.
From-SVN: r54468
|
|
PR c/6809
* print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
* gcc.dg/20020530-1.c: New test.
From-SVN: r54465
|
|
* varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
(compare_constant): Likewise.
(output_addressed_constants): Likewise.
* g++.dg/opt/vt1.C: New test.
From-SVN: r54461
|
|
with itself.
* cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
merge bb with itself.
* gcc.c-torture/compile/20020605-1.c: New test.
From-SVN: r54458
|
|
From-SVN: r54001
|
|
* cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
* g++.dg/opt/cse2.C: New test.
From-SVN: r53904
|
|
PR other/6782
* final.c (get_mem_expr_from_op): Return 0 if op is NULL.
* gcc.dg/verbose-asm.c: New test.
From-SVN: r53855
|
|
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.
From-SVN: r53848
|
|
* cppinit.c (mark_named_operators): Split out from init_builtins.
(struct builtin): Remove operator.
(CPLUS, OPERATOR, O): Kill
(struct named_op): New.
(cpp_finish_options): Call it from here instead.
(init_builtins): Don't do named operators.
testsuite:
* g++.dg/parse/named_ops.C: New test.
From-SVN: r53832
|
|
PR target/6753
* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
of x in constraints for clarity.
(sse_mov?fcc split): abort if op2 == op3.
(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
sse_movsfcc_const0_4): Add earlyclobber.
(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode.
Use Y instead of x in constraints.
* gcc.dg/20020523-1.c: New test.
From-SVN: r53782
|
|
* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.
* gcc.dg/20020517-1.c: New test.
From-SVN: r53777
|
|
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.
From-SVN: r53733
|
|
2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-2.c: xfail warnings for platforms that don't
support weak symbols.
* gcc.dg/weak-4.c: Likewise
* gcc.dg/weak-6.c: Likewise
From-SVN: r53602
|
|
2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-3.c: Add dg-excess-error comment for
cygwin, coff and h8300-*-hms targets
* gcc.dg/weak-5.c: Likewise
* gcc.dg/weak-7.c: Likewise
From-SVN: r53540
|
|
From-SVN: r53503
|
|
From-SVN: r53469
|
|
From-SVN: r53466
|
|
PR target/6429
* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
base multilibs.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
* lib/g++.exp (g++_link_flags): Likewise.
* lib/objc.exp (objc_target_compile): Likewise.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
* testsuite/lib/libjava.exp (libjava_arguments): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
From-SVN: r53310
|
|
compile/20011119-2.c)
PR c/6569.
* varasm.c (mark_weak): New function.
(merge_weak): Use it. Do not call declare_weak.
(declare_weak): Use merge_weak.
PR c/6569
* gcc.dg/weak-3.c: Update location of warning messages.
* gcc.dg/weak-5.c: Likewise.
From-SVN: r53292
|
|
PR target/6542
* config/sparc/sparc.h (leaf_reg_remap): Remove const.
(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
fill leaf_reg_remap with identity.
* config/sparc/sparc.c (leaf_reg_remap): Remove const.
* gcc.dg/20020503-1.c: New test.
From-SVN: r53127
|
|
* gcc.dg/cpp/cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dD-M.c: New test.
* gcc.dg/cpp/cmdlne-dN-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
* gcc.dg/cpp/cmdlne-dM-dD.c: New test.
From-SVN: r53120
|
|
* init.c (perform_base_cleanups): Correct order of base class
cleanups.
* g++.dg/init/dtor1.C: Make it tougher.
From-SVN: r53060
|
|
week))
PR c++/6527
* init.c (perform_base_cleanups): Emit cleanups in reverse order
of construction.
From-SVN: r53032
|
|
PR c++/6477
* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
non-NULL first.
* g++.dg/parse/typedef1.C: New test.
From-SVN: r52896
|
|
PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.
PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.
PR c++/6486
* g++.dg/template/friend6.C: New test.
PR c++/6492
* g++.dg/init/copy1.C: New test.
From-SVN: r52894
|
|
const T& )')
cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.
From-SVN: r52887
|
|
PR optimization/6475
* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
register of REGNO_DECL (i).
* Makefile.in (reload1.o): Add $(TREE_H).
* gcc.dg/20020426-2.c: New test.
From-SVN: r52854
|
|
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/6343
* c-decl.c (duplicate_decls): Call merge_weak.
* c-pragma.c (apply_pragma_weak): Warn about misuse.
* output.h (merge_weak): Prototype merge_weak.
* varasm.c (merge_weak): New function.
(declare_weak): Make sure we don't give an error on VAR_DECLs.
Mark RTL with SYMBOL_REF_WEAK.
cp:
* decl.c (duplicate_decls): Call merge_weak.
testsuite:
* gcc.dg/weak-[2-7].c: New tests.
From-SVN: r52848
|
|
PR c++/6497
* g++.dg/inherit/access2.C: New test.
From-SVN: r52818
|
|
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.
PR c++/6497
* method.c (do_build_assign_ref): Pass a derivation to
build_method_call when calling base class assignment operators.
PR c++/6497
* g++.dg/inherit/access2.C: New test.
PR bootstrap/6445
* gcc.dg/20020426-1.c: New test.
From-SVN: r52808
|
|
From-SVN: r52806
|