summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2007-05-26 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-264-12/+118
| | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): New. * config/i386/i386.c (ix86_expand_sse4_unpack): New. * config/i386/sse.md (vec_unpacku_hi_v16qi): Call ix86_expand_sse4_unpack if SSE4.1 is enabled. (vec_unpacks_hi_v16qi): Likewise. (vec_unpacku_lo_v16qi): Likewise. (vec_unpacks_lo_v16qi): Likewise. (vec_unpacku_hi_v8hi): Likewise. (vec_unpacks_hi_v8hi): Likewise. (vec_unpacku_lo_v8hi): Likewise. (vec_unpacks_lo_v8hi): Likewise. (vec_unpacku_hi_v4si): Likewise. (vec_unpacks_hi_v4si): Likewise. (vec_unpacku_lo_v4si): Likewise. (vec_unpacks_lo_v4si): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125093 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-26 Tobias Burnus <burnus@net-b.de>burnus2007-05-262-0/+27
| | | | | | | | | * gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and GFORTRAN_ERROR_BACKTRACE environment variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125091 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c, config/pa/pa.c, config/spu/spu.c,kazu2007-05-2619-27/+34
| | | | | | | | | | | df-problems.c, df-scan.c, domwalk.c, ebitmap.c, ebitmap.h, fold-const.c, gcc.c, ipa-type-escape.c, omega.c, omega.h, tree-ssa-coalesce.c, tree-ssa-live.c, tree-ssa-structalias.c, tree-vrp.c: Fix comment typos. Follow spelling conventions. * doc/tm.texi: Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125090 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c, config/arm/arm.c, config/darwin.c,kazu2007-05-2612-20/+28
| | | | | | | | | | config/sh/symbian.c, gcc.c, ipa-cp.c, ipa-inline.c, loop-iv.c, omega.c, tree-ssa-loop-niter.c, treestruct.def: Fix typos and follow spelling conventions in various warning/error/diagnostic messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125089 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-26 Paul Thomas <pault@gcc.gnu.org>pault2007-05-266-15/+121
| | | | | | | | | | | | | | | | | | | | | | | | PR fortran/31219 * trans.h : Add no_function_call bitfield to gfc_se structure. Add stmtblock_t argument to prototype of get_array_ctor_strlen. * trans-array.c (get_array_ctor_all_strlen): New function. (get_array_ctor_strlen): Add new stmtblock_t argument and call new function for character elements that are not constants, arrays or variables. (gfc_conv_array_parameter): Call get_array_ctor_strlen to get good string length. * trans-intrinsic (gfc_conv_intrinsic_len): Add new argument to call of get_array_ctor_strlen. 2007-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/31219 * gfortran.dg/array_constructor_17.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125088 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com>pinskia2007-05-264-7/+32
| | | | | | | | | | | | | | | | | | | PR tree-opt/32090 * tree-ssa-forwprop.c (forward_propagate_addr_into_variable_array_index): Remove the lhs argument. Use the type of def_rhs instead of lhs. (forward_propagate_addr_expr_1): Update use of forward_propagate_addr_into_variable_array_index. 2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32090 * g++.dg/opt/array2.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125087 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Sandra Loosemore <sandra@codesourcery.com>sandra2007-05-268-13/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nigel Stephens <nigel@mips.com> gcc/ * config/mips/mips.c (mips_attribute_table): Add "near" and "far" function attributes, "far" being an alias for "long_call". (TARGET_COMP_TYPE_ATTRIBUTES): Define as mips_comp_type_attributes. (mips_near_type_p, mips_far_type_p): New. (mips_comp_type_attributes): New function to check that attributes attached to a function type are compatible. (mips_output_mi_thunk): Test SYMBOL_REF_LONG_CALL_P() rather than TARGET_LONG_CALLS when deciding whether we can do a direct sibcall to the target function of the thunk. (mips_encode_section_info): Check for "near" and "far" function attributes, and always set the SYMBOL_FLAG_LONG_CALL bit explicitly. * config/mips/predicates.md (const_call_insn_operand): Test only SYMBOL_REF_LONG_CALL_P() and not TARGET_LONG_CALLS. * doc/extend.texi (Function Attributes): Document MIPS "near" and "far" attributes. * testsuite/gcc.target/mips/near-far-1.c: New test case. * testsuite/gcc.target/mips/near-far-2.c: New test case. * testsuite/gcc.target/mips/near-far-3.c: New test case. * testsuite/gcc.target/mips/near-far-4.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125086 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Eric Christopher <echristo@apple.com>echristo2007-05-265-17/+40
| | | | | | | | | | | | * config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp to x86-darwin configurations. * config/i386/t-darwin: Add softfp support. * config/i386/t-darwin64: Ditto. * config/i386/sfp-machine.h: If mach then don't use aliasing, emit a stub to call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125085 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-05-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125083 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c,kazu2007-05-2516-24/+33
| | | | | | | | | | | haifa-sched.c, optabs.h, tree-affine.c, tree-data-ref.c, tree-predcom.c, tree-ssa-alias-warnings.c, tree-ssa-forwprop.c, tree-vect-analyze.c, tree-vrp.c: Fix comment typos. Follow spelling conventions. * doc/cpp.texi, doc/invoke.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125080 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: Fix typos.kazu2007-05-252-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125079 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/32065uros2007-05-254-1/+50
| | | | | | | | | | | | | | | * target/i386/i386.c (ix86_expand_vector_move): Force SUBREGs of constants into memory. Expand unaligned memory references for SSE modes via x86_expand_vector_move_misalign() function. testsuite/ChangeLog: PR target/32065 * gcc.target/i386/pr32065.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125077 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/sse.md (*vec_extractv2di_1_sse2): Do not calculateuros2007-05-252-0/+6
| | | | | | | | "memory" attribute for "sseishft" type insn without operands[2]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125075 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS (Write After Approval): Remove myself.steven2007-05-252-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125074 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Dirk Mueller <dmueller@suse.de>mueller2007-05-256-28/+150
| | | | | | | | | | | | | | | Marcus Meissner <meissner@suse.de> * doc/extend.texi (alloc_size): New attribute. * c-common.c (handle_alloc_size_attribute): New. * tree-object-size.c (alloc_object_size): Use alloc_size attribute, if available. * testsuite/gcc.dg/attr-alloc_size.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125073 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Simon Martin <simartin@users.sourceforge.net>simartin2007-05-255-10/+42
| | | | | | | | | | | | | | | Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/31745 * parser.c (cp_parser_skip_to_closing_brace): Return true if the next token is a closing brace, false if there are no tokens left. (cp_parser_namespace_alias_definition): Only consume the next token if it is a closing brace. * parser.c (cp_parser_class_specifier): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125070 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-252-1/+6
| | | | | | | | * semantics.c (finish_member_declaration): Fix a typo in the last checkin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125067 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Andreas Tobler <a.tobler@schweiz.org>andreast2007-05-252-1/+5
| | | | | | | * ltmain.sh: Fix Darwin verstring, remove ${wl}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125066 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2007-05-252-17/+15
| | | | | | | | * io/transfer.c (unformatted_read): Use size from front end eliminating use of size_from_real_kind. (unformatted_write): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125064 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/hjl2007-05-2510-6/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-25 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (__builtin_ia32_vec_ext_v2df): Mark it with MASK_SSE2. (__builtin_ia32_vec_ext_v2di): Likewise. (__builtin_ia32_vec_ext_v4si): Likewise. (__builtin_ia32_vec_ext_v8hi): Likewise. (__builtin_ia32_vec_ext_v16qi): Likewise. (__builtin_ia32_vec_set_v8hi): Likewise. gcc/testsuite/ 2007-05-25 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/sse2-check.h: New. * gcc.target/i386/sse2-vec-1.c: Likewise. * gcc.target/i386/sse2-vec-2.c: Likewise. * gcc.target/i386/sse2-vec-3.c: Likewise. * gcc.target/i386/sse2-vec-4.c: Likewise. * gcc.target/i386/sse2-vec-5.c: Likewise. * gcc.target/i386/sse2-vec-6.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125063 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Douglas Gregor <doug.gregor@gmail.com>dgregor2007-05-2517-158/+510
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c++/31431 PR c++/31432 PR c++/31434 PR c++/31435 PR c++/31437 PR c++/31438 PR c++/31442 PR c++/31443 PR c++/31444 PR c++/31445 * error.c (dump_type): Dump TYPE_ARGUMENT_PACK nodes. * cp-tree.h (check_for_bare_parameter_packs): Returns bool. * pt.c (check_for_bare_parameter_packs): Return bool indicated whether everything was okay. Fix indentation. (push_template_decl_real): Check for bare parameter packs in function parameters; where errors occur, mark the parameter types with ERROR_MARK_NODEs to avert ICEs. (coerce_template_parameter_pack): New. (coerce_template_parms): Moved parameter pack coercion into coerce_template_parameter_pack, and permit it anywhere in the template parameter list (not just at the end). Parameter and argument indices can vary (somewhat) separately now, so add PARM_IDX and ARG_IDX. (fn_type_unification): Don't set an argument pack as incomplete if no argument pack was deduced. (type_unification_real): If a type parameter is a parameter pack and has not otherwise been deduced, it will be deduced to an empty parameter pack. (more_specialized_fn): Use the actual lengths of the argument lists when comparing against expansions. * semantics.c (finish_member_declaration): If a field's type has bare parameter packs, error and set its type to ERROR_MARK_NODE. 2007-05-25 Douglas Gregor <doug.gregor@gmail.com> PR c++/31431 PR c++/31432 PR c++/31434 PR c++/31435 PR c++/31437 PR c++/31438 PR c++/31442 PR c++/31443 PR c++/31444 PR c++/31445 * g++.dg/cpp0x/pr31431.C: New. * g++.dg/cpp0x/pr31437.C: New. * g++.dg/cpp0x/pr31442.C: New. * g++.dg/cpp0x/pr31444.C: New. * g++.dg/cpp0x/pr31431-2.C: New. * g++.dg/cpp0x/pr31432.C: New. * g++.dg/cpp0x/pr31434.C: New. * g++.dg/cpp0x/pr31438.C: New. * g++.dg/cpp0x/pr31443.C: New. * g++.dg/cpp0x/pr31445.C: New. * g++.dg/cpp0x/variadic-crash1.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125062 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-252-1/+5
| | | | | | | * config/i386/sse.md (*vec_extractv2di_1_sse2): Correct shift. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125061 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2007-05-2511-176/+581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/arm/arm-protos.h (arm_encode_call_attribute): Delete. (arm_is_longcall_p): Rename to... (arm_is_long_call_p): ...this. Take a single tree argument and return a bool. * config/arm/arm.h (CALL_SHORT, CALL_LONG, CALL_NORMAL): Delete. (CUMULATIVE_ARGS): Remove call_cookie. (SHORT_CALL_FLAG_CHAR, LONG_CALL_FLAG_CHAR, ENCODED_SHORT_CALL_ATTR_P) (ENCODED_LONG_CALL_ATTR_P): Delete. (ARM_NAME_ENCODING_LENGTHS): Remove SHORT_CALL_FLAG_CHAR and LONG_CALL_FLAG_CHAR cases. (ARM_DECLARE_FUNCTION_SIZE): Delete. * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Don't use ARM_DECLARE_FUNCTION_SIZE. * config/arm/arm.c (arm_init_cumulative_args): Don't set call_cookie. (arm_function_arg): Return const0_rtx for VOIDmode arguments. (arm_encode_call_attribute, current_file_function_operand): Delete. (arm_function_in_section_p): New function. (arm_is_longcall_p): Rename to... (arm_is_long_call_p): ...this. Take the target function as a single argument and return a bool. Do not rely on call cookies. Check whether the target symbol is in the same section as the current function, not just the same compilation unit. (arm_function_ok_for_sibcall): Use arm_is_long_call_p. (arm_encode_section_info): Don't encode a call type. * config/arm/arm.md (call, call_value): Update calls to arm_is_long(_)call_p. Simplify logic. (*call_symbol, *call_value_symbol, *call_insn, *call_value_insn): Update calls to arm_is_long(_)call_p. gcc/testsuite/ * gcc.target/arm/long-calls-1.c: New test. * gcc.target/arm/long-calls-2.c: Likewise. * gcc.target/arm/long-calls-3.c: Likewise. * gcc.target/arm/long-calls-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125060 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Paolo Carlini <pcarlini@suse.de>paolo2007-05-252-1/+5
| | | | | | | * config/locale/gnu/c_locale.h (__convert_from_v): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 Richard Guenther <rguenther@suse.de>rguenth2007-05-254-19/+56
| | | | | | | | | | | | | | Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-optimization/31982 * tree-ssa-forwprop.c (forward_propagate_addr_into_variable_array_index): Handle arrays with element size one. * gcc.dg/tree-ssa/forwprop-2.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-25 Paul Thomas <pault@gcc.gnu.org>pault2007-05-254-5/+48
| | | | | | | | | | | | | | | | PR fortran/32047 * trans-expr.c (gfc_apply_interface_mapping_to_expr): Change order in logic under EXPR_FUNCTION to handle functions with no arguments. 2007-05-25 Paul Thomas <pault@gcc.gnu.org> PR fortran/32047 * gfortran.dg/result_in_spec_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 Andrew Pinski <andrew_pinski@playstation.sony.com>pinskia2007-05-252-2/+9
| | | | | | | | | | * config/spu/spu.md (smulsi3_highpart): Unshare the rtl chain. (umulsi3_highpart): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125055 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/torture/builtin-math-4.c: Fix dg-xfail-if.ghazi2007-05-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125054 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-05-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125051 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>pinskia2007-05-251-7/+6
| | | | | | | | | * Makefile.in: Remove all uses of $(libext). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125048 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>pinskia2007-05-251-0/+4
| | | | | | | | | * Makefile.in: Remove all uses of $(libext). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125047 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 Paolo Carlini <pcarlini@suse.de>paolo2007-05-242-5/+8
| | | | | | | * include/ext/concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125044 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/32069ian2007-05-243-0/+16
| | | | | | | | * regclass.c (regclass): Don't crash if the entry in regno_reg_rtx is NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125043 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutilmrs2007-05-243-3/+3
| | | | | | | | handling as well. * config/darwin9.h (LINK_COMMAND_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125042 138bc75d-0d04-0410-961f-82ee72b054a4
* * macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER.aaw2007-05-2416-1/+154
| | | | | | | | | | | | | | | | | | | | | | | | | * pch.c (cpp_write_pch_deps): Save __COUNTER__ state. (cpp_write_pch_state): Save __COUNTER__ state. (cpp_valid_state): Check valid __COUNTER__ state. (cpp_read_state): Read new __COUNTER__ state. * include/cpplib.h (enum builtin_type): Add BT_COUNTER enumerator. * init.c (builtin_array): Add __COUNTER__/BT_COUNTER. * internal.h (struct cpp_reader): Add counter member. * gcc.dg/cpp/counter-1.c: New test. * gcc.dg/pch/counter-1.c: New test. * gcc.dg/pch/counter-1.hs: New file. * gcc.dg/pch/counter-2.c: New test. * gcc.dg/pch/counter-2.hs: New file. * gcc.dg/pch/counter-3.c: New test. * gcc.dg/pch/counter-3.hs: New file. * doc/cpp.texi (Common Predefined Macros): Add __COUNTER__ description. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125041 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deductkseitz2007-05-246-12/+53
| | | | | | | | | | | | | | | | | | one when pc_ptr is non-NULL. * prims.cc (parse_init_args): Enable JVMTI with agentlib and agentpath options. * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags parameter. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass '-agentlib:dummyagent' when executing gij. (gij_jvmti_run): Build dummy JVMTI agent before running tests, and remove it when finished. * testsuite/libjava.jvmti/dummyagent.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125040 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit the change of this file, mentionend in the CL from 2007-05-20.andreast2007-05-241-11/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125039 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2007-05-243-105/+55
| | | | | | | | | | | | | | | | | | * postreload-gcse.c (reg_changed_after_insn_p): New function. (oprs_unchanged_p): Use it to check all registers in a REG. (record_opr_changes): Look for clobbers in CALL_INSN_FUNCTION_USAGE. (reg_set_between_after_reload_p): Delete. (reg_used_between_after_reload_p): Likewise. (reg_set_or_used_since_bb_start): Likewise. (eliminate_partially_redundant_load): Use reg_changed_after_insn_p and reg_used_between_p instead of reg_set_or_used_since_bb_start. Use reg_set_between_p instead of reg_set_between_after_reload_p. * rtlanal.c (reg_set_p): Check whether REG overlaps regs_invalidated_by_call, rather than just checking the membership of REGNO (REG). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125037 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/ChangeLog: Whitespace fixes.uros2007-05-242-12/+13
| | | | | | | * gcc/testsuite/ChangeLog: Ditto git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125035 138bc75d-0d04-0410-961f-82ee72b054a4
* * ltmain.sh: Update from ToT Libtool.sje2007-05-2463-18268/+163482
| | | | | | | | | | | | | | | * libtool.m4: Update from ToT Libtool. * ltsugar.m4: New. Update from ToT Libtool. * ltversion.m4: New. Update from ToT Libtool. * ltoptions.m4: New. Update from ToT Libtool. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * Regenerate all subdirs git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125032 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/passes.texi: Document predictive commoning.rakdver2007-05-2426-32/+3125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/invoke.texi (-fpredictive-commoning): Document. * opts.c (decode_options): Enable flag_predictive_commoning on -O3. * tree-ssa-loop-im.c (get_lsm_tmp_name): Export. Allow adding indices to the generated name. (schedule_sm): Pass 0 to get_lsm_tmp_name. * tree-ssa-loop-niter.c (stmt_dominates_stmt_p): Export. * tree-pretty-print.c (op_symbol_1): Renamed to ... (op_symbol_code): ... and exported. (dump_omp_clause, op_symbol): Use op_symbol_code instead of op_symbol_1. * tree-pass.h (pass_predcom): Declare. * timevar.def (TV_PREDCOM): New timevar. * tree-ssa-loop.c (run_tree_predictive_commoning, gate_tree_predictive_commoning, pass_predcom): New. * tree-data-ref.c (find_data_references_in_loop): Find the references in dominance order. (canonicalize_base_object_address): Ensure that the result has pointer type. (dr_analyze_innermost): Export. (create_data_ref): Code to fail for references with invariant address moved ... (find_data_references_in_stmt): ... here. * tree-data-ref.h (dr_analyze_innermost): Declare. * tree-affine.c: Include tree-gimple.h and hashtab.h. (aff_combination_find_elt, name_expansion_hash, name_expansion_eq, tree_to_aff_combination_expand, double_int_constant_multiple_p, aff_combination_constant_multiple_p): New functions. * tree-affine.h (aff_combination_constant_multiple_p, tree_to_aff_combination_expand): Declare. * tree-predcom.c: New file. * common.opt (fpredictive-commoning): New option. * tree-flow.h (op_symbol_code, tree_predictive_commoning, stmt_dominates_stmt_p, get_lsm_tmp_name): Declare. * Makefile.in (tree-predcom.o): Add. (tree-affine.o): Add TREE_GIMPLE_H dependency. * passes.c (init_optimization_passes): Add dceloop after copy propagation in loop optimizer. Add predictive commoning to loop optimizer passes. * gcc.dg/tree-ssa/predcom-1.c: New test. * gcc.dg/tree-ssa/predcom-2.c: New test. * gcc.dg/tree-ssa/predcom-3.c: New test. * gcc.dg/tree-ssa/predcom-4.c: New test. * gcc.dg/tree-ssa/predcom-5.c: New test. * gcc.dg/vect/dump-tree-dceloop-pr26359.c: Test dceloop2 dumps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125030 138bc75d-0d04-0410-961f-82ee72b054a4
* Fotgotten changelog entry:hubicka2007-05-241-0/+4
| | | | | | | | | * gengenrtl.c (gendecl, gendef): Output the gens annotated for statistics. (genheader): Include statistics.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125029 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 Paolo Carlini <pcarlini@suse.de>paolo2007-05-247-51/+122
| | | | | | | | | | | | | | | | | | | | | | | | * config/locale/gnu/c_locale.h (__convert_from_v): Only switch to the "C" locale if the current one isn't already "C" (for old glibcs). * config/os/gnu-linux/ctype_noninline.h (ctype<char>::classic_table, ctype<char>::ctype(__c_locale, const mask*, bool, size_t), ctype<char>::ctype(const mask*, bool, size_t)): Likewise, for generic locale model. * config/locale/gnu/messages_members.h (messages<>::messages(__c_locale, const char*, size_t), messages_byname<_CharT>::messages_byname(const char*, size_t)): Only dynamically allocate memory if __s != "C". * config/locale/gnu/time_members.h (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)): Likewise. * config/locale/generic/time_members.h (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)): Likewise. * testsuite/util/testsuite_allocator.h: Revert last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125028 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-242-1/+6
| | | | | | | | * target-def.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Correct default hook. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125027 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (-fdump-unnumbered): Update docs when line numberhubicka2007-05-245-7/+37
| | | | | | | | | | | notes are gone. * print-rtl.c (flag_dump_unnumbered): Update comments. (print_rtl): Fix my previous change. * emit-rtl.c (emit_note_before, emit_note_after): Clear out note specific data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125026 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-242-0/+7
| | | | | | | | PR testsuite/32062 * gcc.target/i386/sse4_1-check.h (MASK): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125025 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/32018rakdver2007-05-249-52/+121
| | | | | | | | | | | | | | | | | | | | | | | | | * tree-ssa-threadupdate.c (thread_through_loop_header): Use set_loop_copy. (thread_through_all_blocks): Call initialize_original_copy_tables and free_original_copy_tables. * cfgloopmanip.c (duplicate_loop, duplicate_loop_to_header_edge): Use set_loop_copy. * tree-cfg.c (tree_duplicate_sese_region): Ditto. * cfghooks.c (duplicate_block): Use get_loop_copy. * cfg.c: Include cfgloop.h. (loop_copy): New hash table. (initialize_original_copy_tables): Initialize loop_copy table. (free_original_copy_tables): Free loop_copy table. (copy_original_table_clear, copy_original_table_set, set_loop_copy, get_loop_copy): New functions. (set_bb_original, set_bb_copy): Use copy_original_table_set. * cfgloop.h (struct loop): Remove copy field. * Makefile.in (cfg.o): Add CFGLOOP_H dependency. * basic-block.h (set_loop_copy, get_loop_copy): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125024 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-242-6/+14
| | | | | | | | * config/i386/i386.c (ix86_handle_option): Handle SSE4.1 for -msse/-msse2/-msse3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125023 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>hjl2007-05-242-1/+6
| | | | | | | | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Mark __builtin_ia32_vec_set_v2di with MASK_64BIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125022 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLogdannysmith2007-05-2412-42/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/27067 * doc/tm.texi (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Document. * targhooks.h (default_mangle_decl_assembler_name): Declare default hook. * targhooks.c (default_mangle_decl_assembler_name): Define default hook. * target-def.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME) New. Set to default hook. * target.h (struct gcc_target): Add mangle_decl_assembler_name field. * langhooks.c (lhd_set_decl_assembler_name): Call targetm.mangle_decl_assembler_name for names with global scope. * config/i386/cygming.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME) Override default. (ASM_OUTPUT_DEF_FROM_DECLS): Simplify to use DECL_ASSEMBLER_NAME. * config/i386/i386-protos.h (i386_pe_mangle_decl_assembler_name): Declare. * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): New. Factored out of i386_pe_encode_section_info. (gen_stdcall_or_fastcall_suffix): Get name identifier as argument. Move check for prior decoration of stdcall symbols to i386_pe_encode_section_info. (i386_pe_encode_section_info): Adjust call to gen_stdcall_or_fastcall_suffix. Use i386_pe_maybe_mangle_decl_assembler_name, if needed. (i386_pe_mangle_decl_assembler_name): New. Wrap i386_pe_maybe_mangle_decl_assembler_name. cp/ChangeLog * mangle.c (mangle_decl): Call targetm.mangle_decl_assembler_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125020 138bc75d-0d04-0410-961f-82ee72b054a4