- 05 Jul, 2009 2 commits
-
-
jason authored
using-declaration that brings in another instance of this template from a base class. * ptree.c (cxx_print_type): Fix logic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149247 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149246 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 04 Jul, 2009 16 commits
-
-
ian authored
* config/i386/msformat-c.c (mingw_format_attributes): Declare as EXPORTED_CONST. (mingw_format_attribute_overrides): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149243 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149241 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149239 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* init.c (APPLE): Include <mach/mach_init.h>. (__gnat_is_stack_guard, APPLE): Add ATTRIBUTE_UNUSED marker. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149238 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
maxloc initialize limit to -huge-1 rather than just -huge. * gfortran.dg/maxloc_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149236 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* dwarf2out.c (based_loc_descr): For crtl->stack_realign_tried don't check cfa.reg. Instead of cfa.indirect use fde && fde->drap_reg != INVALID_REGNUM test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149235 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149234 138bc75d-0d04-0410-961f-82ee72b054a4
-
vmakarov authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149228 138bc75d-0d04-0410-961f-82ee72b054a4
-
janus authored
PR fortran/40593 * interface.c (compare_actual_formal): Take care of proc-pointer-valued functions as actual arguments. * trans-expr.c (gfc_conv_procedure_call): Ditto. * resolve.c (resolve_specific_f0): Use the correct ts. 2009-07-04 Janus Weil <janus@gcc.gnu.org> PR fortran/40593 * gfortran.dg/proc_ptr_result_6.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149227 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149226 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
(SET_DECL_LANG_SPECIFIC): Likewise. (TYPE_RM_VALUE): New macro. (SET_TYPE_RM_VALUE): Likewise. (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. (TYPE_RM_MIN_VALUE): Likewise. (TYPE_RM_MAX_VALUE): Likewise. (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. (SET_TYPE_RM_MIN_VALUE): Likewise. (SET_TYPE_RM_MAX_VALUE): Likewise. * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149225 138bc75d-0d04-0410-961f-82ee72b054a4
-
guerby authored
PR ada/40631 * tracebak.c (__gnat_backtrace): Fix old-style definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149224 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* cp-tree.h (struct lang_decl_parm): New. (struct lang_decl): Add it. (LANG_DECL_PARM_CHECK): New. (DECL_PARM_INDEX): New. * decl2.c (parm_index): Remove. * lex.c (retrofit_lang_decl): Handle parms. (cxx_dup_lang_specific_decl): Likewise. * mangle.c (write_expression): Adjust. * tree.c (cp_tree_equal): Adjust. (decl_linkage): Only check DECL_COMDAT for functions and variables. * parser.c (cp_parser_parameter_declaration_list): Set DECL_PARM_INDEX. * pt.c (iterative_hash_template_arg): Hash it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149223 138bc75d-0d04-0410-961f-82ee72b054a4
-
jvdelisle authored
PR fortran/40638 * gfortran.dg/unit_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149222 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
(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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149217 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149216 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 03 Jul, 2009 7 commits
-
-
vmakarov authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149212 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/40640 * tree-switch-conversion.c (build_arrays): Perform arithmetic in original type. * gcc.c-torture/compile/pr40640.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149211 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
for size, reduce amount of inlining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149210 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149207 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149206 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149205 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149204 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 02 Jul, 2009 15 commits
-
-
hubicka authored
(mark_stmt_necessary): Set it. (mark_operand_necessary): Set it. (mark_control_dependent_edges_necessary): Set it. (mark_virtual_phi_result_for_renaming): New function. (get_live_post_dom): New function. (forward_edge_to_pdom): New function. (remove_dead_stmt): Fix handling of control dependences. (tree_dce_init): Init new bitmap. (tree_dce_done): Free it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149199 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* typeck.c (cp_build_binary_op): Move warnings about use of NULL in arithmetic earlier and allow comparisions of NULL with pointers-to-members. 2009-07-02 Mark Mitchell <mark@codesourcery.com> * g++.dg/warn/null4.C: Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149190 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* pt.c (struct spec_entry): New type. (decl_specializations, type_specializations): New hash tables. (register_specialization, retrieve_specialization): Use them. (reregister_specialization, lookup_template_class): Use them. (eq_specializations, hash_tmpl_and_args, hash_specialization): New. (iterative_hash_template_arg): New. (init_template_processing): New (process_partial_specialization): Don't look to see if we already have this partial specialization. (maybe_process_partial_specialization): Handle reassigning full specializations when we get an explicit specialization of the partial instantiation. (tsubst_friend_function): Adjust specialization reassignment code. (instantiate_template): Only do one lookup. (instantiate_decl): Don't do any lookup. * cp-tree.h: Declare init_template_processing. * decl.c (duplicate_decls): Pass args to reregister_specialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149188 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149182 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR bootstrap/40617 * tree-ssa-structalias.c (new_var_info): Initialize is_restrict_var. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149179 138bc75d-0d04-0410-961f-82ee72b054a4
-
matz authored
PR fortran/32131 * trans-array.c (gfc_conv_descriptor_stride_get): Return constant one for strides in the first dimension of ALLOCATABLE arrays. testsuite/ PR fortran/32131 * gfortran.dg/pr32921.f: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149178 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* ipa-pure-const.c (check_op): Use PTA info to see if indirect_ref is local. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149176 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
* expmed.c (emit_cstore, emit_store_flag_1): Accept target_mode instead of recomputing it. Adjust calls. (emit_store_flag): Adjust recursive calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149171 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree-ssa-live.c (remove_unused_locals): Do not remove heap variables. * tree-ssa-structalias.c (handle_lhs_call): Delay setting of DECL_EXTERNAL for HEAP variables. (compute_points_to_sets): Set DECL_EXTERNAL for escaped HEAP variables. Do not adjust RESTRICT vars. (find_what_var_points_to): Nobody cares if something points to READONLY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149170 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149169 138bc75d-0d04-0410-961f-82ee72b054a4
-
bje authored
pc_low and pc_high declarations to the top of the function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149167 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149166 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
the argument with a previous specialization. (check_explicit_specialization): Call register_specialization to merge the TEMPLATE_DECL with a previous version. (determine_specialization): Return the args even if fn is a template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149165 138bc75d-0d04-0410-961f-82ee72b054a4
-
dj authored
registers as fixed. (mep_interrupt_saved_reg): Save appropriate IVC2 control registers. * config/mep/mep-ivc2.cpu: Add VOLATILE to insns that make unspecified accesses to control registers. * config/mep/intrinsics.md: Regenerate. * config/mep/intrinsics.h: Regenerate. * config/mep/mep-intrin.h: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149164 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149163 138bc75d-0d04-0410-961f-82ee72b054a4
-