- Feb 22, 2002
-
-
Aldy Hernandez authored
From-SVN: r49949
-
Aldy Hernandez authored
From-SVN: r49948
-
Aldy Hernandez authored
2002-02-21 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/attr-alwaysinline.c: New. * c-common.c (c_common_post_options): Set inline trees by default. * doc/extend.texi (Function Attributes): Document always_inline attribute. Update documentation about inlining when not optimizing. * cp/decl.c (duplicate_decls): Merge always_inline attribute. * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 unless DECL_ALWAYS_INLINE. * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 unless DECL_ALWAYS_INLINE. (c_disregard_inline_limits): Disregard if always_inline set. * langhooks.c (lhd_tree_inlining_disregard_inline_limits): Disregard if always_inline set. (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 unless DECL_ALWAYS_INLINE. * attribs.c (handle_always_inline_attribute): New. (c_common_attribute_table): Add always_inline. * config/rs6000/altivec.h: Add prototypes for builtins requiring the always_inline attribute. From-SVN: r49947
-
Eric Christopher authored
2002-02-21 Eric Christopher <echristo@redhat.com> * expmed.c (store_bit_field): Try to simplify the subreg before generating a new one when when the mode size of value is less than maxmode. From-SVN: r49946
-
- Feb 21, 2002
-
-
Richard Henderson authored
* emit-rtl.c (offset_address): Use simplify_gen_binary rather than gen_rtx_PLUS to form the sum. * explow.c (force_reg): Rearrange to not allocate new pseudo when force_operand returns a register. * expr.c (expand_assignment): Allow offset_rtx expansion to return a sum. Do not force addresses into registers. (expand_expr): Likewise. * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus to canonicalize arithmetic that didn't simpify. (simplify_plus_minus): New argument force; update all callers. Don't split CONST unless we can do something with it, and wouldn't lose the constness of the operands. * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs that we generated earlier. From-SVN: r49945
-
Tom Tromey authored
* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. (output_line_info): Use constant `1', with a long explanatory comment. * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. From-SVN: r49944
-
J"orn Rennecke authored
* jump.c (redirect_jump): If old label has no UID, don't try to delete it. From-SVN: r49943
-
J"orn Rennecke authored
* sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. If input is constant, do shifts at compile time. From-SVN: r49942
-
Joseph Myers authored
From-SVN: r49941
-
Jakub Jelinek authored
PR optimization/4994 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX register moves. * g++.dg/opt/mmx1.C: New test. From-SVN: r49939
-
Jakub Jelinek authored
PR c++/4574 * expr.h (expand_and): Add mode argument. * expmed.c (expand_and): Add mode argument. (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. * expr.c (store_field, expand_expr, do_store_flag): Likewise. * except.c (expand_builtin_extract_return_addr): Likewise. * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). * config/c4x/c4x.md: Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). * gcc.dg/20020220-1.c: New test. From-SVN: r49938
-
Jakub Jelinek authored
PR c/4697: * stmt.c (warn_if_unused_value): Move side effects test once more. * gcc.dg/20020220-2.c: New test. From-SVN: r49937
-
Torbjorn Granlund authored
* config/avr/avr.md: Add more patterns for mized-mode add and subtract (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). From-SVN: r49936
-
Alexandre Oliva authored
* rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of SUBREG or ZERO_EXTEND. From-SVN: r49935
-
Andreas Tobler authored
2002-02-21 Andreas Tobler <toa@pop.agri.ch> * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate number of GPRs for floating-point arguments. From-SVN: r49934
-
J"orn Rennecke authored
* sh.h (current_function_anonymous_args): Remove. (SETUP_INCOMING_VARARGS): Don't set it - just check that one of current_function_varargs and current_function_stdarg is set. * sh.c (sh_expand_prologue): Check current_function_varargs / current_function_stdarg / TARGET_SH5 instead of current_function_anonymous_args. * sh64.h (TARGET_VERSION): Define. Fix comments that to refer to SH architecture - the architecture is no longer exclusive to Hitachi. From-SVN: r49931
-
Nic Ferrier authored
* Makefile.am (libgcj.jar:): Change to -CLASSPATH (.class.h:): Ditto. (java/lang/ClassLoader.h:): Ditto. (java/lang/Thread.h:): Ditto. (java/lang/String.h:): Ditto. (java/lang/reflect/Constructor.h:): Ditto. (java/lang/reflect/Field.h:): Ditto. (java/lang/reflect/Method.h:): Ditto. (gnu/gcj/runtime/VMClassLoader.h:): Ditto. (java/io/ObjectInputStream$$GetField.h:): Ditto. (java/io/ObjectOutputStream$$PutField.h:): Ditto. * Makefile.in: Rebuilt with libgcj Automake. From-SVN: r49927
-
GCC Administrator authored
From-SVN: r49925
-
David Edelsohn authored
From-SVN: r49924
-
David Edelsohn authored
2002-02-20 David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize VRSAVE_REGNO on TARGET_ALTIVEC. 2002-02-20 Alan Modra <amodra@bigpond.net.au> * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant bits of SImode const_int. (includes_rshift_p): Likewise. (print_operand): Call mask_operand and mask64_operand with correct mode. (rs6000_output_function_epilogue): Pad traceback table to word. * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and mask64_operand with correct mode. (RETURN_IN_MEMORY): Use HOST_WIDE_INT, not HOST_WIDEST_INT. (FUNCTION_ARG_REGNO_P): Correct parentheses. From-SVN: r49923
-
- Feb 20, 2002
-
-
Nic Ferrier authored
* gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes `--classpath.' * gjavah.c: Likewise. * jcf-dump.c: Likewise. * lang-options.h: Likewise. * lang.c: Likewise. * jcf-path.c: Updated comment. (jcf_path_classpath_arg): Renamed `jcf_path_CLASSPATH_arg.' (jcf_path_CLASSPATH_arg): Renamed `jcf_path_classpath_arg.' * jcf.h (jcf_path_CLASSPATH_arg): Ditto. (jcf_path_CLASSPATH_arg): Ditto. (classpath_u): Updated leading comment. From-SVN: r49922
-
Jakub Jelinek authored
PR debug/4461 * varasm.c (get_pool_constant_mark): New. * rtl.h (get_pool_constant_mark): Add prototype. * dwarf2out.c (mem_loc_descriptor): A pool constant cannot be represented if it has not been output. * gcc.dg/debug/20020220-1.c: New test. From-SVN: r49921
-
Alexandre Oliva authored
* combine.c (do_SUBST): Sanity check substitutions of CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a CONST_INT into its operand. (known_cond): Likewise, for ZERO_EXTEND. * simplify-rtx.c (simplify_unary_operation): Fix condition to allow for simplification of wide modes. Reject CONST_INTs in ZERO_EXTEND when their actual mode is not given. From-SVN: r49920
-
Alexandre Oliva authored
From-SVN: r49919
-
Nic Ferrier authored
* gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes `--classpath.' * gjavah.c: Likewise. * jcf-dump.c: Likewise. * lang-options.h: Likewise. * lang.c: Likewise. * jcf-path.c: Updated comment. (jcf_path_classpath_arg): Renamed `jcf_path_CLASSPATH_arg.' (jcf_path_CLASSPATH_arg): Renamed `jcf_path_classpath_arg.' * jcf.h (jcf_path_CLASSPATH_arg): Ditto. (jcf_path_CLASSPATH_arg): Ditto. (classpath_u): Updated leading comment. From-SVN: r49918
-
Alexandre Oliva authored
* c-decl.c (pushdecl): If no global declaration is found for an extern declaration in block scope, try a limbo one. From-SVN: r49917
-
Jakub Jelinek authored
PR c++/4401 * c-common.c (pointer_int_sum): Moved from... * c-typeck.c (pointer_int_sum): ...here. * c-common.h (pointer_int_sum): Add prototype. * typeck.c (cp_pointer_int_sum): Renamed from pointer_int_sum, call pointer_int_sum. * g++.dg/opt/ptrintsum1.C: New test. From-SVN: r49916
-
Jakub Jelinek authored
PR c++/5713 * c-decl.c (duplicate_decls): Return 0 if issued error about redeclaration. * decl.c (duplicate_decls): Return 0 if issued error about redeclaration. * gcc.dg/noncompile/20020220-1.c: New test. From-SVN: r49915
-
Jakub Jelinek authored
PR c/4389 * tree.c (host_integerp): Ensure that the constant integer is representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT when pos is zero or non-zero respectively. Clarify comment. * c-format.c (check_format_info_recurse): Fix host_integerp usage; the pos argument should be zero when assigning to a signed HOST_WIDE_INT. * gcc.dg/20020219-1.c: New test. From-SVN: r49914
-
Phil Edwards authored
2002-02-20 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version. (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version. * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script. * aclocal.m4: Regenerate. * configure: Regenerate. * config/linker-map.dummy: New file. Contains nothing useful. From-SVN: r49913
-
Richard Henderson authored
* config/i386/i386.c (ix86_expand_vector_move): Use the mode of the operand, rather than assuming TImode. (ix86_expand_binop_builtin): Cope with commutative patterns using nonimmediate_operand for both operands. (ix86_expand_timode_binop_builtin): Likewise. (ix86_expand_store_builtin): Validate operand 1. (ix86_expand_unop1_builtin): Likewise. From-SVN: r49912
-
Philip Blundell authored
2002-02-20 Philip Blundell <philb@gnu.org> PR 5705 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. From-SVN: r49911
-
Benjamin Kosnik authored
2002-02-20 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/money_put_members_char.cc: Fix. * testsuite/22_locale/money_put_members_wchar_t.cc: Fix. * testsuite/27_io/standard_manipulators.cc: New file. * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing. * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic(). From-SVN: r49910
-
Per Bothner authored
* builtins.c (check_for_builtin): New function. (build_call_or_builtin): Remove. * java-tree.h: Update accordingly. * expr.c (expand_invoke): Use build + check_for_builtin instead of build_call_or_builtin. * parse.y (patch_invoke): Likewise. This avoids needlessly creating a new CALL_EXPR node, which means we don't lose the CALL_USING_SUPER flag (which had caused jcf-write to incorrectly emit invokevirtual). From-SVN: r49909
-
Jakub Jelinek authored
From-SVN: r49908
-
Richard Henderson authored
PR c/5615 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. From-SVN: r49904
-
Tom Tromey authored
* config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define unconditionally. From-SVN: r49903
-
Alan Matsuoka authored
Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look for (const_int 0) in X not just INTVAL. From-SVN: r49902
-
Joseph Myers authored
From-SVN: r49901
-
Danny Smith authored
* config/os/mingw32/bits/ctype_noninline.h (ctype<char>::ctype): Remove default args from parm list. * config/os/djgpp/bits/ctype_noninline.h: Same. From-SVN: r49900
-