98523 Commits

Author SHA1 Message Date
Iain Sandoe
fca4c1d59a objc-act.c (finish_var_decl): Set the generated symbols as "used".
* objc-act.c (finish_var_decl):	Set the	generated symbols as "used".

Co-Authored-By: Mike Stump <mikestump@comcast.net>

From-SVN: r156877
2010-02-18 22:00:21 +00:00
Uros Bizjak
1a242e3cea configure.ac (gnu-unique-object): Wrap regexps using [] in changequote block.
* configure.ac (gnu-unique-object): Wrap regexps using [] in
	changequote block.
	(__stack_chk_fail): Ditto.  Remove quadrigraphs.
	* configure: Regenerated.

From-SVN: r156876
2010-02-18 22:42:23 +01:00
Mike Stump
3378b6fa11 Improve wording..
From-SVN: r156875
2010-02-18 21:04:40 +00:00
Jason Merrill
1ff6b2c8c4 re PR c++/43108 (mixed complex<T> multiplication horribly inefficient)
PR c++/43108
	* typeck.c (cp_build_binary_op): Adapt mixed complex/non handling from
	C build_binary_op.
	* cp-tree.h (WANT_VECTOR_OR_COMPLEX): Rename from WANT_VECTOR.
	* cvt.c (build_expr_type_conversion): Allow COMPLEX_TYPE.

From-SVN: r156874
2010-02-18 14:58:41 -05:00
Ulrich Weigand
86866b288e spu-c.c (spu_resolve_overloaded_builtin): Call lang_hooks.types_compatible_p instead of comptypes.
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
	lang_hooks.types_compatible_p instead of comptypes.

From-SVN: r156873
2010-02-18 19:53:02 +00:00
Jason Merrill
7890246f66 re PR target/43070 (g++.dg/ext/label2.C fails to compile at -O1)
PR c++/43070
	* semantics.c (finish_goto_stmt): Don't call decay_conversion.

From-SVN: r156872
2010-02-18 14:20:21 -05:00
Benjamin Kosnik
bb7dcd0ef3 using.xml: Update.
2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/manual/using.xml: Update.
	* doc/xml/manual/status_cxx1998.xml: Same.
	* doc/xml/manual/status_cxx200x.xml: Add link.
	* doc/html/*: Regenerate.

	* testsuite/17_intro/freestanding.cc: Add.

From-SVN: r156871
2010-02-18 18:52:12 +00:00
Paolo Carlini
584fd146d2 typeinfo: Add system_header pragma.
2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* libsupc++/typeinfo: Add system_header pragma.
	* libsupc++/exception: Likewise.
	* libsupc++/cxxabi-forced.h: Likewise.
	* libsupc++/new: Likewise.
	* libsupc++/cxxabi.h: Likewise.
	* libsupc++/initializer_list: Likewise.

From-SVN: r156869
2010-02-18 17:58:53 +00:00
Sebastian Huber
8168ccc0d9 lib1funcs.asm (__prefer_thumb__): New define.
2010-02-18  Sebastian Huber <sebastian.huber@embedded-brains.de>

	* config/arm/lib1funcs.asm (__prefer_thumb__): New define.
	(udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant
	if __prefer_thumb__ is defined.

From-SVN: r156868
2010-02-18 17:29:58 +00:00
Paolo Carlini
2f95713bd9 nested_exception.h: Fix <bits/c++0x_warning.h> include.
2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.

From-SVN: r156867
2010-02-18 17:20:16 +00:00
Jason Merrill
04daa92ba7 re PR c++/26261 (Rejects template with const static data member used in return type)
PR c++/26261
	PR c++/43101
	* pt.c (tsubst_qualified_id): Do normal lookup in non-dependent scope.
	(maybe_update_decl_type): New fn.
	* parser.c (cp_parser_init_declarator): Use it.

From-SVN: r156865
2010-02-18 11:27:18 -05:00
Jason Merrill
935c0a5d24 re PR c++/43109 (ICE: SIGSEGV with unnamed namespace inside named)
PR c++/43109
	* semantics.c (begin_class_definition): Don't crash on unnamed ns.

From-SVN: r156864
2010-02-18 11:27:07 -05:00
Martin Jambor
746e119f8d re PR tree-optimization/43066 (ICE: SIGFPE with empty struct and va_arg)
2010-02-18  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43066
	* tree-sra.c (build_ref_for_offset_1): Return false on encountering an
	array with zero-sized element type.

	* testsuite/gcc.c-torture/compile/pr43066.c: New test.

From-SVN: r156863
2010-02-18 15:53:05 +01:00
Jakub Jelinek
82cf0c8c00 dwarf2out.c (add_var_loc_to_decl): Change last argument to rtx...
* dwarf2out.c (add_var_loc_to_decl): Change last argument to
	rtx, allocate struct var_loc_node here and return it to the
	caller, and only if it is actually needed.
	(dwarf2out_var_location): Adjust add_var_loc_to_decl caller,
	move it earlier and return immediately if it returns NULL.

From-SVN: r156860
2010-02-18 09:58:14 +01:00
Uros Bizjak
5a1e3b6c7f attrib35.C: Fix target selector string.
* g++.dg/ext/attrib35.C: Fix target selector string.
	* g++.dg/ext/attrib36.C: Ditto.
	* g++.dg/ext/attrib37.C: Ditto.
	* g++.dg/abi/mangle24.C: Remove stray "*/" from dg directives.
	* g++.dg/abi/mangle25.C: Ditto.

