- 21 May, 2010 20 commits
-
-
* tree-eh.c (cleanup_is_dead_in): New. (lower_try_finally): Don't generate a dead cleanup region. (lower_cleanup): Likewise. From-SVN: r159682
Jason Merrill committed -
PR debug/44223 * haifa-sched.c (schedule_insn): When freeing INSN_REG_USE_LIST, unchain each use from the cyclic next_regno_use chain first. * gcc.target/i386/pr44223.c: New test. From-SVN: r159680
Jakub Jelinek committed -
gcc/ChangeLog: * real: Do not include gmp.h, mpfr.h, and mpc.h. (REAL_VALUE_NEGATE, REAL_VALUE_ABS, real_arithmetic2): Remove. (real_value_negate, real_value_abs): New prototypes. (do_mpc_arg2, real_from_mpfr, mpfr_from_real): Move from here... * realmpfr.h (do_mpc_arg2, real_from_mpfr, mpfr_from_real): ...to here, new include file for interface between MPFR and REAL_VALUE_TYPE. * real.c: Include realmpfr.h. (real_arithmetic2): Remove legacy function. (real_value_negate): New. (real_value_abs): New. (mfpr_from_real, real_from_mpfr): Move from here... * realmpfr.c (mpfr_from_real, real_from_mpfr): ...to here, new file. * builtins.c: Include realmpfr.h. * fold-const.c: Include realmpfr.h. (fold_comparison): Use real_value_negate instead of REAL_VALUE_NEGATE. (fold_negate_const): Likewise. (fold_abs_const): Use real_value_abs instead of REAL_VALUE_ABS. * toplev.c: Include realmpfr.h. * simplify-rtx.c (simplify_const_unary_operation): Use real_value_abs and real_value_negate. * fixed-value.c (check_real_for_fixed_mode): Likewise. * config/arm/arm.c (neg_const_double_rtx_ok_for_fpa): Likewise. (vfp3_const_double_index): Likewise. (arm_print_operand): Likewise. * Makefile.in: Update dependencies. fortran/ChangeLog: * trans-const.c: Include realmpfr.h. * Make-lang.in: Update dependencies. From-SVN: r159679
Steven Bosscher committed -
2010-05-21 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/25306 * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter initialized to __n. * include/bits/stl_algo.h (generate_n): Likewise. * testsuite/25_algorithms/fill_n/25306.cc: New. * testsuite/25_algorithms/generate_n/25306.cc: Likewise. From-SVN: r159677
Paolo Carlini committed -
2010-05-21 Richard Guenther <rguenther@suse.de> * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. From-SVN: r159676
Richard Guenther committed -
2010-05-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (override_options): Increase the default of max-completely-peel-times. From-SVN: r159675
Andreas Krebbel committed -
gcc/ * config/arm/arm.c (arm_function_ok_for_sibcall): Only forbid sibling calls for Thumb-1. * config/arm/arm.h (USE_RETURN_INSN): Enable for Thumb-2. * config/arm/arm.md (*call_symbol, *call_value_symbol): Use for Thumb-2. (*call_insn, *call_value_insn): Don't use for Thumb-2. (sibcall, sibcall_value, *sibcall_insn, *sibcall_value_insn): Use for Thumb-2. (return): New expander. (*arm_return): New name for ARM return insn. * config/arm/thumb2.md (*thumb2_return): New insn pattern. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r159672
Julian Brown committed -
From-SVN: r159671
Rainer Orth committed -
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (sparc64-*-rtems*): New target. From-SVN: r159670
Joel Sherrill committed -
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (sparc64-*-rtems*): New target. From-SVN: r159669
Joel Sherrill committed -
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.gcc (sparc64-*-rtems*): New target. From-SVN: r159668
Joel Sherrill committed -
* tree.c (build_function_decl_skip_args): Fix grammar. (build_function_type_list_1): Fix typos, adjust formatting. From-SVN: r159666
Nathan Froyd committed -
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use GNU locale model for glibc 2.3 and later, but not uClibc, without an execution test. * configure: Regenerate. * doc/xml/manual/configure.xml, doc/xml/manual/prerequisites.xml, doc/xml/faq.xml: Update. From-SVN: r159664
Joseph Myers committed -
gcc/ChangeLog: * tree.h: Include real.h and fixed-value.h as basic datatypes. * dfp.c, convert.c, reload1.c, reginfo.c, tree-flow.h, tree-ssa-threadedge.c, tree-ssanames.c, tree-loop-linear.c, tree-into-ssa.c, tree-vect-generic.c, tree-ssa-structalias.c, tree-ssa-loop-im.c, tree-dump.c, tree-complex.c, tree-ssa-uninit.c, genrecog.c, tree-ssa-threadupdate.c, tree-ssa-loop-niter.c, tree-pretty-print.c, tree-loop-distribution.c, tree-ssa-loop-unswitch.c, c-lex.c, optabs.c, postreload-gcse.c, tree-ssa-loop-manip.c, postreload.c, tree-ssa-loop-ch.c, tree-tailcall.c, tree.c, reload.c, tree-scalar-evolution.c, rtlanal.c, tree-phinodes.c, builtins.c, final.c, genoutput.c, fold-const.c, tree-ssa-dse.c, genautomata.c, tree-ssa-uncprop.c, toplev.c, tree-chrec.c, genemit.c, c-cppbuiltin.c, tree-ssa-sccvn.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c, mode-switching.c, tree-call-cdce.c, cse.c, genpeep.c, tree-ssa-math-opts.c, tree-ssa-dom.c, tree-nrv.c, tree-ssa-propagate.c, tree-ssa-alias.c, tree-ssa-sink.c, jump.c, ifcvt.c, dwarf2out.c, expr.c, genattrtab.c, genconditions.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop.c, tree-parloops.c, recog.c, tree-ssa-address.c, lcm.c, tree-eh.c, gimple-pretty-print.c, c-pretty-print.c, print-rtl.c, gcse.c, tree-if-conv.c, tree-data-ref.c, tree-affine.c, gimplify.c, tree-ssa-phiopt.c, implicit-zee.c, expmed.c, tree-dfa.c, emit-rtl.c, store-motion.c, cselib.c, tree-cfgcleanup.c, simplify-rtx.c, tree-ssa-pre.c, genpreds.c, tree-mudflap.c, print-tree.c, tree-ssa-copy.c, tree-ssa-forwprop.c, tree-ssa-dce.c, varasm.c, tree-nested.c, tree-ssa.c, tree-ssa-loop-prefetch.c, rtl.c, tree-inline.c, integrate.c, tree-optimize.c, tree-ssa-phiprop.c, fixed-value.c, combine.c, tree-profile.c, c-common.c, sched-vis.c, tree-cfg.c, passes.c, tree-ssa-reassoc.c, config/alpha/alpha.c, config/frv/frv.c, config/s390/s390.c, config/m32c/m32c.c, config/spu/spu.c, config/sparc/sparc.c, config/mep/mep.c, config/m32r/m32r.c, config/rx/rx.c, config/i386/i386.c, config/sh/sh.c, config/pdp11/pdp11.c, config/avr/avr.c, config/crx/crx.c, config/xtensa/xtensa.c, config/stormy16/stormy16.c, config/fr30/fr30.c, config/lm32/lm32.c, config/moxie/moxie.c, config/m68hc11/m68hc11.c, config/cris/cris.c, config/iq2000/iq2000.c, config/mn10300/mn10300.c, config/ia64/ia64.c, config/m68k/m68k.c, config/rs6000/rs6000.c, config/picochip/picochip.c, config/darwin.c, config/arc/arc.c, config/mcore/mcore.c, config/score/score3.c, config/score/score7.c, config/score/score.c, config/arm/arm.c, config/pa/pa.c, config/mips/mips.c, config/vax/vax.c, config/h8300/h8300.c, config/v850/v850.c, config/mmix/mmix.c, config/bfin/bfin.c: Clean up redundant includes. * Makefile.in: Update accordingly. java/ChangeLog: * typeck.c, decl.c, jcf-parse.c, except.c, expr.c: cp/Changelog: * error.c, tree.c, typeck2.c, cxx-pretty-print.c, mangle.c: Clean up redundant includes. fortran/ChangeLog: * trans-const.c, trans-types.c, trans-intrinsic.c: Clean up redundant includes. From-SVN: r159663
Steven Bosscher committed -
PR middle-end/44204 * builtins.c (fold_call_stmt): Pass &error_mark_node if the call statement has no arguments. From-SVN: r159662
Nathan Froyd committed -
2010-05-21 Paolo Carlini <paolo.carlini@oracle.com> * include/tr1/functional: Use std::__addressof. * include/tr1/hashtable_policy.h: Likewise. From-SVN: r159661
Paolo Carlini committed -
2010-05-21 Kai Tietz <kai.tietz@onevision.com> PR/44139 * varasm.c (emutls_decl): Merge attributes to new decl. From-SVN: r159658
Kai Tietz committed -
PR middle-end/44101 * gimplify.c (gimplify_init_constructor): Build a VIEW_CONVERT_EXPR around the uniquized constructor if its type requires a conversion. From-SVN: r159655
Eric Botcazou committed -
PR debug/44205 * tree-cfgcleanup.c (tree_forwarder_block_p): Return false if at -O0 goto_locus of any of the incoming edges differs from goto_locus of outgoing edge, or gimple_location of any of the labels differs. From-SVN: r159652
Jakub Jelinek committed -
From-SVN: r159650
GCC Administrator committed
-
- 20 May, 2010 20 commits
-
-
* ira.c (ira_non_ordered_class_hard_regs): Define. (setup_class_hard_regs): Initialize ira_non_ordered_class_hard_regs. * ira-int.h (ira_non_ordered_class_hard_regs): Declare. * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Increase cost of unaligned hard regs when allocating multi-reg pseudos. From-SVN: r159644
Vladimir Makarov committed -
2010-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41792 * include/tr1_impl/array: Use std::__addressof. * include/std/functional (reference_wrapper): Likewise. * include/ext/throw_allocator.h: Likewise. * include/ext/pool_allocator.h: Likewise. * include/ext/bitmap_allocator.h: Likewise. * include/ext/new_allocator.h: Likewise. * include/ext/malloc_allocator.h: Likewise. * include/ext/array_allocator.h: Likewise. * include/ext/mt_allocator.h: Likewise. * include/ext/extptr_allocator.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/hashtable_policy.h: Likewise. * include/bits/forward_list.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/list.tcc: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_tree.h: Likewise. * testsuite/20_util/reference_wrapper/41792.cc: New. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/multimap/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/set/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/forward_list/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/vector/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/deque/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/multiset/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/list/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/map/requirements/ explicit_instantiation/4.cc: Likewise. * testsuite/23_containers/array/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/forward_list/requirements/ dr438/assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. 2010-05-20 Peter Dimov <pdimov@pdimov.com> Paolo Carlini <paolo.carlini@oracle.com> * include/bits/move.h (__addressof, addressof): Add. * testsuite/util/testsuite_api.h (struct OverloadedAddress): Add. * testsuite/20_util/addressof/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/addressof/1.cc: Likewise. From-SVN: r159643
Paolo Carlini committed -
2010-05-08 Richard Sandiford <rdsandiford@googlemail.com> Jim Wilson <wilson@codesourcery.com> gcc/ * config.gcc (mips*-sde-elf*): Don't use sdemtk.opt. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_no_float for TARGET_NO_FLOAT. * config/mips/mips.c (mips_file_start): Expand conditional expression into "if" statements. Use .gnu_attribute 4,0 for TARGET_NO_FLOAT. (mips_override_options): Move -mno-float override -msoft-float and -mhard-float. * config/mips/mips.opt (mno-float): Move from sdemtk.opt, but add Condition(TARGET_SUPPORTS_NO_FLOAT). * config/mips/sdemtk.h (TARGET_OS_CPP_BUILTINS): Don't set __mips_no_float here. (SUBTARGET_OVERRIDE_OPTIONS): Delete. (TARGET_SUPPORTS_NO_FLOAT): Define. * config/mips/sdemtk.opt: Delete. From-SVN: r159642
Richard Sandiford committed -
gcc/fortran/: 2010-05-20 Daniel Franke <franke.daniel@gmail.com> PR fortran/38407 * lang.opt (Wunused-dummy-argument): New option. * gfortran.h (gfc_option_t): Add warn_unused_dummy_argument. * options.c (gfc_init_options): Disable warn_unused_dummy_argument. (set_Wall): Enable warn_unused_dummy_argument. (gfc_handle_option): Set warn_unused_dummy_argument according to command line. * trans-decl.c (generate_local_decl): Separate warnings about unused variables and unused dummy arguments. * invoke.texi: Documented new option. gcc/testsuite/: 2010-05-20 Daniel Franke <franke.daniel@gmail.com> PR fortran/38407 * warn_unused_dummy_argument_1.f90: New. * warn_unused_dummy_argument_2.f90: New. From-SVN: r159641
Daniel Franke committed -
* trans-expr.c: Do not include convert.h, ggc.h, real.h, and gimple.h. (gfc_conv_string_tmp): Do not assert type comparibilty. * trans-array.c: Do not include gimple.h, ggc.h, and real.h. (gfc_conv_expr_descriptor): Remove assert. * trans-common.c: Clarify why rtl.h and tm.h are included. * trans-openmp.c: Do not include ggc.h and real.h. Explain why gimple.h is included. * trans-const.c: Do not include ggc.h. * trans-stmt.c: Do not include gimple.h, ggc.h, and real.h. * trans.c: Do not include ggc.h and real.h. Explain why gimple.h is included. * trans-types.c: Do not include tm.h. Explain why langhooks.h and dwarf2out.h are included. * trans-io.c: Do not include gimple.h and real.h. * trans-decl.c: Explain why gimple.h, tm.h, and rtl.h are included. * trans-intrinsic.c: Do not include gimple.h. Explain why tm.h is included. From-SVN: r159640
Steven Bosscher committed -
2010-05-20 Segher Boessenkool <segher@kernel.crashing.org> * ipa-prop.c (compute_complex_ancestor_jump_func): Bail out if !cond. From-SVN: r159639
Segher Boessenkool committed -
2010-05-20 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/43851 * runtime/stop.c (stop_string): Make sure nothing is emitted for blank stop. From-SVN: r159638
Jerry DeLisle committed -
/cp 2010-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/30298 * decl.c (xref_basetypes): Return false in case of ill-formed redefinition. /testsuite 2010-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/30298 * g++.dg/inherit/crash1.C: New. * g++.dg/inherit/crash2.C: Likewise. From-SVN: r159637
Paolo Carlini committed -
PR target/43733 * configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e instead of sahf only for 64bit targets. From-SVN: r159636
Uros Bizjak committed -
PR debug/43521 * decl.c (start_java_method): Set DECL_ARTIFICIAL on the 'this' PARM_DECL. From-SVN: r159635
Jakub Jelinek committed -
re PR debug/44178 (-fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns) PR debug/44178 * haifa-sched.c (initiate_bb_reg_pressure_info): Do not call setup_ref_regs for DEBUG_INSNs. * g++.dg/debug/pr44178.C: New test. From-SVN: r159632
Jakub Jelinek committed -
2010-05-20 Changpeng Fang <changpeng.fang@amd.com> PR middle-end/44185 * gcc.dg/tree-ssa/prefetch-6.c: Add --param min-insn-to-prefetch-ratio=6. * gcc.dg/tree-ssa/prefetch-7.c: Remove --param max-unrolled-insns=1 to allow unrolling, and adjust the movnti count. From-SVN: r159630
Changpeng Fang committed -
PR middle-end/44197 * varpool.c (varpool_remove_node): Handle in-varpool aliases. * gcc.c-torture/compile/pr44197.c: New file. From-SVN: r159629
Jan Hubicka committed -
2010-05-20 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_pair.h (pair<>::pair(const pair&)): Defaulted in C++0x mode. (pair<>::operator=(const pair<>&)): Add in C++0x mode. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error line number. From-SVN: r159628
Paolo Carlini committed -
PR bootstrap/43870 * df-scan.c (df_ref_compare): Stabilize sort. From-SVN: r159625
Kenneth Zadeck committed -
* dwarf2out.c (new_loc_descr_op_bit_piece): Add offset argument. Don't use DW_OP_piece if offset is non-zero, put offset into second DW_OP_bit_piece argument. (dw_sra_loc_expr): Adjust callers. For memory expressions compute offset. From-SVN: r159623
Jakub Jelinek committed -
* gcc.target/i386/i386.exp (check_effective_target_3dnow): Fix test code. (check_effective_target_xop): Remove __may_alias__ attribute. From-SVN: r159621
Uros Bizjak committed -
2010-05-20 Tobias Burnus <burnus@net-b.de> * options.c (gfc_init_options,gfc_post_options): Enable flag_associative_math by default. From-SVN: r159620
Tobias Burnus committed -
* config/mips/mips-dsp.md (add<DSPV:mode>3, mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>): Add ISA_HAS_DSP condition. From-SVN: r159619
James E. Wilson committed -
PR target/44202 * config/cris/cris.md ("*addsi3_v32"): Correct "cc" settings for 16-bit-constant "addo" alternative. From-SVN: r159612
Hans-Peter Nilsson committed
-