1. 04 Jul, 2009 3 commits
    • re PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with any low value) · caf271d8
      2009-07-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/40638
      	* gfortran.dg/unit_1.f90: New test.
      
      From-SVN: r149222
      Jerry DeLisle committed
    • cp-tree.h (struct lang_decl): Overhaul. · b97e8a14
      	* cp-tree.h (struct lang_decl): Overhaul.
      	(struct lang_decl_flags): Remove.
      	(struct lang_decl_base): New.
      	(struct lang_decl_min): New.
      	(struct lang_decl_fn): New.
      	(struct lang_decl_ns): New.
      	(CAN_HAVE_FULL_LANG_DECL_P): Replace with LANG_DECL_HAS_MIN.
      	(LANG_DECL_MIN_CHECK): New.
      	(LANG_DECL_FN_CHECK): New.
      	(LANG_DECL_NS_CHECK): New.
      	(STRIP_TEMPLATE): New.
      	(NON_THUNK_FUNCTION_CHECK): Remove.
      	(DECL_DECLARES_FUNCTION_P): New.
      	(lots): Adjust.
      	* lex.c (retrofit_lang_decl, cxx_dup_lang_specific_decl): Adjust.
      	* decl.c (push_local_name, duplicate_decls): Adjust.
      	* decl2.c (start_objects): Don't set u2sel.
      	* semantics.c (finish_omp_threadprivate): Adjust.
      	* class.c (build_clone): Don't do much on TEMPLATE_DECLs.
      	(decl_cloned_function_p): Out-of-line implementation of macros.
      	(clone_function_decl, adjust_clone_args): Use DECL_CLONED_FUNCTION_P.
      	* mangle.c (write_unqualified_name): Don't check function flags
      	on non-functions.
      	* method.c (make_alias_for): Don't set DECL_CLONED_FUNCTION.
      	* pt.c (build_template_decl): Don't set function flags.
      	(check_default_tmpl_args): Check that it's a function.
      	(instantiate_template): Use DECL_ABSTRACT_ORIGIN to find the
      	cloned template.
      
      	* pt.c (tsubst_decl) [FUNCTION_DECL]: Don't tsubst
      	DECL_CLONED_FUNCTION.
      
      	* cp-tree.h (struct lang_type_class): Move sorted_fields here.
      	* class.c (finish_struct_1): Adjust.
      	* ptree.c (cxx_print_decl, cxx_print_type): Adjust.
      	* search.c (lookup_field_1): Adjust.
      
      	* cp-tree.h (CLASSTYPE_INLINE_FRIENDS): Remove.
      	* decl.c (finish_method): Don't add to it.
      	* class.c (fixup_pending_inline): Remove.
      	(fixup_inline_methods): Remove.
      	(finish_struct_1): Don't call it.
      
      	* error.c (dump_function_name): Handle null name.
      
      From-SVN: r149217
      Jason Merrill committed
    • Daily bump. · 07302a1b
      From-SVN: r149216
      GCC Administrator committed
  2. 03 Jul, 2009 8 commits
    • re PR target/40587 (Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827) · 54a0ac2d
      2009-07-03  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/40587
      	* ira.c (build_insn_chain): Use DF_LR_OUT instead of
      	df_get_live_out.
      	* testsuite/gfortran.dg/pr40587.f: New test.
      
      From-SVN: r149212
      Vladimir Makarov committed
    • re PR tree-optimization/40640 (ICE in set_value_range, at tree-vrp.c:383) · fae1034e
      2009-07-03  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/40640
      	* tree-switch-conversion.c (build_arrays): Perform arithmetic
      	in original type.
      
      	* gcc.c-torture/compile/pr40640.c: New testcase.
      
      From-SVN: r149211
      Richard Guenther committed
    • ipa-inline.c (cgraph_decide_inlining_incrementally): When optimizing for size,… · ba8978d0
      ipa-inline.c (cgraph_decide_inlining_incrementally): When optimizing for size, reduce amount of inlining.
      
      	* ipa-inline.c (cgraph_decide_inlining_incrementally): When optimizing
      	for size, reduce amount of inlining.
      
      From-SVN: r149210
      Jan Hubicka committed
    • inclhack.def (solaris_int_types): New fix. · d4289bdd
      	* inclhack.def (solaris_int_types): New fix.
      	* fixincl.x: Regenerate.
      	* tests/base/sys/int_types.h: New file.
      
      From-SVN: r149209
      Eric Botcazou committed
    • re PR middle-end/34163 (10% performance regression since Nov 1 on Polyhedron's "NF" on AMD64) · d73fb533
      2009-07-03  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/34163
      	* tree-chrec.c (chrec_convert_1): Fold (T2)(t +- x) to
      	(T2)t +- (T2)x if t +- x is known to not overflow and
      	the conversion widens the operation.
      	* Makefile.in (tree-chrec.o): Add $(FLAGS_H) dependency.
      
      	* gfortran.dg/pr34163.f90: New testcase.
      
      From-SVN: r149207
      Richard Guenther committed
    • loop-24.c: Update dump file matching; enable -O2. · 7351bcaa
      	* gcc.dg/tree-ssa/loop-24.c: Update dump file matching; enable -O2.
      	* gcc.dg/tree-ssa/loop-25.c: Likewise.
      	* gcc.dg/tree-ssa/loop-26.c: Likewise.
      	* gcc.dg/tree-ssa/pr32044.c: Likewise.
      	* gcc.dg/tree-ssa/loop-29.c: Likewise.
      	* gcc.dg/tree-ssa/loop-10.c: Likewise.
      	* gnat.dg/loop_optimization6.adb: Enable -O2.
      
      	* ipa-pure-const.c (analyze): Update loop optimizer init.
      	* tree-ssa-loop-iv-canon.c (empty_loop_p, remove_empty_loop,
      	try_remove_empty_loop, remove_empty_loops): Remove.
      	* tree-ssa-loop.c (tree_ssa_empty_loop, pass_empty_loop): Remove.
      	* tree-ssa-dce.c (find_obviously_necessary_stmts): Use finiteness info
      	to mark regular loops as neccesary.
      	(degenerate_phi_p): New function.
      	(propagate_necessity, remove_dead_phis): Use it.
      	(forward_edge_to_pdom): Likewise.
      	(eliminate_unnecessary_stmts): Take care to remove uses of results of
      	virtual PHI nodes that became unreachable.
      	(perform_tree_ssa_dce): Initialize/deinitialize loop optimizer.
      	* tree-flow.h (remove_empty_loops): Remove.
      	* passes.c (init_optimization_passes): Remove.
      
      From-SVN: r149206
      Jan Hubicka committed
    • i386.md (fix_trunc<mode>_fisttp_i387_1): Use can_create_pseudo_p. · 5071eab7
      	* config/i386/i386.md (fix_trunc<mode>_fisttp_i387_1): Use
      	can_create_pseudo_p.
      	(*fix_trunc<mode>_i387_1): Ditto.
      	(*floathi<mode>2_1): Ditto.
      	(*float<SSEMODEI24:mode><X87MODEF:mode>2_1): Ditto.
      	(*fistdi2_1): Ditto.
      	(*fist<mode>2_1): Ditto.
      	(frndintxf2_floor): Ditto.
      	(*fist<mode>2_floor_1): Ditto.
      	(frndintxf2_ceil): Ditto.
      	(*fist<mode>2_ceil_1): Ditto.
      	(frndintxf2_trunc): Ditto.
      	(frndintxf2_mask_pm): Ditto.
      	(fxam<mode>2_i387_with_temp): Ditto.
      	* config/i386/sse.md (mulv16qi3): Ditto.
      	(*sse2_mulv4si3): Ditto.
      	(mulv2di3): Ditto.
      	(sse4_2_pcmpestr): Ditto.
      	(sse4_2_pcmpistr): Ditto.
      
      From-SVN: r149205
      Uros Bizjak committed
    • Daily bump. · f0e410bc
      From-SVN: r149204
      GCC Administrator committed
  3. 02 Jul, 2009 17 commits
  4. 01 Jul, 2009 12 commits