aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-07-20Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102179.2
2005-07-19re PR tree-optimization/22278 (gcc -O2 discards cast to volatile)Richard Henderson3-2/+20
PR tree-opt/22278 * gimplify.c (gimplify_expr): Use main variant type for the temp destination for a discarded volatile read. * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide casts between non-void types that change volatility. From-SVN: r102169
2005-07-19toplev.h: Add comment about the first parameter for warning().DJ Delorie13-48/+109
* toplev.h: Add comment about the first parameter for warning(). * errors.h: Likewise. * c.opt (Wpragmas): New. * doc/invoke.texi: Document it. * function.c (do_warn_unused_parameter): Add warning control to warning call. * c-decl.c (warn_if_shadowing): Likewise. * c-lex.c (cb_def_pragma): Likewise. * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. (pop_alignment): Likewise. (handle_pragma_pack): Likewise. (apply_pragma_weak): Likewise. (handle_pragma_weak): Likewise. (handle_pragma_redefine_extname): Likewise. (add_to_renaming_pragma_list): Likewise. (handle_pragma_extern_prefix): Likewise. (maybe_apply_renaming_pragma): Likewise. (handle_pragma_visibility): Likewise. * config/c4x/c4x-c.c (BAD): Likewise. (c4x_parse_pragma): Likewise. * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise. * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. (rs6000_pragma_longcall): Likewise. * config/v850/v850-c.c (pop_data_area): Likewise. (ghs_pragma_section): Likewise. (ghs_pragma_section): Likewise. (ghs_pragma_interrupt): Likewise. (ghs_pragma_starttda): Likewise. (ghs_pragma_startsda): Likewise. (ghs_pragma_startzda): Likewise. (ghs_pragma_endtda): Likewise. (ghs_pragma_endsda): Likewise. (ghs_pragma_endzda): Likewise. From-SVN: r102168
2005-07-19re PR fortran/16940 (Failure to perform host association correctly)Paul Thomas4-0/+73
2005-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * resolve.c (resolve_symbol): A symbol with FL_UNKNOWN is matched against interfaces in parent namespaces. If there the symtree is set to point to the interface. 2005-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * gfortran.dg/module_interface_1.f90: New test. From-SVN: r102167
2005-07-19Makefile.in: Removed tree-promote-statics.cDaniel Berlin10-611/+20
2005-07-19 Danny Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com> * Makefile.in: Removed tree-promote-statics.c * tree-promote-statics.c: Removed. * common.opt: Removed flag-promote-statics. * opts.c: Ditto. * passes.c: Removed tree-promote-statics pass. * tree-pass.h: Ditto. * timevar.def: Removed TV_PROMOTE_STATICS. 2005-07-19 Danny Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com> * gcc.dg/tree-ssa/sra-2.c: Changed back to -O1 and added xfail. Co-Authored-By: Kenneth Zadeck <zadeck@naturalbridge.com> From-SVN: r102165
2005-07-19config/avr/avr.c (legitimate_address_p): Fix debugging print statement to avoidNick Clifton2-1/+6
displaying ASCII control characters. From-SVN: r102161
2005-07-19var_defs.tree: Remove duplicate variable.James A. Morrison3-17/+25
2005-07-19 James A. Morrrison <phython@gcc.gnu.org> * compile/var_defs.tree: Remove duplicate variable. * compile/var_defs-2.tree: Add duplicate variable test. From-SVN: r102159
2005-07-19config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, and *-*-freebsd9.Gerald Pfeifer3-1/+19
* config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, and *-*-freebsd9. * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. From-SVN: r102157
2005-07-19re PR c++/22476 (-Wmissing-format-attribute should pick out function pointer ↵Kaveh R. Ghazi14-23/+233
candidates also) PR c/22476 * c-common.c (check_function_arguments): Call 'check_function_format' if either -Wformat or -Wmissing-format-attribute are specified. * c-format.c (check_function_format): Check -Wformat before calling 'check_format_info'. * c-opts.c (c_common_post_options): Don't warn for -Wmissing-format-attribute without -Wformat. * c-typeck.c (convert_for_assignment): Detect additional cases for -Wmissing-format-attribute. * doc/invoke.texi (-Wmissing-format-attribute): Document new behavior. testsuite: * gcc.dg/format/miss-1.c, gcc.dg/format/miss-2.c: Don't specify -Wformat for these tests. * gcc.dg/format/miss-3.c, gcc.dg/format/miss-4.c, gcc.dg/format/miss-5.c, gcc.dg/format/miss-6.c: New. * gcc.dg/format/opt-6.c: Delete. From-SVN: r102155
2005-07-19i386.md (lrint<mode>2): Use temporary instead of clobbering non-existent memory.Richard Guenther2-2/+7
2005-07-19 Richard Guenther <rguenther@suse.de> * config/i386/i386.md (lrint<mode>2): Use temporary instead of clobbering non-existent memory. From-SVN: r102154
2005-07-19bt-load.c (link_btr_uses): Fix uninitialised warnings.Ben Elliston11-24/+49
* bt-load.c (link_btr_uses): Fix uninitialised warnings. * cfganal.c (find_edge_index): Ditto. * combine.c (combine_instructions): Ditto. * ddg.c (create_scc): Ditto. (find_successors): Ditto. (find_predecessors): Ditto. (find_nodes_on_paths): Ditto. (longest_simple_path): Ditto. * flow.c (update_life_info): Ditto. (count_or_remove_death_notes): Ditto. (clear_log_links): Ditto. * modulo-sched.c (generate_reg_moves): Ditto. (find_max_asap): Ditto. (find_max_hv_min_mob): Ditto. (find_max_dv_min_mob): Ditto. * sbitmap.c (sbitmap_first_set_bit): Ditto. * sched-rgn.c (extract_edgelst): Ditto. * tree-into-ssa.c (prepare_names_to_update): Ditto. (dump_update_ssa): Ditto. (ssa_names_to_replace) Ditto. (switch_virtuals_to_full_rewrite): Ditto. (update_ssa): Ditto. * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. From-SVN: r102151
2005-07-19re PR tree-optimization/22483 (ICE : tree check: expected ssa_name, have ↵Daniel Berlin5-9/+66
var_decl in is_old_name, at tree-into-ssa.c:466) 2005-07-18 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/22483 * tree-complex.c (create_components): Use safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE. * tree-flow-inline.h (fill_referenced_var_vec): New function. * tree-flow.h (safe_referenced_var_iterator): New structure. (FOR_EACH_REFERENCED_VAR_SAFE): New macro. * tree-ssa-alias.c (setup_pointers_and_addressables): Use safe_referenced_var iterator. (add_type_alias): Ditto. From-SVN: r102150
2005-07-19loop-init.c (rest_of_handle_loop2): Remove.Steven Bosscher5-51/+233
* loop-init.c (rest_of_handle_loop2): Remove. (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants, rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions. (pass_rtl_loop_init, pass_rtl_loop_done, pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes. * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done, pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init, pass_tree_loop_done, and pass_tree_unswitch. (gate_loop): Rename to gate_tree_loop. * passes.c (init_optimization_passes): Update for renamed tree loop passes. Add the new loop2 passes as subpasses of loop2. * tree-pass.h: Add extern declarations for the new loop2 subpasses. Update for the renamed tree loop passes. From-SVN: r102149
2005-07-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102146.2
2005-07-18sra-2.c: Pass --param sra-max-structure-size.Andrew Pinski3-2/+7
2005-07-18 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/sra-2.c: Pass --param sra-max-structure-size. * gcc.dg/tree-ssa/sra-3.c: Likewise. From-SVN: r102144
2005-07-18alias-2.c: New test.Andrew Pinski2-2/+34
2005-07-18 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/alias-2.c: New test. From-SVN: r102143
2005-07-18re PR middle-end/22057 (Poor -O0 debug information for for loops with no ↵Ian Lance Taylor2-8/+22
initializer) PR middle-end/22057 * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder blocks when optimizing. From-SVN: r102142
2005-07-18common.opt (frename-registers): Initialize to 2.Steve Ellcey3-16/+25
* common.opt (frename-registers): Initialize to 2. (fweb): Ditto. (fgcse-after-reload): Ditto. * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. (process_options): Only change flag_web, flag_rename_registers, and flag_rerun_cse_after_loop if not explicitly set by user. From-SVN: r102141
2005-07-18re PR c++/22263 (explicit instantiation fails to emit symbols defined later)Mark Mitchell6-16/+54
PR c++/22263 * cp-tree.h (instantiate_decl): Change prototype. * decl2.c (mark_used): Adjust accordingly. * pt.c (do_decl_instantiation): Likewise. (instantiate_class_member): Likewise. (instantiate_decl): Rename undefined_ok as expl_inst_class_mem_p. Clear DECL_INTERFACE_KNOWN for an explicitly instantiated template that has no definition available. (instantiate_pending_templates): Adjust call to instantiate_decl. PR c++/22263 * g++.dg/template/explicit7.C: New test. From-SVN: r102133
2005-07-18i386.c (ix86_expand_branch, [...]): Handle TImode in 64-bit mode the same as ↵Jan Beulich5-82/+510
DImode in 32-bit mode. gcc/ 2005-07-18 Jan Beulich <jbeulich@novell.com> * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode in 64-bit mode the same as DImode in 32-bit mode. (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, ix86_split_lshr): Likewise. Rename to no longer refer to a specific mode. Add new mode parameter. * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, x86_64_shift_adj): New expanders. (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New insns. Respective new splitters. Use renamed shift splitter helpers in 32-bit DImode shift splitters. * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new mode parameter. From-SVN: r102129
2005-07-18i386.md (movdi_extzv_1): New.Jan Beulich2-12/+25
gcc/ 2005-07-18 Jan Beulich <jbeulich@novell.com> * i386.md (movdi_extzv_1): New. (zero_extendhidi2): Combine alternatives and never force use of REX64 prefix. (zero_extendqidi2): Likewise. Don't restrict input selection. From-SVN: r102128
2005-07-18Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102126.2
2005-07-18nan_inf_fmt.f90: Change case of field width of 8 to +Inf and -Inf.Jerry DeLisle2-2/+6
2005-07-17 Jerry DeLisle <jvdelisle@verizon.net> * gfortran.fortran-torture/execute/nan_inf_fmt.f90: Change case of field width of 8 to +Inf and -Inf. From-SVN: r102124
2005-07-17re PR tree-optimization/22531 (ICE in mark_sym_for_renaming while compiling ↵Daniel Berlin3-0/+14
dwarf2out.c) 2005-07-17 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/22531 * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the moment. From-SVN: r102119
2005-07-17re PR c++/22139 (Segfault with templates and friend functions)Mark Mitchell5-3/+42
PR c++/22139 * cp-tree.h (DECL_TEMPLATE_INFO): Improve documentation. * decl.c (duplicate_decls): Re-register template specializations for functions that have DECL_TEMLPLATE_INFO, even if they do not have DECL_TEMPLATE_INSTANTIATION set. PR c++/22139 * g++.dg/template/friend36.C: New test. From-SVN: r102118
2005-07-17forgot to write changelog entry before commit.Daniel Berlin1-0/+11
From-SVN: r102117
2005-07-17tree-promote-statics.c (pass_promote_statics): Change dump file name.Daniel Berlin2-2/+7
2005-07-17 Daniel Berlin <dberlin@dberlin.org> * tree-promote-statics.c (pass_promote_statics): Change dump file name. From-SVN: r102113
2005-07-17tree-optimize.c (init_tree_optimization_passes): Add ↵Daniel Berlin6-1/+158
pass_eliminate_useless_stores pass. 2005-07-12 Daniel Berlin <dberlin@dberlin.org> * tree-optimize.c (init_tree_optimization_passes): Add pass_eliminate_useless_stores pass. * tree-pass.h (pass_eliminate_useless_stores): New pass structure. * tree-ssa-pre.c (is_copy_stmt): New function. (follow_copies_till_vuse): Ditto. (do_eustores): Ditto. (gate_eustores): Ditto. From-SVN: r102112
2005-07-16gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.Richard Henderson2-1/+5
* gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. * acinclude.m4: New file. * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS. * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild. * mf-hooks1.c (__mf_0fn_malloc): Move body from ... (__mf_0fn_calloc): ... here. * mf-hooks3.c (struct pthread_info): Remove. (__mf_pthread_info, __mf_pthread_info_idx): Remove. (LIBMUDFLAPTH_THREADS_MAX): Set to 1021. (struct mf_thread_data): New. (mf_thread_data, mf_thread_data_lock): New. (__mf_allocate_blank_threadinfo): Remove. (__mf_find_threadinfo): Rewrite and simplify. Only use if TLS is not available. (__mf_state_perthread): Remove. (__mf_get_state, __mf_set_state): New. (__mf_pthread_cleanup): Use &errno, rather than saved pointer. Update mf_thread_data killing procedure. (__mf_pthread_spawner): Similarly. (__mf_0fn_pthread_create): Only use wrapper if necessary. Remove code to allocate thread stack space. (__mf_0fn_pthread_join, pthread_join): Remove. (__mf_0fn_pthread_exit, pthread_exit): Remove. * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove. (__mf_state_1): Rename from __mf_state; use TLS when available. (__mf_get_state, __mf_set_state): New. Update all users. * mf-runtime.c (begin_recursion_protect1): New. (BEGIN_RECURSION_PROTECT): Use it. (__mf_state_1): Rename from __mf_state; use TLS when available. (threads_active_p): Remove. (__mf_usage): Compute it directly. From-SVN: r102108
2005-07-17removed pointer_no_capture entries.Kenneth Zadeck1-4/+0
From-SVN: r102107
2005-07-17Move the changelog entry from the top level to the gcc directory.Kenneth Zadeck1-0/+50
From-SVN: r102106
2005-07-16re PR fortran/21730 ([4.0 only] Character length incorrect.)David Edelsohn2-0/+16
PR fortran/21730 * gfortran.dg/pr21730.f: New test. From-SVN: r102105
2005-07-16re PR fortran/21730 ([4.0 only] Character length incorrect.)David Edelsohn2-0/+16
PR fortran/21730 * decl.c (do_parm): Adjust character initializer to character length of symbol before assigning. From-SVN: r102104
2005-07-17Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102102.2
2005-07-16tree-ssa-structalias.c (need_to_solve): Need to check for preds, too.Daniel Berlin2-1/+10
2005-07-16 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-structalias.c (need_to_solve): Need to check for preds, too. From-SVN: r102100
2005-07-16Makefile.in: Added rules for ipa-pure-const.c...Daniel Berlin26-461/+5234
2005-07-16 Danny Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com> * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, tree-promote-statics.c * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, tree-promote-statics.c: new files. * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, int nonlocal_set_p, mark_constant_function): Deleted. (rest_of_handle_cfg): Removed call to mark_constant_function. (nonoverlapping_component_refs_p): Added calls to support type based aliasing. * tree-ssa-alias.c (may_alias_p, compute_flow_insensitive_aliasing): Ditto. * calls.c (flags_from_decl_or_type): Removed reference to cgraph_rtl_info. (flags_from_decl_or_type): Support ECF_POINTER_NO_CAPTURE attribute. * c-common.c (handle_pointer_no_capture_attribute): New function and added pointer_no_capture attribute. * c-typeck.c (convert_arguments): Make builtins tolerant of having too many arguments. This is necessary for Spec 2000. * cgraph.h (const_function, pure_function): Removed. * common.opt: Added "fipa-pure-const", "fipa-reference", "fipa-type-escape", and "ftree-promote-static". * opts.c: Ditto. * passes.c: Added ipa and tree-promote-statics passes. * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. * tree.h: Support ECF_POINTER_NO_CAPTURE attribute. * tree-dfa.c (referenced_var_lookup_if_exists): New function. * tree-flow.h: Added exposed sra calls and addition of reference_vars_info field for FUNCTION_DECLS. * tree-pass.h: Added passes. * tree-sra.c: (sra_init_cache): New function. (sra_insert_before, sra_insert_after) Made public. (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p and made public. * tree-ssa-alias.c (dump_alias_stats): Added stats for type based aliasing. (may_alias_p): Added code to use type escape analysis to improve alias sets. * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and code to prune clobbers of static variables based on information produced in ipa-reference pass. Changed call clobbering so that statics are not marked as clobbered if the call does not clobber them. 2005-07-16 Danny Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com> * gcc.dg/tree-ssa/ssa-dce-2.c: Changed dg-options to run at -O2 since pure const detection cannot run at -O1 in c compiler. * gcc.dg/tree-ssa/20030714-1.c Changed scanning patterns because we can now optimize this case properly. * gcc.dg/tree-ssa/sra-2.c: Changed to -O3 and removed xfail because we now pass. * gcc.dg/vect/vect-92.c: Removed out of bounds array access. Co-Authored-By: Kenneth Zadeck <zadeck@naturalbridge.com> From-SVN: r102098
2005-07-16install.texi (*-*-solaris2*): Document recommended version of GNU binutils ↵Eric Botcazou2-0/+13
and mention GNU linker problem on... * doc/install.texi (*-*-solaris2*): Document recommended version of GNU binutils and mention GNU linker problem on Solaris 10. From-SVN: r102094
2005-07-16re PR c/22421 (problems with -Wformat and bit-fields)Joseph Myers5-4/+97
PR c/22421 * c-decl.c (c_build_bitfield_integer_type): New function. (finish_struct): Call it. * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. testsuite: * gcc.dg/format/bitfld-1.c: New test. From-SVN: r102091
2005-07-16c-typeck.c (digest_init): Call 'convert_for_assignment' before returning.Kaveh R. Ghazi2-0/+9
* c-typeck.c (digest_init): Call 'convert_for_assignment' before returning. From-SVN: r102090
2005-07-16call.c (diagnostic_fn_t): New.Kaveh R. Ghazi2-3/+9
* call.c (diagnostic_fn_t): New. (build_temp, convert_like_real): Use diagnostic_fn_t. From-SVN: r102089
2005-07-16cfg.c (update_bb_profile_for_threading): Fix profile updating.Jan Hubicka3-2/+16
* cfg.c (update_bb_profile_for_threading): Fix profile updating. (scale_bbs_frequencies_int): Watch roundoff errors. * predict.c (return_prediction): Initialize return_stmt. From-SVN: r102087
2005-07-16re PR c++/22204 ([repo] internal compiler error: Segmentation fault)Mark Mitchell4-1/+27
PR c++/22204 * repo.c (repo_emit_p): Robustify. PR c++/22204 * g++.dg/rtti/repo1.C: New test. From-SVN: r102073
2005-07-16Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102071.2
2005-07-15profile.c (rest_of_handle_branch_prob): Fix handling of estimation after RTL ↵Jan Hubicka2-1/+8
profiling. * profile.c (rest_of_handle_branch_prob): Fix handling of estimation after RTL profiling. From-SVN: r102069
2005-07-15[multiple changes]Andrew Pinski4-3/+38
2005-07-15 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/22398 * gcc.c-torture/compile/pr22398.c: New test. 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/22398 * fold-const.c (build_range_check): Convert high/low to etype if we are only comparing against exp. From-SVN: r102067
2005-07-15re PR c++/22452 (ICE expected tree that contains 'decl with visibility' ↵Daniel Berlin2-0/+10
structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132) 2005-07-14 Daniel Berlin <dberlin@dberlin.org> Fix PR c++/22452 * tree.c (decl_linkage): Don't check DECL_COMDAT on CONST_DECL. From-SVN: r102063
2005-07-15re PR c++/22132 (Wrong code: upcasting a const class pointer to struct the ↵Mark Mitchell6-26/+98
class derives from (C/old-style cast)) PR c++/22132 * call.c (implicit_conversion): Add c_cast_p parameter. (standard_conversion): Likewise. Allow conversions between differently-qualified pointer types when performing a C-style cast. (add_function_candidate): Adjust callee. (build_builtin_candidate): Likewise. (build_user_type_conversion_1): Likewise. (conditional_conversion): Likewise. (can_convert_arg): Likewise. (can_convert_arg_bad): Likewise. (perform_implicit_conversion): Likewise. * cp-tree.h (comp_ptr_ttypes_const): Declare. * typeck.c (comp_ptr_ttypes_const): Give it external linkage. Return bool. PR c++/22132 * g++.dg/expr/cast4.C: New test. From-SVN: r102059
2005-07-15re PR tree-optimization/22376 (PTA is slow on a silly unrealistic test case)Daniel Berlin2-15/+58
2005-07-13 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/22376 * tree-ssa-structalias.c (build_constraint_graph): We really meant special var here. (need_to_solve): New function. (compute_points_to_sets): Use it. From-SVN: r102056
2005-07-15cfg.c (update_bb_profile_for_threading): More diagnostic.Jan Hubicka3-2/+20
* cfg.c (update_bb_profile_for_threading): More diagnostic. * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. From-SVN: r102053
2005-07-15c-common.c (handle_flatten_attribute): New function.Richard Guenther8-2/+262
2005-07-15 Richard Guenther <rguenther@suse.de> * c-common.c (handle_flatten_attribute): New function. Add flatten function attribute. * doc/extend.texi: Document flatten function attribute. * Makefile.in (ipa-inline.o): Depend on hashtab.h. * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): New functions. (cgraph_decide_inlining): Handle functions with flatten attribute. * gcc.dg/tree-ssa/flatten-1.c: New testcase. * gcc.dg/tree-ssa/flatten-2.c: Likewise. From-SVN: r102051