From-SVN: r156859
2010-02-18 08:40:01 +01:00
Mikael Pettersson
ccb265d66e gas.h: New file.
2010-02-17  Mikael Pettersson  <mikpe@it.uu.se>

	* config/sparc/gas.h: New file.  Restore
	TARGET_ASM_NAMED_SECTION to its ELF default.
	* config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not
	check !HAVE_GNU_AS.
	* config/sparc/sparc.c (sparc_elf_asm_named_section):
	Likewise.  Add ATTRIBUTE_UNUSED to prototype.
	* config.gcc (sparc*-*-linux*): Include sparc/gas.h
	after sparc/sysv4.h.

From-SVN: r156854
2010-02-17 19:28:52 -08:00
GCC Administrator
c226be2843 Daily bump.
From-SVN: r156845
2010-02-18 00:17:01 +00:00
Jason Merrill
9ba5971590 re PR c++/43075 (20_util/bind/ref2.cc FAILs)
PR c++/43075
	* call.c (build_over_call): Don't create zero-sized assignments.
	* cp-gimplify.c (cp_genericize_r): Don't remove them here.
	* cp-objcp-common.c (cp_expr_size): Remove.
	* cp-tree.h: Remove prototype.

From-SVN: r156842
2010-02-17 17:51:51 -05:00
Jason Merrill
77278f4acb re PR c++/43069 (ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in set_decl_namespace, at cp/name-lookup.c:3105)
PR c++/43069
	* name-lookup.c (set_decl_namespace): Don't copy DECL_CONTEXT if the
	decl we looked up doesn't match.

From-SVN: r156841
2010-02-17 17:51:43 -05:00
Jason Merrill
85a52ea58c re PR c++/43093 (internal compiler error: Segmentation fault when compiling Firefox)
PR c++/43093
	* cp-gimplify.c (cp_gimplify_expr) [INIT_EXPR]: Return if we don't
	have an INIT_EXPR anymore.

From-SVN: r156840
2010-02-17 17:51:34 -05:00
Jason Merrill
d29760adf9 re PR c++/43079 (ICE with incompatible pointer-to-member-function as template parameter)
PR c++/43079
	* pt.c (convert_nontype_argument): Change assert to test.

From-SVN: r156839
2010-02-17 17:51:25 -05:00
Benjamin Kosnik
af14c87be9 appendix_contributing.xml: Update markup rules for quoting and functions.
2010-02-17  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/manual/appendix_contributing.xml: Update markup rules
	for quoting and functions.

