Commit Graph

98374 Commits

Author SHA1 Message Date
Richard Guenther
5d3579c539 re PR middle-end/42995 (inline-small-functions does not inline simple delegation calls)
2010-02-08  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42995
	* gcc.dg/tree-ssa/inline-4.c: New testcase.

From-SVN: r156598
2010-02-08 10:41:25 +00:00
Joern Rennecke
8a9a2486fb * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document.
From-SVN: r156595
2010-02-08 05:48:05 +00:00
Adam Nemet
7bf25dd66b mips.md (*<optab>_trunc<mode>_exts): Fix comment before the pattern.
* config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
	before the pattern.

From-SVN: r156594
2010-02-08 04:54:12 +00:00
Jie Zhang
95315086dc * MAINTAINERS: Add myself as a maintainer for the bfin port.
From-SVN: r156593
2010-02-08 02:59:44 +00:00
GCC Administrator
c1e709340d Daily bump.
From-SVN: r156592
2010-02-08 00:20:21 +00:00
Andrew Pinski
a46edbff24 re PR rtl-optimization/42946 (bootstrap with --enable-checking=df (or =all) fails)
2010-02-07  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/42946
        * df-core.c (df_finish_pass): Change type of saved_flags to int.

From-SVN: r156589
2010-02-07 15:22:49 -08:00
Joseph Myers
94b0b50a3c * sv.po: Update.
From-SVN: r156588
2010-02-07 23:02:34 +00:00
Sebastian Pop
86da963ef2 Add ChangeLog entries.
From-SVN: r156585
2010-02-07 19:49:35 +00:00
Sebastian Pop
0be957dc9f Call abort for runtime test, always return 0 from main.
2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>

	* gcc.dg/graphite/block-0.c: Call abort for runtime test.  Always
	return 0 from main.
	* gcc.dg/graphite/block-1.c: Same.
	* gcc.dg/graphite/block-3.c: Same.
	* gcc.dg/graphite/block-4.c: Same.
	* gcc.dg/graphite/block-5.c: Same.
	* gcc.dg/graphite/block-6.c: Same.
	* gcc.dg/graphite/block-7.c: Same.
	* gcc.dg/graphite/interchange-0.c: Same.
	* gcc.dg/graphite/interchange-1.c: Same.
	* gcc.dg/graphite/interchange-10.c: Same.
	* gcc.dg/graphite/interchange-11.c: Same.
	* gcc.dg/graphite/interchange-12.c: Same.
	* gcc.dg/graphite/interchange-2.c: Same.
	* gcc.dg/graphite/interchange-3.c: Same.
	* gcc.dg/graphite/interchange-4.c: Same.
	* gcc.dg/graphite/interchange-5.c: Same.
	* gcc.dg/graphite/interchange-6.c: Same.
	* gcc.dg/graphite/interchange-7.c: Same.
	* gcc.dg/graphite/interchange-8.c: Same.
	* gcc.dg/graphite/interchange-9.c: Same.
	* gcc.dg/graphite/interchange-mvt.c: Same.

From-SVN: r156584
2010-02-07 19:49:26 +00:00
Sebastian Pop
4d48441c65 Add new testcases.
2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>

	* gfortran.dg/graphite/id-19.f: New.
	* gfortran.dg/graphite/pr14741.f90: New.
	* gfortran.dg/graphite/pr41924.f90: New.
	* gfortran.dg/graphite/run-id-2.f90: New.

From-SVN: r156583
2010-02-07 19:49:15 +00:00
Sebastian Pop
8d2220b234 Fix PR42988: handle unknown_dependence.
2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/42988
	* graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND
	to unknown_dependence.
	(graphite_legal_transform_dr): Handle the unknown_dependence.
	(graphite_carried_dependence_level_k): Same.

	* testsuite/libgomp.graphite/force-parallel-5.c: Un-XFAILed.
	* testsuite/libgomp.graphite/pr41118.c: Renamed from pr4118.

From-SVN: r156582
2010-02-07 19:49:06 +00:00
Sebastian Pop
45489e99d6 Fix format in ChangeLog.graphite
2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>

	* ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/.

