Commit Graph

91441 Commits

Author SHA1 Message Date
Paul Thomas e775e6b697 re PR fortran/38657 (PUBLIC/PRIVATE Common blocks)
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38657
	* module.c (write_common_0): Add argument 'this_module' and
	check that non-use associated common blocks are written first.
	(write_common): Call write_common_0 twice, once with true and
	then with false.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38657
	* gfortran.dg/module_commons_3.f90: Reapply.

From-SVN: r143463
2009-01-17 11:58:48 +00:00
Paul Thomas c41fea4af4 re PR fortran/34955 (transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3)
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34955
	* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
	been absorbed into gfc_conv_intrinsic_transfer. All
	references to it in trans-intrinsic.c have been changed
	accordingly.  PR fixed by using a temporary for scalar
	character transfer, when the source is shorter than the
	destination.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34955
	* gfortran.dg/transfer_intrinsic_1.f90: New test.
	* gfortran.dg/transfer_intrinsic_2.f90: New test.

From-SVN: r143462
2009-01-17 11:32:02 +00:00
Paul Thomas 6e7ff326cf re PR fortran/38657 (PUBLIC/PRIVATE Common blocks)
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38657
	* module.c (write_common_0): Revert patch of 2009-01-10.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38657
	* gfortran.dg/module_commons_3.f90: Remove

From-SVN: r143459
2009-01-17 09:43:57 +00:00
Benjamin Kosnik 7d4260a382 Makefile.am (sources): Add math_stubs_float.cc.
2009-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (sources): Add math_stubs_float.cc.
	* src/Makefile.in: Regenerate.
	* src/math_stubs_float.cc: New, from libmath/stubs.c.

From-SVN: r143457
2009-01-17 02:03:25 +00:00
H.J. Lu 1cc914fc95 foldaddr-1.c: Add the missing '}'.
2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'.

From-SVN: r143455
2009-01-16 17:31:44 -08:00
GCC Administrator 53847ea218 Daily bump.
From-SVN: r143453
2009-01-17 00:17:01 +00:00
Jason Merrill fd80343111 re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)
PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

From-SVN: r143448
2009-01-16 17:40:25 -05:00
Jakub Jelinek 4dcb8fd1b1 Makefile.in: Fix multilib handling for powerpc64-linux.
* gcc-interface/Makefile.in: Fix multilib handling for
	powerpc64-linux.

From-SVN: r143447
2009-01-16 23:38:12 +01:00
Jason Merrill b7da27c2e2 re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)
PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

From-SVN: r143446
2009-01-16 17:36:32 -05:00
Jason Merrill db8470f688 re PR c++/29470 (Using declaration access semantics change with templates)
PR c++/29470
        * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.

From-SVN: r143445
2009-01-16 17:36:11 -05:00
Alexandre Oliva 5be1c58c4d ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ipa-struct-reorg.c (gen_struct_type): Replace known-true
test with assertion.

From-SVN: r143443
2009-01-16 20:44:25 +00:00
Richard Guenther 786ce82d44 re PR tree-optimization/38835 (field-insensitive PTA causes libstdc++ miscompiles)
2009-01-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38835
	PR middle-end/36227
	* fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
	and INT + PTR -> (INT)(PTR p+ INT) folding.
	* tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.

	java/
	* builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.

	* gcc.c-torture/execute/pr36227.c: New testcase.
	* gcc.dg/tree-ssa/foldaddr-1.c: XFAIL.
	* g++.dg/init/const7.C: Likewise.

From-SVN: r143442
2009-01-16 19:18:18 +00:00
Adam Nemet c1cb09ada0 re PR target/38554 (ICE when compiling pamfunc.c in netpbm with -O1 enabled)
PR target/38554
	* expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
	the subreg from a lowpart subreg if it is also casting the value.

testsuite/
	PR target/38554
	* gcc.c-torture/compile/pr38554.c: New test.