From-SVN: r156838
2010-02-17 22:31:19 +00:00
Chris Jefferson
2a5f4935e8 locale_facets.h (__convert_to_v): Add empty exception-specification.
2010-02-17  Chris Jefferson  <chris@bubblescope.net>

	* include/bits/locale_facets.h (__convert_to_v): Add empty
	exception-specification.

From-SVN: r156837
2010-02-17 21:09:10 +00:00
Uros Bizjak
01305d242d ChangeLog: Fix whitespace.
* ChangeLog: Fix whitespace.
	* testsuite/ChangeLog: Ditto.

From-SVN: r156835
2010-02-17 19:00:46 +01:00
Rafael Avila de Espindola
cae072e27c MAINTAINERS (Plugin, [...]): Remove myself.
2010-02-17 Rafael Ávila de Espíndola <espindola@google.com>

	* MAINTAINERS (Plugin, LTO, LTO plugin): Remove myself.
	(Write After Approval): Update my email address.

From-SVN: r156834
2010-02-17 16:36:02 +00:00
Dave Korn
a30f3def59 mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name.
* config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name.

From-SVN: r156832
2010-02-17 15:53:28 +00:00
Steven Bosscher
2f6c5b27e0 gensupport.c (process_one_cond_exec): Derive name for COND_EXEC patterns from predicated pattern.
* gensupport.c (process_one_cond_exec): Derive name for COND_EXEC
	patterns from predicated pattern.

From-SVN: r156831
2010-02-17 15:05:40 +00:00
Paolo Carlini
ce4674f2a6 limits: Implement resolution of DR 559 (CD1) in C++0x mode.
2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/limits: Implement resolution of DR 559 (CD1) in
	C++0x mode.
	* testsuite/18_support/numeric_limits/dr559.cc: New.

From-SVN: r156830
2010-02-17 12:18:54 +00:00
Nick Clifton
96e41f1611 oops - add changelog entry for previous delta.
From-SVN: r156829
2010-02-17 11:02:32 +00:00
Nick Clifton
e50390fc02 Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found...
* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
        the config.cache files found by the find command.

From-SVN: r156828
2010-02-17 11:01:44 +00:00
Uros Bizjak
b5e33e042a re PR target/43103 (xop-vpermil2pX tests failed)
PR target/43103
	* config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c
	for insn mnemonic suffix.

testsuite/ChangeLog:

	PR target/43103	
	* gcc.target/i386/xop-check.h: Include m256-check.h.
	* gcc.target/i386/xop-vpermil2ps-1.c: Include x86intrin.h.
	* gcc.target/i386/xop-vpermil2ps-256-1.c: Ditto.
	* gcc.target/i386/xop-vpermil2pd-1.c: Ditto.
	* gcc.target/i386/xop-vpermil2pd-256-1.c: Ditto.

From-SVN: r156827
2010-02-17 11:52:41 +01:00
Nick Clifton
bf646aaf78 re PR c++/11238 (A constructor with exception handler rethrows the exception to the constructor caller)
PR 11238
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.

From-SVN: r156826
2010-02-17 10:05:27 +00:00
Richard Guenther
a95740b328 tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis to loop PHI nodes.
2010-02-17  Richard Guenther  <rguenther@suse.de>

	* tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
	to loop PHI nodes.

From-SVN: r156825
2010-02-17 09:45:31 +00:00
Richard Biener
6832680673 re PR middle-end/41043 (virtual memory exhausted: Cannot allocate memory)
2010-02-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41043
	* gfortran.dg/pr41043.f90: New testcase.
	* gcc.dg/Wstrict-overflow-18.c: XFAIL.

From-SVN: r156824
2010-02-17 09:39:26 +00:00
Jakub Jelinek
169e464e66 re PR debug/42918 ("-fcompare-debug failure" with "-O2 -ftracer" (2))
PR debug/42918
	* caller-save.c (save_call_clobbered_regs): If BB ends with
	a DEBUG_INSN, move any notes in between last real insn and the last
	DEBUG_INSN after the last DEBUG_INSN.

	* gcc.dg/pr42918.c: New test.