From-SVN: r156581
2010-02-07 19:48:55 +00:00
Paolo Carlini
240c7f7f57 re PR libstdc++/16896 (Use of non-reserved names in stl_list.h)
2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/16896
	* include/bits/stl_list.h (_List_node_base::transfer): Rename
	to _M_transfer.
	(_List_node_base::reverse): Rename to _M_reverse.
	(_List_node_base::hook): Rename to _M_hook.
	(_List_node_base::unhook): Rename to _M_unhook; adjust callers.
	* include/bits/list.tcc: Adjust callers.
	* src/list.cc: Adjust.
	* src/compatibility.cc: Likewise.
	* src/compatibility-list.cc: New.
	* src/compatibility-debug_list.cc: Likewise.
	* src/compatibility-parallel_list.cc: Likewise.
	* src/Makefile.am: Add.
	* src/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Export _M_* symbols.

	* src/hash.cc: Rename to hash-aux.cc.
	* src/compatibility-ldbl.cc: Adjust.
	* src/compatibility-c++0x.cc: Likewise.
	* src/hash_tr1.cc: Likewise.

	* src/hashtable.cc: Rename to hashtable-aux.cc.
	* src/hashtable_c++0x.cc: Adjust.
	* src/hashtable_tr1.cc: Likewise.

	* src/limits_c++0x.cc: Fold...
	* src/limits.cc... here.

From-SVN: r156578
2010-02-07 18:36:48 +00:00
Joseph Myers
0e7e3cb836 * es.po: Update.
From-SVN: r156577
2010-02-07 18:03:42 +00:00
Joseph Myers
0055bc1432 * es.po, nl.po: Update.
From-SVN: r156576
2010-02-07 18:02:05 +00:00
Richard Guenther
997ac87bfe re PR debug/42991 (cfgexpand.c:2487: Conditional jump or move depends on uninitialised value(s))
2010-02-07  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42991
	* expr.c (get_inner_reference): Always initialize *pbitsize.

From-SVN: r156575
2010-02-07 17:18:22 +00:00
Richard Guenther
cb6b911a63 re PR tree-optimization/42956 (internal compiler error: Segmentation fault with -O1)
2010-02-07  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42956
	* gimplify.c (gimple_fold_indirect_ref): Avoid generating
	new ARRAY_REFs on variable size element or minimal index arrays.
	Complete.
	* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
	gimple_fold_indirect_ref.

	* gcc.c-torture/compile/pr42956.c: New testcase.

From-SVN: r156571
2010-02-07 13:42:52 +00:00
Paolo Carlini
f41e0f1046 stl_pair.h (pair<>::pair(_U1&&, const _T2&), [...]): Revert to std::is_convertible, basing on DR 811.
2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
	pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
	Revert to std::is_convertible, basing on DR 811.

From-SVN: r156570
2010-02-07 10:29:04 +00:00
Jerry DeLisle
791e8c9c76 re PR libfortran/42742 (Handle very large format strings correctly)
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42742
	* gfortran.dg/fmt_cache_2.f: New test.

From-SVN: r156569
2010-02-07 07:50:17 +00:00
Jerry DeLisle
6c076a6c42 re PR libfortran/42742 (Handle very large format strings correctly)
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42742
	* io/format.c (reset_fnode_counters): Use the correct pointer to the
	head of the fnode list. (parse_format): Remove previous hack that set
	limit on size of format string for caching.

From-SVN: r156568
2010-02-07 07:45:55 +00:00
H.J. Lu
e8583d3ae1 Remove empy entry.
From-SVN: r156561
2010-02-06 20:07:05 -08:00
GCC Administrator
833bbd0ebf Daily bump.
From-SVN: r156560
2010-02-07 00:16:47 +00:00
Paolo Carlini
75a631c5c9 re PR libstdc++/42989 (operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14)
2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/42989
	* config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.

From-SVN: r156556
2010-02-06 21:30:52 +00:00
Paolo Carlini
54f3822595 re PR libstdc++/27340 (valarray uses __cos which may conflict with libm functions)
2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/27340
	* include/bits/valarray_before.h: Uglify the structs wrapping
	cmath functions differently, eg, _Cos instead of __cos.
	* include/bits/valarray_after.h: Adjust.

From-SVN: r156555
2010-02-06 20:41:09 +00:00
Jerry DeLisle
9d3b08c683 read_no_eor.f90: New test.
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/read_no_eor.f90: New test.