From-SVN: r143440
2009-01-16 18:56:47 +00:00
Jason Merrill 1ceb2263cf re PR c++/38579 (Template: Wrong inherited copy-ctor visibility)
PR c++/38579
        * search.c (protected_accessible_p): N doesn't vary.

From-SVN: r143439
2009-01-16 13:35:28 -05:00
Sebastian Pop bcab4e19da graphite.c (compare_prefix_loops): New.
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
	    Tobias Grosser  <tobi.grosser@amd.com>

	* graphite.c (compare_prefix_loops): New.
	(build_scop_canonical_schedules): Rewritten.
	(graphite_transform_loops): Move build_scop_canonical_schedules
	after build_scop_iteration_domain.


Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>

From-SVN: r143437
2009-01-16 15:20:16 +00:00
Sebastian Pop 0b040072d6 graphite.c (add_conditions_to_domain): Add the loops to the dimension of the iteration domain.
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
	    Tobias Grosser  <tobi.grosser@amd.com>

	* graphite.c (add_conditions_to_domain): Add the loops to 
	the dimension of the iteration domain.  Do copy the domain
	only when it exists.
	(build_scop_conditions_1): Do not call add_conditions_to_domain.
	(add_conditions_to_constraints): New.
	(can_generate_code_stmt, can_generate_code): Removed.
	(gloog): Do not call can_generate_code.
	(graphite_transform_loops): Call add_conditions_to_constraints
	after building the iteration domain.


Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>