From-SVN: r156823
2010-02-17 09:54:59 +01:00
Benjamin Kosnik
32ade5590e ios_locale.cc: Fixes for -pedantic.
2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>

	* src/ios_locale.cc: Fixes for -pedantic.
	* src/system_error.cc: Same.
	* src/locale.cc: Same.
	* src/list.cc: Same.
	* src/locale_facets.cc: Same.
	* src/locale_init.cc: Same.
	* src/ios.cc: Same.
	* config/locale/darwin/ctype_members.cc: Same.
	* config/locale/gnu/collate_members.cc: Same.
	* config/locale/gnu/ctype_members.cc: Same.
	* config/locale/gnu/c_locale.cc: Same.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/ieee_1003.1-2001/c_locale.cc: Same.
	* config/locale/generic/collate_members.cc: Same.
	* config/locale/generic/ctype_members.cc: Same.
	* config/locale/generic/c_locale.cc: Same.
	* config/locale/generic/monetary_members.cc: Same.
	* config/locale/generic/time_members.cc: Same.
	* config/io/basic_file_stdio.cc: Same.

	* libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
	* libsupc++/pointer_type_info.cc: Same.
	* libsupc++/eh_personality.cc: Same.

	* include/std/system_error: Throw spacing.
	* include/bits/locale_classes.h: Same.
	* include/bits/locale_facets.h: Same.
	* include/bits/ios_base.h: Same.

	* testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
	* testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New

From-SVN: r156822
2010-02-17 05:43:24 +00:00
H.J. Lu
bc349d0a7f Require ILP32 for stdcall attribute test.
2010-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/ext/attrib36.C: Require ILP32.