From-SVN: r156553
2010-02-06 18:34:13 +00:00
Sebastian Pop
28f9f1456e re PR tree-optimization/42637 ([graphite] wrong code for -floop-interchange -ftree-loop-distribution)
Fix PR42637.

2010-02-05  Sebastian Pop  <sebastian.pop@amd.com>
	    Konrad Trifunovic  <konrad.trifunovic@inria.fr>

	PR middle-end/42637
	* graphite-dependences.c (build_lexicographical_constraint): Return
	a union of dependence polyhedra.
	(dependence_polyhedron_1): Adapt for build_lexicographical_constraint.

	* testsuite/gcc.dg/graphite/block-0.c: Enable runtime check.  XFAILed.
	* testsuite/gcc.dg/graphite/block-4.c: Same.
	* testsuite/gcc.dg/graphite/block-7.c: Same.
	* testsuite/gcc.dg/graphite/interchange-12.c: Same.
	* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
	* testsuite/gfortran.dg/graphite/interchange-1.f: XFAILed.
	* testsuite/gfortran.dg/graphite/interchange-3.f90: XFAILed.
	* testsuite/gfortran.dg/graphite/run-id-1.f: New testcase for PR42637.

Co-Authored-By: Konrad Trifunovic <konrad.trifunovic@inria.fr>

From-SVN: r156552
2010-02-06 17:41:54 +00:00
Sebastian Pop
4d0bf08b1f Do not FAIL in miscompiled runtime tests.
2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/gcc.dg/graphite/interchange-12.c: Return 0 to avoid
	the execution check to FAIL.  This testcase is miscompiled by Graphite
	and the check should be re-enabled.
	* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
	* testsuite/gcc.dg/graphite/block-0.c: Same.
	* testsuite/gcc.dg/graphite/block-4.c: Same.
	* testsuite/gcc.dg/graphite/block-7.c: Same.

From-SVN: r156551
2010-02-06 17:41:47 +00:00
Sebastian Pop
54cf8879da Fix testsuite.
2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed.
	* testsuite/gcc.dg/graphite/scop-0.c: Fix spaces.
	* testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output.
	* testsuite/gfortran.dg/graphite/block-2.f: Same.
	* testsuite/gfortran.dg/graphite/block-3.f90: Same.
	* testsuite/gfortran.dg/graphite/block-4.f90: Same.
	* testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed.
	* testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed.

From-SVN: r156550
2010-02-06 17:41:41 +00:00
Sebastian Pop
b5eb099fb8 Correct the lexicographical function, add debug_pddr.
2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (new_poly_ddr): Initialize PDDR_KIND and
	PDDR_ORIGINAL_SCATTERING_P.
	(pddr_is_empty): Rewritten.
	(print_dependence_polyhedron_layout): New.
	(print_pddr): New.
	(debug_pddr): New.
	(build_alias_set_powerset): Moved up.
	(poly_drs_may_alias_p): Moved up.
	(lexicographically_gt_p): Removed.
	(build_lexicographically_gt_constraint): Renamed
	build_lexicographical_constraint, reimplemented.
	(dependence_polyhedron_1): Simplified parameters.
	(dependence_polyhedron): Same.  Keep along empty PDDRs
	to make efficient use of the cache.
	(reduction_dr_p): Compute the PBBs don't pass them as parameters.
	(graphite_legal_transform_dr): Rewritten.
	(graphite_legal_transform_bb): Pass fewer arguments to
	graphite_legal_transform_dr.
	(graphite_carried_dependence_level_k): Simplified implementation.
	(dot_original_deps_stmt_1): Call dependence_polyhedron.
	(dot_transformed_deps_stmt_1): Same.
	(dot_original_deps): Same.
	(dot_transformed_deps): Same.
	* graphite-dependences.h (struct poly_ddr): Added a new field
	original_scattering_p.
	(PDDR_ORIGINAL_SCATTERING_P): New.
	(print_pddr): Declared.
	(debug_pddr): Declared.
	* graphite-ppl.c: Clarify comment.
	* sese.h (print_gimple_bb): Removed unused declaration.
	(debug_gbb): Same.

