- 14 Oct, 2003 33 commits
-
-
* configure.in: Clean up some feedback echoes. * configure: Regenerate. From-SVN: r72503
Nathanael Nerode committed -
From-SVN: r72501
Nathanael Nerode committed -
From-SVN: r72499
Nathanael Nerode committed -
From-SVN: r72497
Nathanael Nerode committed -
PR c++/11878 * tree.c (build_target_expr_with_type): Call force_rvalue for classes with non-trivial copy ctors. From-SVN: r72496
Jason Merrill committed -
PR c++/11063 * typeck.c (build_modify_expr): Call convert rather than abort. From-SVN: r72495
Jason Merrill committed -
PR c++/11878 * tree.c (build_target_expr_with_type): Call force_rvalue for classes with non-trivial copy ctors. PR c++/11063 * typeck.c (build_modify_expr): Call convert rather than abort. From-SVN: r72494
Jason Merrill committed -
Breack out decl.c (3/n) * name-lookup.c: Include flags.h (lookup_name_current_level): Make static. (add_decl_to_level): Likewise. (push_local_binding): Likewise. (push_overloaded_decl): Likewise. (lookup_using_namespace): Likewise. (qualified_lookup_using_namespace): Likewise. (lookup_type_current_level): Likewise. (unqualified_namespace_lookup): Likewise. (namespace_ancestor): Likewise. (push_using_directive): Likewise. * decl.c (pushdecl): Move to name-lookup.c. (pushdecl_top_level_1): Likewise. (pushdecl_top_level): Likewise. (pushdecl_top_level_and_finish): Likewise. (maybe_push_decl): Likewise. (push_using_decl): Likewise. (push_overloaded_decl): Likewise. (make_anon_name): Likewise. (anon_cnt): Likewise. (clear_anon_tags): Likewise. (maybe_inject_for_scope_var): Likewise. (check_for_out_of_scope_variable): Likewise. * Make-lang.in (cp/name-lookup.o): Depend on flags.h. * decl.c (warn_extern_redeclared_static): Export. * cp-tree.h (warn_extern_redeclared_static): Declare. From-SVN: r72492
Gabriel Dos Reis committed -
From-SVN: r72490
Nathanael Nerode committed -
* config/ia64/ia64.c (ia64_expand_call): Force function address to DImode. * config/ia64/ia64.md (call_gp): Put DImode on operand 0. From-SVN: r72489
Steve Ellcey committed -
* config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm", "mulsf3", "*mulsf3", "*mulsf3_ibm"): Do not clobber CC. ("divdf3", "*divdf3", "*divdf3_ibm", "divsf3", "*divsf3", "*divsf3_ibm"): Likewise. From-SVN: r72488
Ulrich Weigand committed -
gcc: * config.gcc, config/m68hc11/t-m68hc11-gas: Replace uses of target_alias with target_noncanonical. ada: * Make-lang.in: Replace uses of $(target_alias) with $(target_noncanonical). * ada/Makefile.in: Remove unused mention of $(target_alias). cp: * Make-lang.in: Replace uses of $(target_alias) with $(target_noncanonical). java: * Make-lang.in: Replace uses of $(target_alias) with $(target_noncanonical). From-SVN: r72487
Nathanael Nerode committed -
* stor-layout.c (do_type_align): New fn, split out from... (layout_decl): ...here. Do all alignment calculations for FIELD_DECLs here. (update_alignment_for_field): Not here. (start_record_layout, debug_rli): Remove unpadded_align. * tree.h (struct record_layout_info_s): Remove unpadded_align. * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN or DECL_MODE on the CONST_DECLs. (finish_struct): Don't mess with DECL_ALIGN. From-SVN: r72485
Jason Merrill committed -
2003-10-14 Paolo Bonzini <bonzini@gnu.org> * interpret.cc (_Jv_InterpMethod::run): Don't use libffi types, they were meant to be internal. * gcj/javaprims.h (_Jv_ulong): New typedef. From-SVN: r72482
Paolo Bonzini committed -
From-SVN: r72481
Carlo Wood committed -
PR libstdc++/12600 * include/bits/demangle.h (session<Allocator>:: decode_unqualified_name(string_type& output)): Fail on a <operator-name> when decoding <template-argument>. * testsuite/demangle/regression/cw-15.cc: New. From-SVN: r72480
Carlo Wood committed -
2003-10-14 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/11480 * include/bits/stl_algo.h (unique): Fix. * testsuite/25_algorithms/unique.cc: Move to unique/1.cc. * testsuite/25_algorithms/unique/11480.cc: New, from the PR. * testsuite/25_algorithms/unique/2.cc: New. From-SVN: r72478
Paolo Carlini committed -
From-SVN: r72476
Tom Tromey committed -
* expr.c (block_move_libcall_safe_for_call_parm): Clean up, and add case for machines where outgoing register parameters get stack space. From-SVN: r72474
Geoffrey Keating committed -
darwin.c (machopic_indirect_data_reference): Use a scratch register when generating indirect address. * config/darwin.c (machopic_indirect_data_reference): Use a scratch register when generating indirect address. From-SVN: r72473
Geoffrey Keating committed -
2003-10-14 Paolo Carlini <pcarlini@unitus.it> * src/localename.cc (_M_replace_categories, M_replace_facet): Const-ify a couple of variables. From-SVN: r72472
Paolo Carlini committed -
* MAINTAINERS: Move myself from 'Write After Approval' to 'Various Maintainers' section as middle-end maintainer. From-SVN: r72468
Roger Sayle committed -
PR optimization/9325 * gcc.c-torture/execute/20031003-1.c: Remove non-portable tests for overflowing floating point to integer conversion during RTL simplification. From-SVN: r72467
Roger Sayle committed -
* arm.c (arm_addimm_operand): MODE arguemnt is unused. * arm.md (cbranchne_decr1): Fix bootstrap warning. From-SVN: r72466
Richard Earnshaw committed -
* fixinc/inclhack.def (alpha_pthread_gcc): New fix. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New testcase. Fixes PR bootstrap/9330. From-SVN: r72465
Rainer Orth committed -
2003-10-13 Eric Christopher <echristo@redhat.com> * config/frv/frv.c (frv_adjust_field_align): Redo check for too wide bitfields. (frv_hard_regno_mode_ok): Add SPR_P and AP_FIRST. * config/frv/frv.h (FUNCTION_PROFILER): Remove abort call. (SBSS_SECTION_ASM_OP): Remove. (EXTRA_SECTIONS): Remove in_sbss. (EXTRA_SECTION_FUNCTIONS): Remove SBSS_SECTION_FUNCTION. (SBSS_SECTION_FUNCTION, sbss_section): Remove. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change sbss_section to named_section. From-SVN: r72463
Eric Christopher committed -
* name-lookup.h (cxx_scope_find_binding_for_name): Don't export. (binding_for_name): Likewise. (cxx_binding_clear): Move to name-lookup.c. * name-lookup.c (cxx_scope_find_binding_for_name): Now static. (binding_for_name): Likewise. * decl2.c (is_ancestor): Move to name-lookup.c (namespace_ancestor): Likewise. (add_using_namespace): Likewise. (ambiguous_decl): Likewise. (lookup_using_namespace): Likewise. (qualified_lookup_using_namespace): Likewise. (set_decl_namespace): Likewise. (decl_namespace): Likewise. (current_decl_namespace): Likewise. (push_decl_namespace): Likewise. (pop_decl_namespace): Likewise. (push_scope): Likewise. (pop_scope): Likewise. (struct arg_lookup): Likewise. (arg_assoc): Likewise. (arg_assoc_args): Likewise. (arg_assoc_type): Likewise. (add_function): Likewise. (arg_assoc_namespace): Likewise. (arg_assoc_class): Likewise. (arg_assoc_template_arg): Likewise. (do_namespace_alias): Likewise. (validate_nonmember_using_decl): Likewise. (do_nonmember_using_decl): Likewise. (do_toplevel_using_decl): Likewise. (do_local_using_decl): Likewise. (do_class_using_decl): Likewise. (do_using_directive): Likewise. (constructor_name_full): Likewise. (constructor_name): Likewise. (constructor_name_p): Likewise. From-SVN: r72462
Gabriel Dos Reis committed -
2003-10-14 Petur Runolfsson <peturr02@ru.is> Andreas Tobler <a.tobler@schweiz.ch> * src/locale.cc (locale::_S_initialize): Workaround a confusion of the use of the gthr API when __gthread_active_p() returns true. Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch> From-SVN: r72458
Petur Runolfsson committed -
* Makefile.in, configure.in, config.host, mkheaders.in: Replace uses of ${target_alias} for directory names (and other places which won't like the empty string) with ${target_noncanonical}. Introduce call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's available. * configure: Regenerate. From-SVN: r72457
Nathanael Nerode committed -
* config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern. * config/arm/arm.md: For splits which rely on conditional moves, remove ! TARGET_IWMMXT condition. From-SVN: r72456
Ian Lance Taylor committed -
2003-10-13 Ziemowit Laski <zlaski@apple.com> * objc/execute/_cmd.m: Fix typo. * objc.dg/image-info.m, objc.dg/symtab-1.m: Relax 'scan-assembler' regexp. * objc.dg/try-catch-1.m, objc.dg/try-catch-3.m, objc.dg/try-catch-4.m: Run on non-Darwin targets. * objc.dg/zero-link-2.m: Remove blank line. * objc.dg/zero-link-3.m: New test case. From-SVN: r72455
Ziemowit Laski committed -
From-SVN: r72453
GCC Administrator committed -
* ifcvt.c (num_removed_blocks): Rename to num_true_changes. (find_cond_trap): Always increment if we emit a conditional trap insn. From-SVN: r72450
David S. Miller committed
-
- 13 Oct, 2003 7 commits
-
-
From-SVN: r72448
Geoffrey Keating committed -
* gcc.dg/asm-names.c: Use scan-assembler-not rather than linker trickery. From-SVN: r72447
Geoffrey Keating committed -
PR c++/12370 * g++.dg/other/friend2.C: New test. * ChangeLog: Add PR number to patch for PR c++/12370. From-SVN: r72446
Volker Reichelt committed -
* java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed. (defineClass): Updated. (_Jv_NewClass): Likewise. * prims.cc (_Jv_InitPrimClass): Don't call _Jv_InitNewClassFields. From-SVN: r72444
Tom Tromey committed -
2003-10-13 Taras Judge <taras.judge@shaw.ca> PR libgcj/12592 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n, not just \n. From-SVN: r72443
Taras Glek committed -
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of HOST_FLAGS_TO_PASS. * Makefile.in: Regenerate. From-SVN: r72442
Nathanael Nerode committed -
* Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o with min-insn-modes.o. (STAGESTUFF): Add min-insn-modes.c. (genobjs): Add genmodes.o. (print-rtl.o, print-rtl1.o): Depend on $(TM_P_H). (insn-modes.o): Depend on $(TM_H) not $(GTM_H); also real.h. (min-insn-modes.c, min-insn-modes.o): New rules. (s-modes): Also generate min-insn-modes.c. ($(BUILD_PREFIX_1)insn-modes.o): Kill. * genmodes.c (struct mode_data): Add format field. (blank_mode, validate_mode, complete_mode): Update to match. (make_scalar_mode): Separate into make_int_mode and make_float_mode. (_SCALAR_MODE): Kill. (FLOAT_MODE, FRACTIONAL_FLOAT_MODE): Add format argument. (emit_insn_modes_c_header): Adjust. (emit_min_insn_modes_c_header, emit_real_format_for_mode) (emit_min_insn_modes_c): New functions. (emit_insn_modes_c): Call emit_real_format_for_mode. (main): Add -m option to generate min-insn-modes.c. * machmode.h: Update documentation. Add format argument to all uses of FLOAT_MODE. * real.c: Don't define real_format_for_mode here. * dwarfout.c: Move default definition of PRINT_REG... * defaults.h: ...here. * print-rtl.c: Include tm_p.h. (DEBUG_PRINT_REG, DEBUG_REGISTER_NAMES, debug_reg_names, reg_names): Kill. (print_rtx): Use PRINT_REG, not DEBUG_PRINT_REG. But surround this entire block with #ifndef GENERATOR_FILE. * regclass.c: Unconditionally define reg_names. * config/mips/mips.h, config/rs6000/rs6000.h, config/sh/sh.h Don't define DEBUG_REGISTER_NAMES. * config/rs6000/darwin.h: Don't use DEBUG_REGISTER_NAMES in redefinition of REGISTER_NAMES. * config/i386/i386.h: Don't define DEBUG_PRINT_REG. * combine.c: Change all preprocessor conditionals on EXTRA_CC_MODES to use SELECT_CC_MODE instead; rearrange a bit for clarity. * genopinit.c: Remove mention of EXTRA_CC_MODES in comment. * configure.in: Don't define EXTRA_CC_MODES. * configure, config.in: Regenerate. * doc/tm.texi: Remove documentation of EXTRA_CC_MODES. * config/arc/arc.c, config/m32r/m32r.c, config/sparc/sparc.c: May assume that GET_MODE_CLASS is accurate for extra CC modes at all times. * config/i860/i860.h (INIT_CUMULATIVE_ARGS): Pass correct number of arguments to aggregate_value_p. * genmodes.c (RESET_FLOAT_FORMAT, reset_float_format): New. * machmode.def: Explain ARCH-modes.def. Document RESET_FLOAT_FORMAT. Improve commentary on various mode clusters. Do not define OI, PQI, PHI, PSI, PDI, QF, HF, TQF, XF, or TF modes here. Remove backward-compatibility definition of CC. * config/alpha/alpha-modes.def: New file; define TF mode. * config/arc/arm-modes.def: Define XF mode. * config/c4x/c4x-modes.def: Define QF and HF modes. Unset float format for SF and DF modes. * config/dsp16xx/dsp16xx-modes.def: New file; define HF mode. * config/i386/i386-modes.def: Define XF and TF modes. * config/i960/i960-modes.def: Define TF mode. * config/ia64/ia64-modes.def: Define TF and OI modes. * config/m68k/m68k-modes.def: New file; define XF mode. * config/mips/mips-modes.def: New file; define TF mode, reset formats for SF and DF modes. * config/pa/pa-modes.def: Define TF mode. * config/rs6000/rs6000.c: Define TF and PSI modes. * config/s390/s390-modes.def: Define OI mode. * config/sh/sh-modes.def: New file; define PSI mode. * config/sparc/sparc-modes.def: Define TF mode. * config/vax/vax-modes.def: New file; reset formats for SF and DF modes. * config/c4x/c4x.c (c4x_override_options): No need to mess with real_format_for_mode or set REAL_MODE_FORMATs. (c4x_immed_int_constant): Don't apply GET_MODE_CLASS to rtx variable. * config/i386/i386.c (override_options): No need to set REAL_MODE_FORMATs here. * config/i960/i960.c (i960_initialize): Likewise. * config/m68k/m68k.c (m68k_override_options): Likewise. * config/ia64/ia64.c (ia64_override_options): Set REAL_MODE_FORMAT for TFmode only if not the default. * config/mips/mips.c (override_options): Likewise. * config/vax/vax.c (override_optionms): Set REAL_MODE_FORMAT for DFmode only if not the default. * config/i370/i370.h (RET_REG): Don't consider TFmode. * config/m68hc11/m68hc11.c (print_operand): Don't consider XFmode. * config/dsp16xx/dsp16xx.c (hard_regno_mode_ok): #if 0 out use of modes that don't appear anywhere in the machine description. * config/arc/arc-modes.def, config/arm/arm-modes.def * config/c4x/c4x-modes.def, config/frv/frv-modes.def * config/i386/i386-modes.def, config/i960/i960-modes.def * config/ia64/ia64-modes.def, config/mmix/mmix-modes.def * config/pa/pa-modes.def, config/pdp11/pdp11-modes.def * config/rs6000/rs6000-modes.def, config/s390/s390-modes.def * config/sparc/sparc-modes.def: Convert to new style for declaring extra CC modes. From-SVN: r72440
Zack Weinberg committed
-