From-SVN: r156821
2010-02-16 20:59:16 -08:00
GCC Administrator
7cec0b1d3d Daily bump.
From-SVN: r156819
2010-02-17 00:16:44 +00:00
Paolo Carlini
05eeebfe49 random.h (linear_congruential_engine(_Sseq&), [...]): Do not enable for the type itself.
2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/random.h (linear_congruential_engine(_Sseq&),
	mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
	Do not enable for the type itself.
	(discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
	shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
	(linear_congruential_engine<>::seed(_Sseq&),
	mersenne_twister_engine<>::seed(_Sseq&),
	subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
	return type.
	(discard_block_engine<>::seed(_Sseq&),
	independent_bits_engine<>::seed(_Sseq&),
	shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
	* include/bits/random.tcc: Adjust definitions.
	* testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
	New.
	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
	copy.cc: Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/
	copy.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
	copy.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/cons/
	copy.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/
	copy.cc: Likewise.

	* testsuite/26_numerics/random/independent_bits_engine/cons/
	base_move.cc: Minor tweaks.
	* testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
	Likewise.
	* testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
	Likewise.
	* testsuite/26_numerics/random/independent_bits_engine/cons/
	base_copy.cc: Likewise.
	* testsuite/26_numerics/random/independent_bits_engine/cons/
	default.cc: Likewise.
	* testsuite/26_numerics/random/independent_bits_engine/cons/
	seed_seq.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
	seed1.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
	seed2.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
	default.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
	seed_seq.cc: Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
	Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
	Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
	Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
	Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
	Likewise.
	* testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
	Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
	Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
	Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
	default.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
	seed_seq.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/cons/
	seed1.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/cons/
	seed2.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/cons/
	seed_seq.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
	Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
	Likewise.
 	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
	Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
	Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
	Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
	Likewise.

From-SVN: r156815
2010-02-16 19:19:55 +00:00
Joern Rennecke
5498b6d2bf tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Fix return type.
* tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
	Fix return type.  Fix argument type.  Explain meaning of return value.

From-SVN: r156814
2010-02-16 19:04:15 +00:00
Richard Guenther
b09bae6856 re PR middle-end/41043 (virtual memory exhausted: Cannot allocate memory)
2010-02-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41043
	* tree-vrp.c  (vrp_var_may_overflow): Only ask SCEV for
	real loops.
	(vrp_visit_assignment_or_call): Do not ask SCEV for regular
	statements ...
	(vrp_visit_phi_node): ... but only for loop PHI nodes.

	* gfortran.dg/pr41043.f90: New testcase.
	* gcc.dg/Wstrict-overflow-18.c: XFAIL.

From-SVN: r156808
2010-02-16 16:11:28 +00:00
Paolo Carlini
d779a59199 unique_ptr.h: (unique_ptr<>:: unique_ptr(const unique_ptr<_Up...
2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/unique_ptr.h: (unique_ptr<>::
	unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
	per DR 1303.
	* include/bits/shared_ptr.h (shared_ptr<>::
	shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
	* include/bits/shared_ptr_base.h (__shared_ptr<>::
	__shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
	operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
	Likewise.

From-SVN: r156807
2010-02-16 16:01:23 +00:00
Jason Merrill
7c7580ef15 * g++.dg/cpp0x/initlist-opt.C: Declare max_val inline.
From-SVN: r156804
2010-02-16 10:08:33 -05:00
Jason Merrill
0d08582ee6 * cp-gimplify.c (cp_gimplify_expr): Fix error recovery.
From-SVN: r156803
2010-02-16 10:08:23 -05:00
Ira Rosen
99f51320d4 re PR tree-optimization/43074 (ICE in vectorizable_reduction, at tree-vect-loop.c:3491)
PR tree-optimization/43074
	* tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
	* tree-vect-loop.c (vect_analyze_loop_operations): Add
	vectorizable cycles in hybrid SLP check.
	* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise.

From-SVN: r156800
2010-02-16 11:35:03 +00:00
Richard Guenther
f47e08d97a alias.c (memrefs_conflict_p): Distinguish must-alias from don't know.
2010-02-16  Richard Guenther  <rguenther@suse.de>

	* alias.c (memrefs_conflict_p): Distinguish must-alias from
	don't know.
	(true_dependence): If memrefs_conflict_p computes must-alias
	trust it.  Move TBAA check after offset-based disambiguation.
	(canon_true_dependence): Likewise.

From-SVN: r156797
2010-02-16 10:01:51 +00:00
Tobias Burnus
7bc19392e5 re PR fortran/43040 (Wrong decl for mathbuiltins -> wrong code with LTO)
2010-02-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43040
        * gfortran.h (gfc_isym_id): Rename GFS_ISYM_GAMMA to
        * GFS_ISYM_TGAMMA.
        * intrinsic.c (add_functions): Ditto.
        * iresolve.c (gfc_resolve_gamma): Call tgamma instead of gamma.
        * mathbuiltins.def: Use TGAMMA instead of GAMMA with "tgamma".

From-SVN: r156796
2010-02-16 09:35:05 +01:00
Jakub Jelinek
ec8c39789d params.def (PARAM_MAX_VARTRACK_SIZE): New.
* params.def (PARAM_MAX_VARTRACK_SIZE): New.
	* doc/invoke.texi: Document it.
	* var-tracking.c: Include toplev.h and params.h.
	(vt_find_locations): Return bool indicating success.  Compute
	hash sizes unconditionally.  Check new parameter, report.
	(variable_tracking_main_1): Check vt_find_locations results and
	retry.  Renamed from...
	(variable_tracking_main): ... this.  New wrapper to preserve
	flag_var_tracking_assignments.
	* Makefile.in (var-tracking.o): Adjust dependencies.

	* lib/prune.exp: Prune variable tracking size limit exceeded
	notes.

From-SVN: r156794
2010-02-16 09:02:37 +01:00
Jason Merrill
1e2ddf80b6 re PR c++/43031 (internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox)
PR c++/43031
	* cp-gimplify.c (cp_gimplify_expr) [MODIFY_EXPR]: Use
	VIEW_CONVERT_EXPR for conversions between structural equality types
	that the back end can't tell are the same.

From-SVN: r156793
2010-02-16 01:05:20 -05:00
Jason Merrill
38e40fcd45 re PR c++/43036 (c++ compilation hang)
PR c++/43036
	* tree.c (build_cplus_array_type): Set TYPE_MAIN_VARIANT to strip
	cv-quals from element here.
	(cp_build_qualified_type_real): Not here.  Preserve typedef name.

From-SVN: r156792
2010-02-16 01:05:09 -05:00