From-SVN: r156549
2010-02-06 17:41:34 +00:00
Sebastian Pop
64630e6133 Add runtime tests for interchange and blocking.
2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/g++.dg/graphite/graphite.exp: Rewritten.
	* testsuite/gcc.dg/graphite/graphite.exp: Rewritten.
	* testsuite/gfortran.dg/graphite/graphite.exp: Rewritten.
	* gcc/testsuite/gcc.dg/graphite/block-0.c: Added runtime test.
	* testsuite/gcc.dg/graphite/block-1.c: Same.
	* testsuite/gcc.dg/graphite/block-3.c: Same.
	* testsuite/gcc.dg/graphite/block-4.c: Same.
	* testsuite/gcc.dg/graphite/block-5.c: Same.
	* testsuite/gcc.dg/graphite/block-6.c: Same.
	* testsuite/gcc.dg/graphite/block-7.c: Same.
	* testsuite/gcc.dg/graphite/interchange-0.c: Same.
	* testsuite/gcc.dg/graphite/interchange-1.c: Same.
	* testsuite/gcc.dg/graphite/interchange-10.c: Same.
	* testsuite/gcc.dg/graphite/interchange-11.c: Same.
	* testsuite/gcc.dg/graphite/interchange-12.c: Same.
	* testsuite/gcc.dg/graphite/interchange-2.c: Same.
	* testsuite/gcc.dg/graphite/interchange-3.c: Same.
	* testsuite/gcc.dg/graphite/interchange-4.c: Same.
	* testsuite/gcc.dg/graphite/interchange-5.c: Same.
	* testsuite/gcc.dg/graphite/interchange-6.c: Same.
	* testsuite/gcc.dg/graphite/interchange-7.c: Same.
	* testsuite/gcc.dg/graphite/interchange-8.c: Same.
	* testsuite/gcc.dg/graphite/interchange-9.c: Same.
	* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
	* testsuite/gcc.dg/graphite/run-id-2.c: Remove useless dg-do run.

From-SVN: r156548
2010-02-06 17:41:28 +00:00
Ramakrishna Upadrasta
4c8f3c48bf Make calls to dot run in background.
2010-01-22  Ramakrishna Upadrasta <Ramakrishna.Upadrasta@inria.fr>

	* graphite-scop-detection.c (dot_all_scops): Make calls to dot run in
	  background.

From-SVN: r156547
2010-02-06 17:41:22 +00:00
Sebastian Pop
86e4d552d9 Add more testcases.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/gcc.dg/graphite/id-17.c: New.
	* testsuite/gcc.dg/graphite/pr41888.c: New.
	* testsuite/gcc.dg/graphite/scop-22.c: New.
	* testsuite/gfortran.dg/graphite/pr40982.f90: New.

From-SVN: r156546
2010-02-06 17:41:15 +00:00
Sebastian Pop
3070ac1503 Clarify comments and use build_pddr.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c: Clarify comments.
	(build_pddr): Add an extra parameter direction.
	(graphite_legal_transform_dr): Use build_pddr.
	(dot_original_deps_stmt_1): Update use of build_pddr.
	(dot_transformed_deps_stmt_1): Same.
	(dot_original_deps): Same.
	(dot_transformed_deps): Same.

	* testsuite/gcc.dg/graphite/interchange-12.c: New.
	* gcc/testsuite/gcc.dg/graphite/block-7.c: New.

From-SVN: r156545
2010-02-06 17:41:09 +00:00
Sebastian Pop
a7ed6c90a4 Fix build_pddr.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (pddr_original_scattering): Renamed build_pddr.
	(pddr_transformed_scattering): Removed.
	(graphite_legal_transform_dr): Use build_pddr.
	(dot_original_deps_stmt_1): Same.
	(dot_transformed_deps_stmt_1): Same.
	(dot_original_deps): Same.
	(dot_transformed_deps): Same.

From-SVN: r156544
2010-02-06 17:41:03 +00:00
Sebastian Pop
e65a757989 Add missing function comments.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (lexicographically_gt_p): Add comments.
	(build_lexicographically_gt_constraint): Same.
	(dependence_polyhedron_1): Same.
	(dependence_polyhedron): Same.

From-SVN: r156543
2010-02-06 17:40:58 +00:00
Sebastian Pop
7cbd4c5e84 Factor uses of build_pairwise_scheduling.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (build_pairwise_scheduling_equality): Removed.
	(build_pairwise_scheduling_inequality): Renamed build_pairwise_scheduling.
	(lexicographically_gt_p): Change type of direction to int.
	(build_lexicographically_gt_constraint): Same.
	(dependence_polyhedron_1): Same.
	(dependence_polyhedron): Same.
	(pddr_original_scattering): Use integers for direction.
	(pddr_transformed_scattering): Same.
	(graphite_legal_transform_dr): Same.
	(graphite_carried_dependence_level_k): Same.

