1. 05 May, 2011 21 commits
    • re PR c++/48873 ([C++0x][noexcept] Placement-new problem with deleted destructors) · e3edeff4
      	PR c++/48873
      	* tree.c (stabilize_expr): Don't make gratuitous copies of classes.
      
      From-SVN: r173433
      Jason Merrill committed
    • fmt_g0_6.f08: Use dg-options "-ffloat-store". · 532388e2
      	* gfortran.dg/fmt_g0_6.f08: Use dg-options "-ffloat-store".
      	Fix typo.
      
      From-SVN: r173431
      Rainer Orth committed
    • * configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*, · 6a789d5e
      	sh*-*-pe|mips*-*-pe|arm-wince-pe, sparc-*-sunos4*, *-*-aix*,
      	*-*-beos*, *-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-linux*
      	| *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-lynxos*,
      	*-*-mingw*, *-*-netbsd*, *-*-netware*, *-*-tpf*, *-*-uclinux*,
      	*-*-vxworks*): Disable newlib and libgloss in separate case
      	statement.
      	(i[[3456789]]86-*-linux*): Move logic allowing newlib to be built
      	to separate case statement.
      	(*-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
      	*-*-netware*, *-*-tpf*, *-*-uclinux*, *-*-vxworks*,
      	alpha*-dec-osf*, alpha*-*-linux*, am33_2.0-*-linux*, sh-*-linux*,
      	sh*-*-pe|mips*-*-pe|*arm-wince-pe, arm-*-coff, arm-*-elf* |
      	arm*-*-eabi*, arm*-*-linux-gnueabi, arm*-*-symbianelf*, avr-*-*,
      	bfin-*-*, cris-*-* | crisv32-*-*, frv-*-*, i[[3456789]]86-*-coff |
      	i[[3456789]]86-*-elf, i[[3456789]]86-w64-mingw*,
      	i[[3456789]]86-*-mingw*, x86_64-*-mingw*,
      	i[[3456789]]86-*-interix*, i[[3456789]]86-*-beos*,
      	i[[3456789]]86-*-rdos*, m32r-*-*,
      	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, m68k-*-elf*, m68*-*-*
      	| fido-*-*, powerpc-*-aix*, powerpc-*-beos*, powerpc-*-eabi,
      	powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*,
      	rs6000-*-lynxos*, rs6000-*-aix*, mips*-*-linux*, sparclet-*-aout*
      	| sparc86x-*-*, sparc-*-elf*, sparc64-*-elf*, sparclite-*-*,
      	sparc-*-sunos4*, sparc-*-solaris* | sparc64-*-solaris* |
      	sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu |
      	*-*-kopensolaris*-gnu, *-*-lynxos*, *-*-*): Don't disable newlib
      	and libgloss in main case over targets.  Remove most empty cases
      	in main case over targets.
      	* configure: Regenerate.
      
      From-SVN: r173430
      Joseph Myers committed
    • elf.h (ENDFILE_SPEC): Add Ofast. · 0691dde9
      	* config/alpha/elf.h (ENDFILE_SPEC): Add Ofast.
      	* config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast.
      	* config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/linux.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast.
      	* config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast.
      	* config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast.
      	* config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast.
      	* config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast.
      	* config/i386/darwin.h (ENDFILE_SPEC): Add Ofast.
      	* config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast.
      	* config/ia64/linux.h (ENDFILE_SPEC): Add Ofast.
      	* config/mips/linux.h (ENDFILE_SPEC): Add Ofast.
      
      From-SVN: r173429
      Michael Matz committed
    • expmed.c (expand_variable_shift): Rename to ... · 86529a49
      2011-05-05  Richard Guenther  <rguenther@suse.de>
      
      	* expmed.c (expand_variable_shift): Rename to ...
      	(expand_shift_1): ... this.  Take an expanded shift amount.
      	For rotates recurse directly not building trees for the shift amount.
      	(expand_variable_shift): Wrap around expand_shift_1.
      	(expand_shift): Adjust.
      
      From-SVN: r173428
      Richard Guenther committed
    • re PR rtl-optimization/48381 (internal compiler error: in check_allocation, at ira.c:2094) · 82357998
      	PR rtl-optimization/48381
      	* gcc.c-torture/compile/pr48381.c: New test.
      
      From-SVN: r173427
      Jakub Jelinek committed
    • opt-1.c: Add --param min-insn-to-prefetch -ratio=0 to dg-options. · 62ffa8af
      	* gcc.target/i386/opt-1.c: Add --param min-insn-to-prefetch -ratio=0
      	to dg-options.
      	* gcc.target/i386/opt-1.c: Ditto.
      
      From-SVN: r173425
      Uros Bizjak committed
    • tree.h (get_pending_sizes): Remove prototype. · 907a08d9
      	* tree.h (get_pending_sizes): Remove prototype.
      	(put_pending_size): Likewise.
      	(put_pending_sizes): Likewise.
      	* stor-layout.c (pending_sizes): Delete.
      	(get_pending_sizes): Likewise.
      	(put_pending_size): Likewise.
      	(put_pending_sizes): Likewise.
      	(variable_size): Do not call put_pending_size and tidy up.
      	* function.h (struct function): Remove dont_save_pending_sizes_p.
      	* lto-streamer-in.c (input_function): Do not stream it.
      	* lto-streamer-out.c (output_function): Likewise.
      	* tree-inline.c (initialize_cfun): Do not copy it.
      	* c-decl.c (store_parm_decls): Do not set it.
      	* omp-low.c (create_task_copyfn): Likewise.
      	* tree-optimize.c (tree_rest_of_compilation): Likewise.
      cp/
      	* decl.c (start_preparsed_function): Likewise.
      fortran/
      	* trans-decl.c (trans_function_start): Likewise.
      ada/
      	* gcc-interface/utils.c (begin_subprog_body): Do not call
      	get_pending_sizes.
      	(end_subprog_body): Likewise.
      
      From-SVN: r173424
      Eric Botcazou committed
    • i386.md (*movdf_internal_rex64): Simplify nested "if" conditions. · 386d9c57
      	* config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if"
      	conditions.
      	(*movdf_internal): Ditto.
      	(*movdf_internal_nointeger): Ditto.
      	(*movsf_internal): Ditto.
      
      From-SVN: r173423
      Uros Bizjak committed
    • c-decl.c (finish_decl): Don't call get_pending_sizes. · a04a722b
      	* c-decl.c (finish_decl): Don't call get_pending_sizes.
      	(grokparm): Add parameter expr.  Pass it to grokdeclarator.
      	(push_parm_decl): Add parameter expr.  Pass it to grokdeclarator.
      	(c_variable_size): Remove.
      	(grokdeclarator): Use save_expr instead of c_variable_size.  Don't
      	call put_pending_sizes.
      	(get_parm_info): Add parameter expr.  Use it to set
      	arg_info->pending_sizes.
      	(store_parm_decls): Use arg_info->pending_sizes instead or calling
      	get_pending_sizes.
      	* c-parser.c (c_parser_parms_declarator): Update call to
      	c_parser_parms_list_declarator.
      	(c_parser_parms_list_declarator): Take parameter expr.  Update
      	call to push_parm_decl.  Update recursive call.  Don't call
      	get_pending_sizes.  Update calls to get_parm_info.
      	(c_parser_objc_method_definition): Update calls to
      	c_parser_objc_method_decl and objc_start_method_definition.
      	(c_parser_objc_methodproto): Update call to
      	c_parser_objc_method_decl.
      	(c_parser_objc_method_decl): Add parameter expr.  Update call to
      	grokparm.
      	(c_parser_objc_try_catch_finally_statement): Update call to
      	grokparm.
      	* c-tree.h (struct c_arg_info.pending_sizes): Change to a tree.
      	(get_parm_info, grokparm, push_parm_decl): Update prototypes.
      
      c-family:
      	* c-objc.h (objc_start_method_definition): Update prototype.
      	* stub-objc.c (objc_start_method_definition): Add extra parameter.
      
      cp:
      	* parser.c (cp_parser_objc_method_definition_list): Update call to
      	objc_start_method_definition.
      
      objc:
      	* objc-act.c (objc_start_method_definition): Add parameter expr.
      	Update call to start_method_def.
      	(objc_generate_cxx_ctor_or_dtor, objc_synthesize_getter,
      	objc_synthesize_setter) Update calls to
      	objc_start_method_definition.
      	(objc_get_parm_info): Add parameter expr.  Update call to
      	get_parm_info.
      	(start_method_def): Add parameter expr.  Update call to
      	objc_get_parm_info.
      	* objc-gnu-runtime-abi-01.c (build_module_initializer_routine):
      	Update call to objc_get_parm_info.
      	* objc-runtime-shared-support.h (objc_get_parm_info): Add extra
      	parameter.
      
      From-SVN: r173422
      Joseph Myers committed
    • For Michael Hope. · c92a6f97
      2011-05-05  Michael Hope  <michael.hope@linaro.org>
      
             PR pch/45979
             * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for
             __ARM_EABI__ hosts.
      
      From-SVN: r173421
      Michael Hope committed
    • spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. · 07ea0048
      	* config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
      	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
      	(spu_output_mi_thunk): New function.
      
      From-SVN: r173420
      Ulrich Weigand committed
    • sol2.h (ASM_OUTPUT_CALL): Use targetm.asm_out.print_operand. · d634bfa1
      	* config/sparc/sol2.h (ASM_OUTPUT_CALL): Use
      	targetm.asm_out.print_operand.
      	* config/sol2.c: Include target.h.
      
      From-SVN: r173419
      Rainer Orth committed
    • Use backend interface for slice types. · 817b15ca
      From-SVN: r173415
      Ian Lance Taylor committed
    • * MAINTAINERS: Add myself (write after approval). · a78079c4
      From-SVN: r173413
      Janis Johnson committed
    • re PR c++/48749 (internal compiler error: tree check: expected field_decl) · 4d3baecc
      	PR c++/48749
      	* class.c (resolves_to_fixed_type_p): Don't look closely
      	in templates.
      
      From-SVN: r173412
      Jason Merrill committed
    • * config-list.mk: New file. · adad1007
      From-SVN: r173410
      Joern Rennecke committed
    • re PR libfortran/48787 (Invalid UP/DOWN rounding with F editing) · 80d45c04
      2011-05-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/48787
      	gfortran.dg/round_3.f08: Add more checks to test case.
      
      From-SVN: r173409
      Jerry DeLisle committed
    • re PR libfortran/48787 (Invalid UP/DOWN rounding with F editing) · d6b872ad
      2011-05-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/48787
      	* io/write_float.def (output_float): Adjust up and down rounding for
      	cases where 'd' = 0. Gather common code to one location.
      
      From-SVN: r173408
      Jerry DeLisle committed
    • Daily bump. · c5c04a8f
      From-SVN: r173407
      GCC Administrator committed
  2. 04 May, 2011 19 commits