1. 24 Sep, 2009 11 commits
    • re PR middle-end/36143 (FAIL: g++.dg/tree-ssa/pr19637.C) · 824ff0cd
      2009-09-24  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/36143
      	PR tree-optimization/38747
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only
      	create VIEW_CONVERT_EXPRs for TBAA compatible accesses.
      
      	* gcc.dg/tree-ssa/fre-vce-1.c: XFAIL.
      	* gcc.dg/tree-ssa/forwprop-6.c: Likewise.
      	* g++.dg/torture/pr38747.C: New testcase.
      	* g++.dg/tree-ssa/pr19637.C: Un-XFAIL.
      
      From-SVN: r152122
      Richard Guenther committed
    • ada.h: Fix outdated comment. · 3f13dd77
      	* gcc-interface/ada.h: Fix outdated comment.
      	* gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Use MARK_VISITED in
      	lieu of mark_visited.
      	* gcc-interface/gigi.h (mark_visited): Change type of parameter.
      	(MARK_VISITED): New macro.
      	(gnat_truthvalue_conversion): Delete.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Use MARK_VISITED in lieu
      	of mark_visited.
      	(annotate_rep): Fix formatting and tidy.
      	(compute_field_positions): Get rid of useless variable.
      	* gcc-interface/trans.c (gnat_to_gnu): Retrieve the Nkind of the GNAT
      	node only once.  Use IN operator for the Nkind in more cases.
      	Remove calls to gnat_truthvalue_conversion.
      	(mark_visited): Change type of parameter and adjust.
      	(mark_visited_r): Dereference TP only once.
      	(add_decl_expr): Use MARK_VISITED in lieu of mark_visited.
      	* gcc-interface/utils2.c (gnat_truthvalue_conversion): Delete.
      	(build_binary_op): Remove calls to gnat_truthvalue_conversion.
      	(build_unary_op): Likewise.
      
      From-SVN: r152121
      Eric Botcazou committed
    • ChangeLog: Move wrong entries to correct place. · 6356f38f
              * ChangeLog: Move wrong entries to correct place.
              * cp/ChangeLog: Ditto.
              * testsuite/ChangeLog: Ditto. Remove "testsuite" from file names.
      
      From-SVN: r152120
      Uros Bizjak committed
    • re PR bootstrap/41457 (Bootstrap failure at revision 152100) · 22a3138f
      	PR bootstrap/41457
      	* dwarf2out.c (add_const_value_attribute): For HIGH and CONST_FIXED,
      	return false instead of gcc_unreachable ().  For CONST return the
      	value returned by recursive call instead of always returning true.
      	(tree_add_const_value_attribute): Return the value returned by
      	add_const_value_attribute instead of always returning true if rtl
      	is non-NULL.
      
      From-SVN: r152119
      Jakub Jelinek committed
    • Makefile.in (PLUGIN_HEADERS): Include real.h. · 6209e51c
      2009-09-23 Justin Seyster <jrseys@gmail.com>
      
      	* Makefile.in (PLUGIN_HEADERS): Include real.h.
      
      From-SVN: r152117
      Justin Seyster committed
    • Makefile.in (LIBGNAT_TARGET_PAIRS): Simplify test for a-except% in target pairs list... · 42b9d34f
      	* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Simplify test for
      	a-except% in target pairs list; don't (implicitly) compare whitespace.
      
      From-SVN: r152116
      Dave Korn committed
    • * gnat.dg/nested_proc.adb: New test. · 01c3cf4d
      From-SVN: r152115
      Eric Botcazou committed
    • cgraphunit.c (cgraph_lower_function): Revert last change. · 9f62cb92
      	* cgraphunit.c (cgraph_lower_function): Revert last change.
      	* targhooks.c (default_static_chain): Use !DECL_STATIC_CHAIN
      	instead of DECL_NO_STATIC_CHAIN.
      	* tree-cfg.c (verify_gimple_call): Likewise.
      	* tree-nested.c (get_chain_decl, get_chain_field,
      	convert_tramp_reference_op, convert_gimple_call): Likewise.
      	(convert_all_function_calls): Likewise.  Always set or clear
      	DECL_STATIC_CHAIN initially, for !n->outer clear it.
      	(lower_nested_functions): Remove DECL_NO_STATIC_CHAIN checking code.
      	* c-parser.c (c_parser_declaration_or_fndef): Set DECL_STATIC_CHAIN
      	if nested.
      	* print-tree.c (print_node): Handle DECL_STATIC_CHAIN instead of
      	DECL_NO_STATIC_CHAIN.
      	* config/i386/i386.c (ix86_static_chain): Use !DECL_STATIC_CHAIN
      	instead of DECL_NO_STATIC_CHAIN.
      	(ix86_function_regparm, find_drap_reg): Likewise.  Don't test
      	decl_function_context.
      	* varasm.c (initializer_constant_valid_p): Likewise.
      	* tree.h (DECL_NO_STATIC_CHAIN): Renamed to ...
      	(DECL_STATIC_CHAIN): ... this.
      	* config/moxie/moxie.c (moxie_static_chain): Use !DECL_STATIC_CHAIN
      	instead of DECL_NO_STATIC_CHAIN.
      
      	* method.c (make_thunk, make_alias_for): Don't set
      	DECL_NO_STATIC_CHAIN.
      	* decl.c (builtin_function_1, grokfndecl): Likewise.
      	* lex.c (build_lang_decl): Likewise.
      
      	* gcc-interface/utils.c (gnat_pushdecl): Don't set
      	DECL_NO_STATIC_CHAIN, set DECL_STATIC_CHAIN for
      	nested functions.
      
      	* testsuite/gcc.target/i386/pr12329.c: Adjust.
      
      From-SVN: r152114
      Jakub Jelinek committed
    • algo.h: Uglify internal identifiers; correct line breaks. · 78605f0a
      2009-09-24  Johannes Singler  <singler@ira.uka.de>
      
              * include/parallel/algo.h: Uglify internal identifiers;
              correct line breaks.
              * include/parallel/for_each.h: Likewise.
              * include/parallel/numeric: Likewise.
              * include/parallel/omp_loop.h: Likewise.
              * include/parallel/omp_loop_static.h: Likewise.
              * include/parallel/par_loop.h: Likewise.
              * include/parallel/workstealing.h: Likewise.
      
      From-SVN: r152113
      Johannes Singler committed
    • base.h (_EqualFromLess): Move _Compare template parameter to the end as of others. · 2a2e7f9d
      2009-09-24  Johannes Singler  <singler@ira.uka.de>
      
              * include/parallel/base.h (_EqualFromLess):  Move _Compare template
              parameter to the end as of others.
              * include/parallel/algobase.h
              (__lexicographical_compare_switch): Likewise.
      
      From-SVN: r152112
      Johannes Singler committed
    • Daily bump. · 7f7d7fa6
      From-SVN: r152109
      GCC Administrator committed
  2. 23 Sep, 2009 25 commits
  3. 22 Sep, 2009 4 commits