1. 26 May, 2005 21 commits
    • re PR translation/21768 (ICE in error message due to violation of coding conventions) · f49d8c52
      	PR c++/21768
      	* pt.c (redeclare_class_template): Change error message according
      	to coding conventions.
      
      From-SVN: r100206
      Volker Reichelt committed
    • re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous) · 10d877a8
      2005-05-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/13943
      	* include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
      	available when _GLIBCXX_USE_C99 is defined.
      	* testsuite/26_numerics/cstdlib/13943.cc: New.
      
      	* acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
      	also strtoll and strtoull for ac_c99_stdlib.
      	* configure: Regenerate.
      
      From-SVN: r100205
      Paolo Carlini committed
    • simplify-rtx.c (avoid_constant_pool_reference): Support offsetted addresses in the constant pool. · bdb82177
      2005-05-26  Paolo Bonzini  <bonzini@gnu.org>
      
      	* simplify-rtx.c (avoid_constant_pool_reference): Support
      	offsetted addresses in the constant pool.
      
      From-SVN: r100198
      Paolo Bonzini committed
    • df.h (DF_SUBREGS, [...]): New. · 57a95bc4
      2005-05-26  Paolo Bonzini  <bonzini@gnu.org>
      
      	* df.h (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New.
      	* df.c (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New.
      
      From-SVN: r100197
      Paolo Bonzini committed
    • re PR target/21716 (ICE in reg-stack.c's swap_rtx_condition) · 383898f7
      	PR target/21716
      	* reg-stack.c (swap_rtx_condition): Don't crash if %ax user was not
      	found in the basic block and last insn in the basic block is not
      	INSN_P.  Remove explicit unspec numbers that are no longer valid
      	from comments.
      
      From-SVN: r100196
      Jakub Jelinek committed
    • tree-vect-transform.c (vectorizable_operation): Try word_mode vectorization if… · 598b2024
      tree-vect-transform.c (vectorizable_operation): Try word_mode vectorization if UNITS_PER_WORD == UNITS_PER_SIMD_WORD...
      
      2005-05-26  Paolo Bonzini  <bonzini@gnu.org>
      
      	* tree-vect-transform.c (vectorizable_operation): Try word_mode
      	vectorization if UNITS_PER_WORD == UNITS_PER_SIMD_WORD, even
      	if a vector mode is available.
      
      testsuite/ChangeLog:
      2005-05-26  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.dg/vect/vect-7.c: Remove xfail for alpha.
      
      From-SVN: r100195
      Paolo Bonzini committed
    • linker-map.gnu: Add linkage support for no extern templates. · 36b72d8d
      
      2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/linker-map.gnu: Add linkage support for no extern templates.
      	(std::ios_base::_M_call_callbacks): Add.
      	(std::ios_base::_M_dispose_callbacks): Add.
      	(std::locale::facet::_S_get_c_name): Add.
      	(std::__copy_streambufs): Add.
      	* configure.ac (libtool_VERSION): To 6:5:0.
      	* configure: Regenerate.
      	* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
      
      From-SVN: r100193
      Benjamin Kosnik committed
    • re PR fortran/17283 (UNPACK issues) · ba4a3d54
      2005-05-26  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/17283
              * gfortran.fortran-torture/execute/intrinsic_unpack.f90:
              Test callee-allocated memory with write statements.
      
      2005-05-26  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/17283
              * intrinsics/unpack_generic.c:  Fix name of routine
              on top.  Update copyright years.
              (unpack1):  Remove const from return array descriptor.
              rs:  New variable, for calculating return sizes.
              Populate return array descriptor if ret->data is NULL.
      
      From-SVN: r100189
      Thomas Koenig committed
    • re PR middle-end/21709 (ICE on compile-time complex NaN) · c10166c4
      
      	PR middle-end/21709
      	* fold-const.c (const_binop): Check for division by zero during
      	complex division.
      
      	* gcc.dg/pr21709-1.c: New test case.
      
      From-SVN: r100188
      Roger Sayle committed
    • reload1.c (verify_initial_elim_offsets): Add braces to avoid having a… · 67730e23
      reload1.c (verify_initial_elim_offsets): Add braces to avoid having a declaration after a statement.
      
      	* reload1.c (verify_initial_elim_offsets): Add braces to avoid
      	having a declaration after a statement.
      
      From-SVN: r100187
      Ian Lance Taylor committed
    • opt-functions.awk (var_type): New function. · 55bea00a
      	* opt-functions.awk (var_type): New function.
      	(var_set): Use CLVC_STRING if var_type returns "const char *".
      	* opth-gen.awk: Use var_type to find out the types of variables.
      	Don't print comments above each "extern" definition.
      	* optc-gen.awk: Use var_type in the same way.
      	* opts.h (cl_var_cond): Rename to...
      	(cl_var_type): ...this.  Add CLVC_STRING.
      	(cl_option): Make "flag_var" a "void *" pointer.  Replace "var_cond"
      	with "var_type".
      	* opts.c (handle_option, option_enabled): Update after above name
      	change.  Cast flag_var before using it.  Handle CLVC_STRING.
      
      	* config/alpha/alpha.h (alpha_tls_size): Delete.
      	* config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string)
      	(alpha_tune_string, alpha_tp_string, alpha_fprm_string)
      	(alpha_fptm_string, alpha_mlat_string): Delete.
      	(alpha_handle_option): Don't set the above variables here.  Use the
      	integer argument to check the validity of -mtls-size=.
      	* config/alpha/alpha.opt (mcpu=, mtune=, mfp-rounding-mode=)
      	(mfp-trap-mode=, mtrap-precision=, mmemory-latency=): Add Var()s.
      	(mtls-size=): Likewise.  Convert to a UInteger and initialize the
      	variable to 32.
      
      	* config/arc/arc.c (arc_cpu_string, arc_text_string)
      	(arc_data_string, arc_rodata_string): Delete.
      	(arc_handle_option): Don't set the above variables here.
      	* config/arc/arc.opt (mcpu=, mtext=, mdata=, mrodata=): Add Var()s
      	and initialize them.
      
      	* config/arm/arm.c (target_fpu_name, target_fpe_name)
      	(target_float_abi_name, target_abi_name, structure_size_string)
      	(arm_pic_register_string): Delete.
      	(arm_handle_option): Don't set the above variables here, except
      	in the handling of -mhard-float and -msoft-float.
      	* config/arm/arm.opt (mabi=, mfloat-abi=, mfp=, mfpe=, mfpu=)
      	(mpic-register=, mstructure-size-boundary=): Add Var()s.
      
      	* config/avr/avr.c (avr_init_stack, avr_mcu_name, TARGET_HANDLE_OPTION)
      	(avr_handle_option): Delete.
      	* config/avr/avr.opt (mmcu=, minit-stack=): Add Var()s and initialize
      	them.
      
      	* config/bfin/bfin.c (bfin_library_id): Delete.
      	(bfin_handle_option): Don't set it.
      	* config/bfin/bfin.opt (mshared-library-id=): Add Var().
      
      	* config/c4x/c4x.h (c4x_rpts_cycles): Delete.
      	* config/c4x/c4x.c (c4x_rpts_cycles): Delete.
      	(c4x_handle_option): Don't set c4x_rpts_cycles here.
      	* config/c4x/c4x.opt (mrpts=): Add Var().
      
      	* config/cris/aout.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't set
      	cris_elinux_stacksize_str here.
      	* config/cris/aout.opt (melinux-stacksize=): Add Var().
      	* config/cris/cris.h (cris_max_stackframe_str, cris_cpu_str)
      	(cris_tune_str, cris_elinux_stacksize_str): Delete.
      	* config/cris/cris.c (cris_max_stackframe_str, cris_cpu_str)
      	(cris_tune_str, cris_elinux_stacksize_str): Delete.
      	(cris_handle_option): Don't set the above variables here.
      	* config/cris/cris.opt (mcpu=, march=, mtune=, mmax-stackframe=)
      	(max-stackframe=): Add Var()s.
      
      	* config/i386/i386.h (ix86_tune_string, ix86_arch_string): Delete.
      	* config/i386/i386.c (ix86_cmodel_string, ix86_asm_string)
      	(ix86_tls_dialect_string, ix86_tune_string, ix86_arch_string)
      	(ix86_fpmath_string, ix86_regparm_string, ix86_align_loops_string)
      	(ix86_align_jumps_string, ix86_preferred_stack_boundary_string)
      	(ix86_branch_cost_string, ix86_align_funcs_string): Delete.
      	(ix86_handle_option): Don't set the above variables here.
      	* config/i386/i386.opt (malign-functions=, malign-jumps=)
      	(malign-loops=, march=, masm=, mbranch-cost=, mcmodel=, mfpmath=)
      	(mpreferred-stack-boundary=, mregparm=, mtls-dialect=, mtune=): Add
      	Var()s.
      
      	* config/ia64/ia64.h (ia64_tls_size): Delete.
      	* config/ia64/ia64.c (ia64_tls_size): Delete.
      	(ia64_handle_option): Treat -mtls-size= as a UInteger option,
      	reading the integer argument from the "value" parameter.  Don't
      	set ia64_tls_size here.
      	* config/ia64/ia64.opt (mtls-size=): Turn into a UInteger option.
      	Add Var() and Init().
      
      	* config/m32r/m32r.h (m32r_cache_flush_func): Delete.
      	(m32r_cache_flush_trap): Delete.
      	* config/m32r/m32r.c (m32r_cache_flush_func): Delete.
      	(m32r_cache_flush_trap): Delete.
      	(m32r_handle_option): Don't set the above variables when handling
      	-mflush-func= and -mflush-trap=.
      	* config/m32r/m32r.opt (-mflush-func=, -mflush-trap=): Add Var()s
      	and Init()s.
      
      	* config/mips/mips.h (mips_cache_flush_func): Delete.
      	* config/mips/mips.c (mips_arch_string, mips_tune_string)
      	(mips_cache_flush_func): Delete.
      	(mips_handle_option): Don't set the above variables when handling
      	-march=, -mtune= and -mflush-func=.
      	* config/mips/mips.opt (march=, mflush-func=, mtune=): Add Var()s.
      
      	* config/s390/s390.c (s390_arch_string): Delete.
      	(s390_handle_option): Don't set it here.
      	* config/s390/s390.opt (march=): Add Var().
      
      	* config/sparc/sparc.h (sparc_cmodel_string): Delete.
      	* config/sparc/sparc.c (sparc_cmodel_string): Delete.
      	(sparc_handle_option): Don't set it here.
      	* config/sparc/sparc.opt (mcmodel=): Add Var().
      
      From-SVN: r100185
      Richard Sandiford committed
    • convert.c (convert_to_integer): Avoid recursive call to convert_to_integer by… · 97471d8f
      convert.c (convert_to_integer): Avoid recursive call to convert_to_integer by building the NOP_EXPR directly.
      
      
      	* convert.c (convert_to_integer) <POINTER_TYPE>: Avoid recursive
      	call to convert_to_integer by building the NOP_EXPR directly.
      
      From-SVN: r100184
      Roger Sayle committed
    • Minor reformatting twaeks. · 883ae7b0
      From-SVN: r100183
      Mike Stump committed
    • basic.mm: New. · 25f0f66e
              * obj-c++.dg/basic.mm: New.
      
      Co-Authored-By: Mike Stump <mrs@apple.com>
      
      From-SVN: r100182
      Ziemowit Laski committed
    • next_mapping.h: Update for C++. · 7cb56e5c
              * objc/execute/next_mapping.h: Update for C++.
      
              * obj-c++.dg/selector-1.mm: Move to...
              * obj-c++.dg/selector-4.mm: here...
      
              * obj-c++.dg/comp-types-1.mm: New.
              * obj-c++.dg/cxx-class-1.mm: New.
              * obj-c++.dg/cxx-ivars-1.mm: New.
              * obj-c++.dg/cxx-ivars-2.mm: New.
              * obj-c++.dg/cxx-ivars-3.mm: New.
              * obj-c++.dg/cxx-scope-1.mm: New.
              * obj-c++.dg/cxx-scope-2.mm: New.
              * obj-c++.dg/defs.mm: New.
              * obj-c++.dg/empty-private-1.mm: New.
              * obj-c++.dg/encode-1.mm: New.
              * obj-c++.dg/encode-2.mm: New.
              * obj-c++.dg/encode-3.mm: New.
              * obj-c++.dg/extern-c-1.mm: New.
              * obj-c++.dg/extra-semi.mm: New.
              * obj-c++.dg/fix-and-continue-2.mm: New.
              * obj-c++.dg/isa-field-1.mm: New.
              * obj-c++.dg/ivar-list-semi.mm: New.
              * obj-c++.dg/local-decl-1.mm: New.
              * obj-c++.dg/lookup-1.mm: New.
              * obj-c++.dg/lookup-2.mm: New.
              * obj-c++.dg/method-1.mm: New.
              * obj-c++.dg/method-2.mm: New.
              * obj-c++.dg/method-3.mm: New.
              * obj-c++.dg/method-4.mm: New.
              * obj-c++.dg/method-5.mm: New.
              * obj-c++.dg/method-6.mm: New.
              * obj-c++.dg/method-7.mm: New.
              * obj-c++.dg/no-extra-load.mm: New.
              * obj-c++.dg/overload-1.mm: New.
              * obj-c++.dg/pragma-1.mm: New.
              * obj-c++.dg/pragma-2.mm: New.
              * obj-c++.dg/private-1.mm: New.
              * obj-c++.dg/private-2.mm: New.
              * obj-c++.dg/proto-qual-1.mm: New.
              * obj-c++.dg/qual-types-1.mm: New.
              * obj-c++.dg/stubify-1.mm: New.
              * obj-c++.dg/stubify-2.mm: New.
              * obj-c++.dg/super-class-1.mm: New.
              * obj-c++.dg/super-class-2.mm: New.
              * obj-c++.dg/super-dealloc-1.mm: New.
              * obj-c++.dg/super-dealloc-2.mm: New.
              * obj-c++.dg/template-1.mm: New.
              * obj-c++.dg/template-2.mm: New.
              * obj-c++.dg/template-3.mm: New.
              * obj-c++.dg/template-4.mm: New.
              * obj-c++.dg/template-5.mm: New.
              * obj-c++.dg/template-6.mm: New.
              * obj-c++.dg/try-catch-1.mm: New.
              * obj-c++.dg/try-catch-2.mm: New.
              * obj-c++.dg/try-catch-3.mm: New.
              * obj-c++.dg/try-catch-4.mm: New.
              * obj-c++.dg/try-catch-5.mm: New.
              * obj-c++.dg/try-catch-6.mm: New.
              * obj-c++.dg/try-catch-7.mm: New.
              * obj-c++.dg/try-catch-8.mm: New.
              * obj-c++.dg/try-catch-9.mm: New.
              * obj-c++.dg/va-meth-1.mm: New.
      
      Co-Authored-By: Mike Stump <mrs@apple.com>
      
      From-SVN: r100181
      Ziemowit Laski committed
    • selector-1.mm: Move to... · 047c2765
              * obj-c++.dg/selector-1.mm: Move to...
              * obj-c++.dg/selector-4.mm: here...
      
      From-SVN: r100180
      Mike Stump committed
    • selector-1.mm: New. · d1c8c827
      [gcc/testsuite/ChangeLog]
      2005-05-25  Ziemowit Laski  <zlaski@apple.com>
      
              * obj-c++.dg/selector-1.mm: New.
              * obj-c++.dg/selector-2.mm: New.
      
      From-SVN: r100179
      Ziemowit Laski committed
    • Daily bump. · 4f490b3e
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100177.2
      GCC Administrator committed
    • selector-3.mm: New. · 19537c28
      [gcc/testsuite/ChangeLog]
      2005-05-25  Ziemowit Laski  <zlaski@apple.com>
      
              * obj-c++.dg/selector-3.mm: New.
              * objc.dg/selector-3.m: New.
      
      From-SVN: r100175
      Ziemowit Laski committed
  2. 25 May, 2005 19 commits