From-SVN: r143436
2009-01-16 15:18:28 +00:00
Jakub Jelinek 56c6a49994 re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for non-constant arguments.)
PR tree-optimization/38789
	* tree-ssa-threadedge.c
	(record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
	__builtin_constant_p.

	* gcc.c-torture/compile/pr38789.c: New test.

From-SVN: r143435
2009-01-16 16:01:24 +01:00
Kenneth Zadeck cd3f172908 dce.c (delete_unmarked_insns): Reversed the order that insns are examined before deleting them.
2009-01-16  Kenneth Zadeck <zadeck@naturalbridge.com>

	* dce.c (delete_unmarked_insns): Reversed the order that insns are
	examined before deleting them.

From-SVN: r143433
2009-01-16 13:41:11 +00:00
Richard Earnshaw c433cb14ae function.c (aggregate_value_p): Correctly extract the function type from CALL_EXPR_FN lookup.
* function.c (aggregate_value_p): Correctly extract the function
	type from CALL_EXPR_FN lookup.

From-SVN: r143432
2009-01-16 13:20:32 +00:00
Janus Weil 6e0d2de7cb re PR fortran/38152 (procedure pointers as module variables)
2009-01-16  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/38152
	* expr.c (gfc_check_pointer_assign): Allow use-associated procedure
	pointers as lvalue.
	* trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
	Enable procedure pointers as module variables.


2009-01-16  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/38152
	* gfortran.dg/proc_ptr_13.f90: New.

From-SVN: r143430
2009-01-16 13:03:51 +01:00
Hariharan Sandanagobalane 27d62fa48e picochip.c (picochip_override_options): Revert CFI asm flag disable commited previously.
* config/picochip/picochip.c (picochip_override_options): Revert
          CFI asm flag disable commited previously.

From-SVN: r143429
2009-01-16 09:56:23 +00:00
Alan Modra 36fbb0ecc5 Makefile.def (configure-opcodes): Depend on configure-libiberty.
* Makefile.def (configure-opcodes): Depend on configure-libiberty.
	(all-opcodes): Depend on all-libiberty.
	* Makefile.in: Regenerate.

From-SVN: r143426
2009-01-16 18:37:23 +10:30
Jason Merrill 16eba92873 re PR c++/38850 (Cannot find inline friend function in template class when called from within a template function)
PR c++/38850
        * pt.c (tsubst_copy_and_build): Tell finish_call_expr to
        accept hidden friends.

From-SVN: r143422
2009-01-16 00:04:26 -05:00
Ben Elliston ce16861e68 config.host (i[34567]86-*-linux*, [...]): Add t-softfp to tmake_file.
* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
	to tmake_file.

From-SVN: r143421
2009-01-16 15:00:48 +11:00
Benjamin Kosnik 1457ddca5a Makefile.am (sources): Add math_stubs_long_double.cc.
2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (sources): Add math_stubs_long_double.cc.
	* src/Makefile.in: Regenerate.
	* src/math_stubs_long_double.cc: New, from libmath/stubs.c.

From-SVN: r143420
2009-01-16 02:55:11 +00:00
GCC Administrator 6a1c0a18ed Daily bump.
From-SVN: r143418
2009-01-16 00:17:14 +00:00
Sebastian Pop c77bb78f00 graphite.c (scan_tree_for_params): On substractions negate all the coefficients of the term.
2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
	    Tobias Grosser  <tobi.grosser@amd.com>
	    Jan Sjodin  <jan.sjodin@amd.com>

	* graphite.c (scan_tree_for_params): On substractions negate
	all the coefficients of the term.
	(clast_to_gcc_expression_red): New.  Handle reduction expressions
	of more than two operands.
	(clast_to_gcc_expression): Call clast_to_gcc_expression_red.
	(get_vdef_before_scop): Handle also the case of default definitions.



Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com>
Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>

From-SVN: r143415
2009-01-15 23:23:48 +00:00
Andrew Pinski a2712544dc re PR c++/29388 (ICE with invalid nested name specifier)
2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * decl.c (grokdeclarator): Check for a non namespace/class context.


2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * g++.dg/template/error37.C: New testcase.

From-SVN: r143411
2009-01-15 14:10:24 -08:00
Richard Sandiford 574af2d680 caller-save.c (add_used_regs_1, [...]): New functions.
gcc/
	* caller-save.c (add_used_regs_1, add_used_regs): New functions.
	(insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
	Also use them when walking CALL_INSN_FUNCTION_USAGE.

From-SVN: r143409
2009-01-15 21:22:32 +00:00
Benjamin Kosnik adc8a1e3e0 re PR libstdc++/32666 (FAIL: abi_check hppa)
2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/32666
	* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/32666
	* Makefile.am (hosted_source): Remove libmath directory.
	* Makefile.in: Regenerate.
	* linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
	(AC_REPLACE_MATHFUNCS): Remove.
	(GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
	in GLIBCXX_CHECK_C99_TR1.
	* acinclude.m4: Remove libmath, need_math.
	* crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
	HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
	* configure.ac: Same.
	* configure: Regenerate.
	* fragment.am: Fix comment.
	* config.h.in: Regenerate.
	* src/Makefile.in: Regenerate.
	* src/Makefile.am: Remove libmath references.
	* doc/Makefile.in: Regenerate.
	* po/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

	* src/compatibility.cc: Also export long double versions of "C" math
	library if hppa-linux.
	* config/abi/pre/gnu.ver: Remove unused __signbit exports.
	* doc/xml/manual/appendix_contributing.xml: Remove libmath reference.

	* libmath: Remove.
	* libmath/signbit.c: Same.
	* libmath/stubs.c: Same.
	* libmath/Makefile.in: Same.
	* libmath/copysignf.c: Same.
	* libmath/mathconf.h: Same.
	* libmath/signbitf.c: Same.
	* libmath/Makefile.am: Same.
	* libmath/signbitl.c: Same.

From-SVN: r143406
2009-01-15 20:02:11 +00:00
Jason Merrill 4af9e878d9 re PR c++/36334 (typedef to function type leads to problems)
PR c++/36334
        PR c++/37646
        * tree.c (lvalue_p_1): Handle BASELINK.  A COMPONENT_REF to
        a function isn't necessarily an lvalue. Take tree, not const_tree.
        (lvalue_p, real_lvalue_p): Take tree, not const_tree.
        * typeck.c (lvalue_or_else): Likewise.
        * cp-tree.h: Adjust prototypes.

From-SVN: r143404
2009-01-15 13:14:32 -05:00
Steve Ellcey f1253e7e69 re PR c++/38357 (ICE cc1plus (Segmentation fault))
PR c++/38357
	* g++.dg/template/crash87.C: New test.

From-SVN: r143403
2009-01-15 18:09:04 +00:00
Steve Ellcey 5fa0e8530e re PR c++/38357 (ICE cc1plus (Segmentation fault))
PR c++/38357
	* pt.c (tsubst): Check for NULL args.

From-SVN: r143402
2009-01-15 18:07:46 +00:00
H.J. Lu e939805b7b re PR middle-end/37843 (unaligned stack in main due to tail call optimization)
gcc/

2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
	    Joey Ye  <joey.ye@intel.com>

	PR middle-end/37843
	* cfgexpand.c (expand_stack_alignment): Don't update stack
	boundary nor check incoming stack boundary here.
	(gimple_expand_cfg): Update stack boundary and check incoming
	stack boundary here.

gcc/testsuite/

2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/37843
	* gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128.

Co-Authored-By: Joey Ye <joey.ye@intel.com>

From-SVN: r143400
2009-01-15 07:44:41 -08:00
Kenneth Zadeck 750900dba0 dce.c (find_call_stack_args, [...]): Fixed comments.
2009-01-15  Kenneth Zadeck <zadeck@naturalbridge.com>

	* dce.c (find_call_stack_args, delete_unmarked_insns): Fixed
	comments.

From-SVN: r143398
2009-01-15 15:27:20 +00:00
Chris Fairles 959d14e166 acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [...]): Remove.
2009-01-15  Chris Fairles  <cfairles@gcc.gnu.org>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
	[GLIBCXX_CHECK_NANOSLEEP]): Remove.
	([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
	* configure.ac: Adjust.
	* doc/xml/manual/configure.xml: Update.
	* testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
	* testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
	* testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
	* configure: Regenerate.
	* config.h.in: Likewise.

	* src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
	thread::joinable, thread::swap, this_thread::get_id,
	this_thread::yield): Define inline...
	* include/std/thread: ... here.
	* config/abi/pre/gnu.ver: Adjust.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r143397
2009-01-15 14:01:04 +00:00
Douglas B Rupp 52535a64bf configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
* configure: Regenerate.

From-SVN: r143394
2009-01-15 13:14:16 +00:00
Dodji Seketeli 0efc44420b re PR c++/38636 (ICE with broken ctor declaration)
gcc/cp/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

	PR c++/38636
	* name-lookup.c (pushtag): Don't create members to types that are not
	being created.

gcc/testsuite/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

	PR c++/38636
	* g++.dg/parse/crash50.C: New test.

From-SVN: r143392
2009-01-15 14:01:36 +01:00
Jakub Jelinek 0196c95ed4 re PR rtl-optimization/38245 (stack corruption when a call is removed but not the outgoing argument pushes)
PR rtl-optimization/38245
	* calls.c (expand_call): Add stack arguments to
	CALL_INSN_FUNCTION_USAGE even for pure calls (when
	ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
	in regs and partially in memory or BLKmode arguments.
	(emit_library_call_value_1): Add stack arguments to
	CALL_INSN_FUNCTION_USAGE even for pure calls (when
	ACCUMULATE_OUTGOING_ARGS).
	* dce.c: Include tm_p.h.
	(find_call_stack_args): New function.
	(deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
	argument.
	(mark_insn): Call find_call_stack_args for CALL_Ps.
	(prescan_insns_for_dce): Walk insns backwards in bb rather than
	forwards.  Allocate and free arg_stores bitmap if needed, pass it
	down to deletable_insn_p, don't mark stores set in arg_stores
	bitmap, clear the bitmap at the beginning of each bb.
	* Makefile.in (dce.o): Depend on $(TM_P_H).

	* gcc.dg/pr38245-3.c: New test.
	* gcc.dg/pr38245-3.h: New file.
	* gcc.dg/pr38245-4.c: New file.
	* gcc.dg/pr38364.c: New test.

From-SVN: r143387
2009-01-15 09:07:38 +01:00
Michael Meissner 6df6bcfa0f Fix PR22599
From-SVN: r143386
2009-01-14 22:40:34 +00:00
Steven G. Kargl 3e55cc6f7c ChangeLog-2007: Clean out svn merge droppings.
2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>

        * ChangeLog-2007: Clean out svn merge droppings.

From-SVN: r143385
2009-01-14 21:22:53 +00:00
Sebastian Pop 765ec70c92 re PR middle-end/38431 ([graphite] several ICEs with CP2K (summary))
2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/38431
	* graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
	(scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
	(gloog): Do not call cleanup_tree_cfg.
	(graphite_transform_loops): Call cleanup_tree_cfg after all 
	scops have been code generated.

From-SVN: r143384
2009-01-14 21:11:05 +00:00
Adam Nemet 2bdfeb3854 mips.exp (mips_option_tests(-mips16)): Make the sequence PC-relative.
* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
	sequence PC-relative.

From-SVN: r143382
2009-01-14 19:46:38 +00:00
Mark Mitchell 670dc171dc long-calls-1.c: Tolerate the lack of sibling calls and/or PLT markers.
* gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling
	calls and/or PLT markers.
	* gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling
	calls and/or PLT markers.
	* gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling
	calls and/or PLT markers.
	* gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling
	calls and/or PLT markers.

From-SVN: r143381
2009-01-14 19:37:02 +00:00
Jakub Jelinek ed8a0bc47c Fix non-UTF-8 sequence in ChangeLog-2006 and left-over
conflict marker in testsuite/ChangeLog-2008.

From-SVN: r143380
2009-01-14 19:57:55 +01:00
Daniel Jacobowitz 96a995c4af target-supports.exp (check_effective_target_powerpc_spe_nocache): New function.
* lib/target-supports.exp (check_effective_target_powerpc_spe_nocache):
	New function.
	* gcc.target/powerpc/20030218-1.c: Skip if not powerpc_spe_nocache
	and use consistent CFLAGS.
	* gcc.target/powerpc/20030505.c: Likewise.
	* gcc.target/powerpc/20081204-1.c: Likewise.
	* gcc.target/powerpc/ppc-spe.c: Likewise.
	* gcc.target/powerpc/spe1.c: Likewise.
	* g++.dg/ext/spe1.C: Likewise.
	* g++.dg/other/opaque-1.C: Likewise.
	* g++.dg/other/opaque-2.C: Likewise.
	* g++.dg/other/opaque-3.C: Likewise.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r143379
2009-01-14 17:58:13 +00:00
Mark Mitchell 4e2199ab68 vect-105.c: Prevent compiler from hoisting abort out of loop.
* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
	out of loop.

From-SVN: r143378
2009-01-14 17:54:07 +00:00
Vladimir Makarov 5321dace26 pr38811.C: New file.
2009-01-14  Vladimir Makarov  <vmakarov@redhat.com>

	* testsuite/g++.dg/torture/pr38811.C: New file.

From-SVN: r143376
2009-01-14 17:33:48 +00:00
Basile Starynkevitch 7de2b68817 gty.texi (Invoking the garbage collector): Added new node and section documenting ggc_collect.
2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* doc/gty.texi (Invoking the garbage collector): Added new node
	and section documenting ggc_collect.

From-SVN: r143375
2009-01-14 17:08:47 +00:00
Richard Guenther 10bd6c5c4a re PR tree-optimization/38826 (points-to result wrong for reads from call-clobbered vars)
2009-01-14  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38826
	PR middle-end/38477
	* tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
	initialization notes only if we actually emitted a warning.
	(intra_create_variable_infos): Add constraints for a result decl
	that is passed by hidden reference.
	(build_pred_graph): Mark all related variables non-direct on
	address-taking.

	* gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase.

From-SVN: r143374
2009-01-14 16:45:22 +00:00