From-SVN: r156542
2010-02-06 17:40:52 +00:00
Sebastian Pop
429ba74090 Cleanup build relation.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (build_pairwise_constraint): Renamed
	ppl_build_relation.  Moved...
	(dr_equality_constraints): Use ppl_build_relation.
	(build_pairwise_scheduling_equality): Same.
	(build_pairwise_scheduling_inequality): Same.
	* graphite-ppl.c (ppl_build_relation): ...here.
	* graphite-ppl.h (ppl_build_relation): Declared.

From-SVN: r156541
2010-02-06 17:40:45 +00:00
Jerry DeLisle
26bda00088 PR libfortran
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran
	* io/transfer.c (read_sf): Handle EOR and EOF conditions for
	ADVANCE="no" with PAD="yes" or PAD="no".

From-SVN: r156540
2010-02-06 14:39:51 +00:00
Richard Earnshaw
b761dbe6a1 re PR target/42957 (ARM: Segfault when invalid -mfpu argument is specified.)
PR target/42957
	* arm.c (arm_override_options): Just return if the user has specified
	an invalid fpu name.

From-SVN: r156539
2010-02-06 14:05:27 +00:00
GCC Administrator
e984a04ecc Daily bump.
From-SVN: r156533
2010-02-06 00:16:49 +00:00
Jason Merrill
c1f8423c8b * g++.dg/ext/label13.C: Move constructor body out of class.
From-SVN: r156530
2010-02-05 17:17:17 -05:00
Jason Merrill
b2469a9bbb re PR c++/42870 (__attribute__ ((dllexport)) produces broken linkage)
PR c++/42870
	* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
	i386_pe_maybe_record_exported_symbol.

From-SVN: r156529
2010-02-05 17:17:09 -05:00
Joseph Myers
bc23518671 * sv.po: Update.
From-SVN: r156528
2010-02-05 20:48:17 +00:00
Steve Ellcey
1f65437dad re PR target/42924 (pex-unix.c:589:1: internal compiler error: output_operand)
2010-02-05  Steve Ellcey  <sje@cup.hp.com>

	PR target/42924
	* config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
	(pa_delegitimize_address): New function.

From-SVN: r156526
2010-02-05 18:21:06 +00:00
Paolo Carlini
4e4d27aae5 future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit.
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
	typo in last commit.

From-SVN: r156525
2010-02-05 17:25:12 +00:00
Ozkan Sezer
126edba2b7 msformat-c.c (ms_printf_length_specs): Set the scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * config/i386/msformat-c.c (ms_printf_length_specs): Set the
        scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.

From-SVN: r156524
2010-02-05 18:23:24 +01:00
Ozkan Sezer
ebd14cbb4f ms-format3.c: New test for specific MS types.
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/format/ms-format3.c: New test for specific MS types.

From-SVN: r156523
2010-02-05 18:22:54 +01:00
Paolo Carlini
1950140626 future (swap(packaged_task<>&, packaged_task<>&), [...]): Add; minor formatting fixes.
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/future (swap(packaged_task<>&, packaged_task<>&),
	swap(promise<>&, promise<>&)): Add; minor formatting fixes.
	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
	dg-error line number.
	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
	* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
	* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.

From-SVN: r156522
2010-02-05 17:19:10 +00:00
Richard Guenther
6561cdf608 Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
2010-02-05  Richard Guenther  <rguenther@suse.de>

	* Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
	* cp-lang.c: Include gt-cp-cp-lang.h.
	* config-lang.in (gtfiles): Add cp/cp-lang.c.

From-SVN: r156521
2010-02-05 15:38:04 +00:00
Richard Guenther
532df90460 re PR lto/42762 (ICE in get_resolution() when compiling a C++ program with -flto -fuse-linker-plugin)
2010-02-05  Richard Guenther  <rguenther@suse.de>

	PR lto/42762
	* lto-streamer-in.c (get_resolution): Deal with references
	to undefined functions.

From-SVN: r156520
2010-02-05 15:31:15 +00:00