1. 21 May, 2010 11 commits
    • config.host (sparc64-*-rtems*): New target. · 1b64cc3e
      2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
      
      	* config.host (sparc64-*-rtems*): New target.
      
      From-SVN: r159669
      Joel Sherrill committed
    • config.gcc (sparc64-*-rtems*): New target. · 3943fe02
      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. · 95f6e526
      	* 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... · 22b36782
      	* 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
    • tree.h: Include real.h and fixed-value.h as basic datatypes. · 40013784
      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
    • re PR middle-end/44204 (ICE in gimple_op_ptr, at gimple.h:167) · 0a7561b7
      	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
    • functional: Use std::__addressof. · f271b536
      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
    • varasm.c (emutls_decl): Merge attributes to new decl. · e1935569
      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
    • re PR middle-end/44101 (ICE compiling 25_algorithms/fill/4.cc on Tru64 UNIX V5.1B) · 46314d3e
      	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
    • re PR debug/44205 (Wrong .debug_line for -O0 -g) · f99fcb3b
      	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
    • Daily bump. · 9db7d6ef
      From-SVN: r159650
      GCC Administrator committed
  2. 20 May, 2010 24 commits
    • ira.c (ira_non_ordered_class_hard_regs): Define. · 0583835c
             * 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
    • [multiple changes] · 882b3d5c
      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
    • config.gcc (mips*-sde-elf*): Don't use sdemtk.opt. · 9f946bc1
      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
    • re PR fortran/38407 (Wishlist: -Wunused-dummy-argument and -Wno-unused-dummy-argument) · 4ed44ccc
      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. · a48ba7e1
      	* 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
    • ipa-prop.c (compute_complex_ancestor_jump_func): Bail out if !cond. · 69610617
      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
    • re PR fortran/43851 (Add _gfortran_error_stop_numeric) · 00b97acd
      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
    • re PR c++/30298 (ICE with duplicate broken inheritance) · 1a494ab5
      /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
    • re PR target/43733 (bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2) · 953c29f7
      	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
    • re PR debug/43521 (java: "this" pointer not marked with DW_AT_artificial) · 8961e01e
      	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… · 69b45d71
      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
    • Fix PR44185: new prefetch test failures. · d377fbbf
      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
    • re PR middle-end/44197 ([4.6 Regresssion] varpool SEGV) · a14f1878
      	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
    • stl_pair.h (pair<>::pair(const pair&)): Defaulted in C++0x mode. · ab6bfd90
      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
    • re PR bootstrap/43870 (ICE in gcc/config/soft-fp/divtf3.c) · 5797be12
      	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. · f1ca3117
      	* 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
    • i386.exp (check_effective_target_3dnow): Fix test code. · 431043bd
      	* 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
    • options.c (gfc_init_options,gfc_post_options): Enable flag_associative_math by default. · feef2551
      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
    • mips-dsp.md (add<DSPV:mode>3, [...]): Add ISA_HAS_DSP condition. · 9af157ac
      * 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
    • re PR target/44202 (Missing compare after add) · d8ec9c14
      	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
    • re PR target/44202 (Missing compare after add) · f36eb2af
      	PR target/44202
      	* gcc.c-torture/execute/pr44202-1.c: New test.
      
      From-SVN: r159611
      Hans-Peter Nilsson committed
    • re PR target/43764 (-mrelax-pic-calls fails with complex types) · 951771dc
      PR target/43764
      * mips.c (mips_call_expr_from_insn): New arg second_call.  Set it.
      (mips_annotate_pic_calls): Pass new arg to mips_call_expr_from_insn.
      Use it.
      
      From-SVN: r159610
      James E. Wilson committed
    • re PR fortran/43851 (Add _gfortran_error_stop_numeric) · 6d1b0f92
      2010-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43851
      	* runtime/stop.c (error_stop_numeric): New function and updated comment.
      	Add declaration for stop_numeric and remove declaration for stop_string.
      	(stop_string): Use for blank STOP.
      	(stop_numeric): Remove use of special -1 stop code.
      	* runtime/pause.c (do_pause): Use stop_string for blank stop.
      	(pause_numeric): Remove use of special -1 pause code.
      	* gfortran.map: Add new symbol to run-time library.
      	* libgfortran.h: Move declaration for stop_string to here to make
      	function visible for do_pause. Remove declaration for stop_numeric.
      
      2010-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43851
      	* trans-stmt.c (gfc_trans_stop): Add generation of call to
      	gfortran_error_stop_numeric. Fix up some whitespace. Use stop_string for
      	blank STOP, handling a null expression. (gfc_trans_pause): Use
      	pause_string for blank PAUSE.
      	* trans.h: Add external function declaration for error_stop_numeric.
      	* trans-decl.c (gfc_build_builtin_function_decls): Add the building of
      	the declaration for the library call. Adjust whitespaces.
      	* match.c (gfc_match_stopcode): Remove use of the actual stop code to
      	signal no stop code. Match the expression following the stop and pass
      	that to the translators. Remove the old use of digit matching.  Add
      	checks that the stop_code expression is INTEGER or CHARACTER, constant,
      	and if CHARACTER, default character KIND.
      
      2010-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43851
      	* gfortran.dg/label_1.f90: Update test.
      
      From-SVN: r159609
      Jerry DeLisle committed
    • Daily bump. · b41e2d6d
      From-SVN: r159608
      GCC Administrator committed
  3. 19 May, 2010 5 commits
    • ipareference2_0.c: New file. · 66576e1b
      	* gcc.dg/lto/ipareference2_0.c: New file.
      	* gcc.dg/lto/ipareference2_1.c: New file.
      	* lto.c (promote_var, promote_fn): New functions.
      	(lto_promote_cross_file_statics): Compute correctly boundary including
      	static initializers of readonly vars.
      
      From-SVN: r159604
      Jan Hubicka committed
    • diagnostic.c (FLOAT, FFS): Don't undefine. · 676dd4d4
      	* diagnostic.c (FLOAT, FFS): Don't undefine.
      	* passes.c, pretty-print.c, rtl-error.c, toplev.c: Likewise.
      	* cse.c, regmove.c: Remove comments about stdio.h and rtl.h
      	include ordering.
      
      From-SVN: r159602
      Joseph Myers committed
    • combine.c (propagate_for_debug): Call make_compound_operation on the source value. · caba7aaa
      gcc/
      	* combine.c (propagate_for_debug): Call make_compound_operation
      	on the source value.
      	(try_combine): When implementing a split chosen by find_split_point,
      	either copy i2src or set it to null.  Assert that i2src is not null
      	before substituting into CALL_INSN_FUNCTION_USAGE.
      
      From-SVN: r159600
      Richard Sandiford committed
    • call.c (reference_binding): Use cp_build_qualified_type_real and cp_type_quals consistently. · a3360e77
      	* call.c (reference_binding): Use cp_build_qualified_type_real
      	and cp_type_quals consistently.
      	(add_function_candidate): Likewise.
      	(build_conditional_expr): Likewise.
      	(convert_like_real): Likewise.
      	(type_passed_as): Likewise.
      	* class.c (add_method): Likewise.
      	(same_signature_p): Likewise.
      	(layout_class_type): Likewise.
      	* decl.c (cxx_init_decl_processing): Likewise.
      	(cp_fname_init): Likewise.
      	(grokdeclarator): Likewise.
      	* decl2.c (cp_reconstruct_complex_type): Likewise.
      	* init.c (build_new_1): Likewise.
      	* method.c (do_build_copy_constructor): Likewise.
      	(implicitly_declare_fn): Likewise.
      	* pt.c (tsubst_aggr_type): Likewise.
      	(tsubst): Likewise.
      	* rtti.c (init_rtti_processing): Likewise.
      	(build_headof): Likewise.
      	(build_dynamic_cast_1): Likewise.
      	(tinfo_base_init): Likewise.
      	(emit_support_tinfos): Likewise.
      	* semantics.c (capture_decltype): Likewise.
      	* tree.c (cv_unqualified): Likewise.
      	* typeck.c (composite_pointer_type): Likewise.
      	(string_conv_p): Likewise.
      
      	* mangle.c (write_CV_qualifiers_for_type): Tweak.
      
      	* call.c (initialize_reference): Use CP_TYPE_CONST_P.
      	* decl.c (start_decl): Likewise.
      	* semantics.c (finish_compound_literal): Likewise.
      	* typeck.c (check_return_expr): Use CP_TYPE_VOLATILE_P.
      	(cp_type_readonly): Remove.
      	* cp-tree.h: Remove declaration.
      
      From-SVN: r159599
      Jason Merrill committed
    • * typeck.c (merge_types): Preserve memfn quals. · a0685b73
      From-SVN: r159598
      Jason Merrill committed