- 03 Aug, 2002 3 commits
-
-
* explow.c (int_expr_size): New fn. * expr.c (expand_expr) [CONSTRUCTOR]: Use it. * expr.h: Declare it. From-SVN: r56009
Jason Merrill committed -
* testsuite/26_numerics/valarray_name_lookup.cc: Rename from testsuite/26_numerics/valarray_name_lookup.C From-SVN: r56008
Gabriel Dos Reis committed -
From-SVN: r56007
GCC Administrator committed
-
- 02 Aug, 2002 37 commits
-
-
* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates. * include/bits/valarray_meta.h (__shift_left): Fix typo. (_BinFunClos<>): Remove. (_BinFunBase<>): Likewise. (_BinFunBase1<>):Likewise. (_BinFunBase2<>): Likewise. (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_BINARY_OPERATOR): Likewise. (_DEFINE_EXPR_BINARY_FUNCTION): Likewise. * include/std/std_valarray.h: Dont #include <functional> anymore. (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>, _Shift_right<>): Remove. (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation. (_DEFINE_BINARY_OPERATOR): Tweak definition. (_DEFINE_LOGICAL_OPERATOR): Remove. * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests. From-SVN: r56001
Gabriel Dos Reis committed -
* init.c (build_member_call): Use build_new_method_call, not build_method_call. * g++.dg/inherit/access3.C: New test. From-SVN: r56000
Mark Mitchell committed -
* Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to gengtype-* dependencies. From-SVN: r55999
Krister Walfridsson committed -
2002-08-02 Eric Christopher <echristo@redhat.com> * config.gcc (mips*-*-linux*): Fix ordering of tm_file. * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change #ifndef to #undef. (TARGET_MEM_FUNCTIONS): Define instead of define to 1. From-SVN: r55998
Eric Christopher committed -
From-SVN: r55997
Krister Walfridsson committed -
From-SVN: r55996
Krister Walfridsson committed -
From-SVN: r55995
Mark Mitchell committed -
* call.c (build_method_call): Issue a more helpful error message about ambiguous method names. From-SVN: r55994
Mark Mitchell committed -
* include/bits/valarray_meta.h (_UnFunBase<>): Remove. (_UnFunClos<>): Same. (_UnBase<>): Reformat. Make first template-parameter non template. (_UnClos<>): Likewise. (_Expr<>): Reformate. Adjust unary member operator return types. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_UNARY_FUNCTION): Likewise. * include/std/std_valarray.h (_UnClos<>): Adjust declaration. (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member operator return types. Reformat. (_Bitwise_not): Remove. (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition. * testsuite/26_numerics/valarray_name_lookup.C: New test. From-SVN: r55993
Gabriel Dos Reis committed -
* tree.c (build_shared_int_cst): Make cache file scope, and GTY it. From-SVN: r55992
Nathan Sidwell committed -
PR optimize/7067 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT small if optimizing for size. From-SVN: r55991
David Edelsohn committed -
2002-08-02 Danny Smith <dannysmith@users.sourceforge.net> * config/os/newlib/ctype_inline.h (is): Don't offset _M_table. (scan_is): Use this->is. (scan_not): Likewise. From-SVN: r55990
Benjamin Kosnik committed -
2002-08-02 Danny Smith <dannysmith@users.sourceforge.net> * config/os/newlib/ctype_inline.h (is): Don't offset _M_table. (scan_is): Use this->is. (scan_not): Likewise. From-SVN: r55989
Danny Smith committed -
2002-08-02 Benjamin Kosnik <bkoz@redhat.com> Revert PR libstdc++/6594 * src/strstream.cc (strstreambuf): Revert. (strstreambuf::overflow): Same. (strstreambuf::~strstreambuf): Same. * testsuite/backward/strstream_members.cc (test02): Add. * docs/html/abi.txt: Update. Spell check. * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test. * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES. * testsuite/Makefile.in: Regenerate. * testsuite/testsuite_hooks.h: Use __throw_exception_again, include functexcept.h so that -fno-exceptions will build. From-SVN: r55988
Benjamin Kosnik committed -
* configure.in (FORBUILD): Use $build_alias. * configure: Regenerated. From-SVN: r55987
Daniel Jacobowitz committed -
* config.gcc: Don't include mips/abi64.h in $tm_file. * hard-reg-set.h (call_really_used_regs): Declare. * config/mips/abi64.h: Remove file. * config/mips/linux.h, * config/mips/iris6.h: Don't include it. * config/mips/mips-protos.h (mips_conditional_register_usage): Declare. * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it. (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING, FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING, FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN): Bring across definitions from abi64.h. (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS. (BIGGEST_MAX_ARGS_IN_REGISTERS): New. (struct mips_args): Use it. * config/mips/mips.c (mips_conditional_register_usage): Define. From-SVN: r55986
Richard Sandiford committed -
* include/bits/valarray_meta.h (__unary_plus, __negate, __bitwise_not, __plus, __minus, __multiplies, __divides, __modulus, __bitwise_xor, __bitwise_or, __bitwise_and, __shift_left, __shift_right, __logical_and, __logical_or, __logical_not, __equal_to, __not_equal_to, __less, __less_equal, __greater_equal, __greater, __atan2, __pow): New function object classes. (__fun<>): New function traits class. From-SVN: r55985
Gabriel Dos Reis committed -
* langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro. * langhooks.c (lhd_expr_size): Define default. * langhooks.h (struct lang_hooks): Add expr_size. * explow.c (expr_size): Call it. * expr.c (store_expr): Don't copy an expression of size zero. (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much to store. * Makefile.in (builtins.o): Depend on langhooks.h. * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define. (cp_expr_size): New fn. * call.c (build_over_call): Lose empty class hackery. (convert_arg_to_ellipsis): Promote non-POD warning to error. * typeck.c (build_modify_expr): Don't use save_expr on an lvalue. From-SVN: r55983
Jason Merrill committed -
* semantics.c (expand_body): Do tree optimization in the function context, too. From-SVN: r55982
Jason Merrill committed -
* Makefile.in (ra-debug.o): Depend on $(TM_P_H). * ra-debug.c: Include "tm_p.h". * ra-rewrite.c (is_partly_live_1): Change return type to bool. From-SVN: r55981
Kaveh R. Ghazi committed -
2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl> * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed when not honoring signalling NaNs. (simplify_ternary_operation): a == b has a definite value when not honoring NaNs. From-SVN: r55980
Toon Moene committed -
From-SVN: r55979
Jason Merrill committed -
From-SVN: r55978
GCC Administrator committed -
From-SVN: r55972
Stan Shebs committed -
* ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, plays nice with Darwin headers. (_BSD_RUNE_T_DEFINED_): Likewise. (from Andr Co-Authored-By: Andreas Tobler <toa@pop.agri.ch> From-SVN: r55971
Stan Shebs committed -
2002-08-01 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa64sb1-*-elf*): New configuration. (mipsisa64sb1el-*-elf*): Likewise. * config/mips/mips.c (mips_cpu_info_table): Add sb1. * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. (TARGET_SB1, TUNE_SB1): New macros. * doc/invoke.texi: Add sb1 to documentation for MIPS -march and -mtune flags. From-SVN: r55970
Chris Demetriou committed -
* c-common.c (c_common_init): -Wtraditional also implies -Wlong-long. * cppinit.c (cpp_post_options): Likewise. * cppexp.c (cpp_classify_number): Suppress -Wtraditional warning about 'LL' suffix (but not 'ULL' etc) when -Wno-long-long is in effect. * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]: Check for failing time()/localtime(), issue a warning, and make __TIME__ and __DATE__ expand to fallback strings. * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__ and __TIME__ when the date and time cannot be determined. From-SVN: r55969
Zack Weinberg committed -
From-SVN: r55968
Aldy Hernandez committed -
From-SVN: r55967
Alan Modra committed -
2002-08-01 Daniel Jacobowitz <drow@mvista.com> * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H). From-SVN: r55966
Daniel Jacobowitz committed -
2002-08-01 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa64sb1-*-elf*): New configuration. (mipsisa64sb1el-*-elf*): Likewise. * config/mips/mips.c (mips_cpu_info_table): Add sb1. * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. (TARGET_SB1, TUNE_SB1): New macros. * doc/invoke.texi: Add sb1 to documentation for MIPS -march and -mtune flags. From-SVN: r55965
Chris Demetriou committed -
varasm.c (asm_emit_uninitialized): Return false if global BSS and ASM_EMIT_BSS not supported by target. * varasm.c (asm_emit_uninitialized): Return false if global BSS and ASM_EMIT_BSS not supported by target. (assemble_variable): Do not duplicate uninitialized logic. Fall through if asm_emit_uninitialized failed. From-SVN: r55964
David Edelsohn committed -
2002-08-01 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro. From-SVN: r55963
Chris Demetriou committed -
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define. (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define. From-SVN: r55962
Alan Modra committed -
* config/rs6000/rs6000.c (output_toc): Don't use lshift_double when HOST_BITS_PER_WIDE_INT == 64. From-SVN: r55961
Alan Modra committed -
* df.c (df_insn_table_realloc): Change parameter to unsigned. * optabs.c (expand_binop): Make variable unsigned. * simplify-rtx.c (simplify_subreg): Likewise. * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. From-SVN: r55960
Kaveh R. Ghazi committed -
2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION. From-SVN: r55959
Franz Sirl committed
-