- Aug 21, 2006
-
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116312 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a wrapper. Loop to handle nested wrappers. (gimplify_bind_expr): Remove temp parameter. (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR and STATEMENT_LIST on the rhs. (gimplify_statement_list): Voidify the STATEMENT_LIST. (gimplify_expr): Pass pre_p to gimplify_statement_list. (gimplify_target_expr): Remove special BIND_EXPR handling. * cp/semantics.c (finish_stmt_expr_expr): Don't try to voidify here, just leave the expression as it is. (finish_stmt_expr): If the statement-expression has class type, wrap it in a TARGET_EXPR. * cp/cp-gimplify.c (cp_gimplify_init_expr): Don't bother with CLEANUP_POINT_EXPR. * cp/except.c (build_throw): Give the CLEANUP_POINT_EXPR void type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116311 138bc75d-0d04-0410-961f-82ee72b054a4
-
shinwell authored
* g++.dg/eh/arm-vfp-unwind.C: Correct order of DejaGNU directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116308 138bc75d-0d04-0410-961f-82ee72b054a4
-
lmillward authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116305 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
#if !__SHMEDIA__ . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116304 138bc75d-0d04-0410-961f-82ee72b054a4
-
lmillward authored
* tree.c (decl_anon_ns_mem_p): Robustify. * decl2.c (determine_visibility): Likewise. * g++.dg/template/void7.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116303 138bc75d-0d04-0410-961f-82ee72b054a4
-
lmillward authored
* decl.c (grokdeclarator): Return early after issuing diagnostic about an incomplete type. * g++.dg/parse/ctor7.C: New test. * g++.dg/parse/ctor8.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116302 138bc75d-0d04-0410-961f-82ee72b054a4
-
lmillward authored
* decl.c (duplicate_decls): Return early if either newdecl or olddecl is error_mark_node. * g++.dg/other/error14.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116301 138bc75d-0d04-0410-961f-82ee72b054a4
-
hainque authored
Arrange for the temporary captures of components overlapping the lhs to happen before the lhs is possibly cleared. testsuite/ * gnat.dg/self_aggregate_with_zeros.adb: New test. * gnat.dg/self_aggregate_with_array.adb: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116300 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
* decContext.h (decContextSetStatusFromString): Likewise. * decNumber.c (decNumberFromString): Likewise. * decNumber.h (decNumberFromString): Likewise. * decimal128.c (decimal128FromString): Likewise. * decimal128.h (decimal128FromString): Likewise. * decimal32.c (decimal32FromString): Likewise. * decimal32.h (decimal32FromString): Likewise. * decimal64.c (decimal64FromString): Likewise. * decimal64.h (decimal64FromString): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116296 138bc75d-0d04-0410-961f-82ee72b054a4
-
shinwell authored
* config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in necessary places to pass the correct "number of registers" values to _Unwind_VRS_Pop. gcc/testsuite/ * g++.dg/eh/arm-vfp-unwind.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116291 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
(create_name_tags): Instead of quadratic checking use hashtable. * bitmap.h: Include hashtab.h. (bitmap_hash): Declare. * bitmap.c (bitmap_hash): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116285 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* tree-optimize.c (tree_rest_of_compilation): Do not remove edges twice. * tree-inline.c (copy_bb): Use cgraph_set_call_stmt. * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument. (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function, cgraph_decide_inlining_incrementally): Update use of cgraph_check_inline_limits. * cgraph.c (edge_hash, edge_eq): New function. (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge, cgraph_edge_remove_caller, cgraph_node_remove_callees, cgraph_remove_node): Maintain call site hash. * cgraph.h (struct cgraph_node): Add call_site_hash. (cgraph_set_call_stmt): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116284 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116281 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* reload1.c (reg_has_output_reload): Turn into regset. (reload_as_needed, forget_old_reloads_1, forget_marked_reloads, choose_reload_regs, emit_reload_insns): Update to new reg_has_output_reload. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116277 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 20, 2006
-
-
mmitchel authored
* tree.c (cast_valid_in_integral_constant_expression_p): New function. * cp-tree.h (tsubst_copy_and_build): Adjust prototype. * pt.c (tsubst_expr): Add integral_constant_expression_p parameter. (fold_non_dependent_expr): Adjust callers of tsubst_{expr,copy_and_build}. (tsubst_friend_function): Likewise. (tsubst_template_arg): Likewise. (tsubst_default_argument): Likewise. (tsubst_decl): Likewise. (tsubst): Likewise. (tsubst_omp_clasuses): Likewise. (regenerate_decl_fromp_template): Likewise. (instantiate_decl): Likewise. (tsubst_initializer_list): Likewise. (tsubst_enum): Likewise. (tsubst_expr): Use RECUR throughout. (tsubst_copy_and_build): Change definition of RECUR. Do not allow invalid casts in integral constant expressions. * parser.c (cp_parser_postfix_expression): Use cast_valid_in_integral_constant_expression_p. (cp_parser_cast_expression): Likewise. (cp_parser_functional_cast): Likewise. PR c++/28346 * pt.c (tsubst_qualified_id): Do not strip references from OFFSET_REFs. 2006-08-20 Mark Mitchell <mark@codesourcery.com> PR c++/28341 * g++.dg/template/ref3.C: New test. * g++.dg/template/nontype13.C: New test. PR c++/28346 * g++.dg/template/ptrmem17.C: New test. 2006-08-20 Mark Mitchell <mark@codesourcery.com> * objcp-lang.c (objcp_tsubst_copy_and_build): Adjust call to tsubst_copy_and_build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116276 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute function body sizes. * cgraphunit.c (cgraph_analyze_function): Don't do so. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116274 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/tr1/random (gamma_distribution<>::_M_initialize, gamma_distribution<>::_M_l_d): Add. (gamma_distribution<>::gamma_distribution(const result_type&), operator>>(std::basic_istream<>&, gamma_distribution&)): Use it. include/tr1/random.tcc (gamma_distribution<>::_M_initialize): Define. (gamma_distribution<>::operator()): Adjust. * include/tr1/random (geometric_distribution<>::_M_initialize): Add. (geometric_distribution<>::geometric_distribution(const _RealType&), operator>>(std::basic_istream<>&, geometric_distribution&)): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116273 138bc75d-0d04-0410-961f-82ee72b054a4
-
jb authored
PR fortran/25828 * gfortran.texi: Mention STREAM I/O among supported F2003 features. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116271 138bc75d-0d04-0410-961f-82ee72b054a4
-
dannysmith authored
* tree.c (handle_dll_attribute): Return early if not a var or function decl. testsuite * gcc.dg/attr-invalid.c: Add tests for invalid dllimport. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116270 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
PR fortran/28601 PR fortran/28630 * gfortran.h : Eliminate gfc_dt_list structure and reference to it in gfc_namespace. * resolve.c (resolve_fl_derived): Remove the building of the list of derived types for the current namespace. * symbol.c (find_renamed_type): New function to find renamed derived types by symbol name rather than symtree name. (gfc_use_derived): Search parent namespace for identical derived type and use it, even if local version is complete, except in interface bodies. Ensure that renamed derived types are found by call to find_renamed_type. Recurse for derived type components. (gfc_free_dt_list): Remove. (gfc_free_namespace): Remove call to previous. * trans-types.c (copy_dt_decls_ifequal): Remove. (gfc_get_derived_type): Remove all the paraphenalia for association of derived types, including calls to previous. * match.c (gfc_match_allocate): Call gfc_use_derived to associate any derived types that are being allocated. PR fortran/20886 * resolve.c (resolve_actual_arglist): The passing of a generic procedure name as an actual argument is an error. PR fortran/28735 * resolve.c (resolve_variable): Check for a symtree before resolving references. PR fortran/28762 * primary.c (match_variable): Return MATCH_NO if the symbol is that of the program. PR fortran/28425 * trans-expr.c (gfc_trans_subcomponent_assign): Translate derived type component expressions other than another derived type constructor. PR fortran/28496 * expr.c (find_array_section): Correct errors in the handling of a missing start value for the index triplet in an array reference. PR fortran/18111 * trans-decl.c (gfc_build_dummy_array_decl): Before resetting reference to backend_decl, set it DECL_ARTIFICIAL. (gfc_get_symbol_decl): Likewise for original dummy decl, when a copy is made of an array. (create_function_arglist): Likewise for the _entry paramter in entry_masters. (build_entry_thunks): Likewise for dummies in entry thunks. PR fortran/28600 * trans-decl.c (gfc_get_symbol_decl): Ensure that the DECL_CONTEXT of the length of a character dummy is the same as that of the symbol declaration. PR fortran/28771 * decl.c (add_init_expr_to_sym): Remove setting of charlen for an initializer of an assumed charlen variable. PR fortran/28660 * trans-decl.c (generate_expr_decls): New function. (generate_dependency_declarations): New function. (generate_local_decl): Call previous if not either a dummy or a declaration in an entry master. 2006-08-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/28630 * gfortran.dg/used_types_2.f90: New test. PR fortran/28601 * gfortran.dg/used_types_3.f90: New test. PR fortran/20886 * gfortran.dg/generic_actual_arg.f90: New test. PR fortran/28735 * gfortran.dg/module_private_array_refs_1.f90: New test. PR fortran/28762 * gfortran.dg/program_name_1.f90: New test. PR fortran/28425 * gfortran.dg/derived_constructor_comps_1.f90: New test. PR fortran/28496 * gfortran.dg/array_initializer_2.f90: New test. PR fortran/18111 * gfortran.dg/unused_artificial_dummies_1.f90: New test. PR fortran/28600 * gfortran.dg/assumed_charlen_function_4.f90: New test. PR fortran/28771 * gfortran.dg/assumed_charlen_in_main.f90: New test. PR fortran/28660 * gfortran.dg/dependent_decls_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116268 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116266 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 19, 2006
-
-
eedelman authored
2006-08-19 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/25217 * resolve.c (resolve_fl_variable): Set a default initializer for derived types with INTENT(OUT) even if 'flag' is true. * trans-expr.c (gfc_conv_function_call): Insert code to reinitialize INTENT(OUT) arguments of derived type with default initializers. testsuite/ 2006-08-19 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/25217 * gfortran.dg/derived_init_2.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116261 138bc75d-0d04-0410-961f-82ee72b054a4
-
rmathew authored
as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp" function prologue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116258 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116255 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 18, 2006
-
-
tromey authored
* scripts/check_jni_methods.sh: Don't use the "set -C" command which isn't available in all shells. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116251 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust alignment of SPE vector types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116249 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
debugging prints. * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging print. (readEntries): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116247 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/tr1/random (class binomial_distribution<>): Add. * include/tr1/random.tcc (binomial_distribution<>::operator(), operator<<(std::basic_ostream<>&, const binomial_distribution<>&), operator>>(std::basic_istream<>&, binomial_distribution<>&, binomial_distribution<>::_M_waiting(), binomial_distribution<>:: _M_initialize()): Define. * testsuite/tr1/5_numerical_facilities/random/binomial_distribution/ requirements/typedefs.cc: New. * include/tr1/random (geometric_distribution<>:: geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT limits. * include/tr1/random (poisson_distribution): Add normal_distribution member, adjust consistently; minor tweaks and rearrangements of the arithmetic. (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move out of line. * include/tr1/random.tcc: Adjust. * include/tr1/random.tcc (normal_distribution<>::operator()): Minor tweaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116245 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR libstdc++/28765 * include/ext/rc_string_base.h (_M_clear): New. * include/ext/sso_string_base.h (_M_clear): Likewise. * include/ext/vstring.h (clear): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116240 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* tree.c (is_attribute_with_length_p): Remove a duplicated assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116237 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116235 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 17, 2006
-
-
andreast authored
* include/ffi_common.h (struct): Revert accidental commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116230 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
* Makefile.am (install-exec-hook): Support $(DESTDIR). * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116227 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116224 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* cgraph.h (struct cgraph_node): Remove externally_visible bitfield. * cgraphunit.c (process_function_and_variable_attributes): Set local.externally_visible rather than externally_visible. PR c/28744 * c-common.c (handle_externally_visible_attribute): First look at TREE_CODE and only if it is function or var decl, check for non-public objects. Don't warn for DECL_EXTERNAL. * cgraphunit.c (process_function_and_variable_attributes): Warn if externally_visible attribute is used on non-public object. * gcc.dg/attr-externally-visible-1.c: New test. * gcc.dg/attr-externally-visible-2.c: New test. * g++.dg/parse/attr-externally-visible-1.C: New test. * g++.dg/parse/attr-externally-visible-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116222 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116221 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* reload1.c (forget_marked_reloads): New function. (forget_old_reloads_1): When data are passed, just mark the registers for later removal. (reload_as_needed): Use the new mechanizm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116220 138bc75d-0d04-0410-961f-82ee72b054a4
-
reichelt authored
* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR. Fix formatting. (cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition for valid type-names. (cp_parser_unqualified_id): Fix error handling for destructors. * g++.dg/parse/dtor11.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116217 138bc75d-0d04-0410-961f-82ee72b054a4
-
aoliva authored
* reload.h (reg_equiv_alt_mem_list): New declaration. * reload1.c (reg_equiv_alt_mem_list): New definition. (reload): Initialize it and release it. (delete_output_reload): Use it. * reload.c (push_reg_equiv_alt_mem): New function. (find_reloads_toplev): Call it. (find_reloads_address, find_reloads_address_1): Likewise. (find_reloads_subreg_address): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116215 138bc75d-0d04-0410-961f-82ee72b054a4
-