aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2009-03-03Daily bump.GCC Administrator1-1/+1
From-SVN: r144560
2009-03-02i386.md (ST?_REG, MM?_REG): New constants.Uros Bizjak4-54/+79
* config/i386/i386.md (ST?_REG, MM?_REG): New constants. (*call_1_rex64_ms_sysv): Use named constants instead of magic numbers to describe clobbbered registers. (*call_value_0_rex64_ms_sysv): Ditto. * config/i386/mmx.md (emms): Ditto. (femms): Ditto. From-SVN: r144554
2009-03-02mips.c (mips_mdebug_abi_name): Fix the handling of ABI_64.Richard Sandiford2-1/+6
gcc/ * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling of ABI_64. From-SVN: r144552
2009-03-02spu.c (TARGET_SECTION_TYPE_FLAGS): Define.Ulrich Weigand2-0/+19
* config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define. (spu_section_type_flags): New function. From-SVN: r144550
2009-03-02return-4.c: Scan andl/andq instead of andl.H.J. Lu4-4/+11
2009-03-02 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead of andl. * gcc.target/i386/stackalign/return-5.c: Likewise. * gcc.target/i386/stackalign/return-6.c: Likewise. From-SVN: r144544
2009-03-02i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy reg_class_contents of ↵Uros Bizjak2-11/+10
FLOAT_REGS into a temporary. * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy reg_class_contents of FLOAT_REGS into a temporary. From-SVN: r144542
2009-03-02re PR middle-end/39318 (internal compiler error: verify_stmts failed)Richard Guenther4-0/+38
2009-03-02 Richard Guenther <rguenther@suse.de> Ira Rosen <irar@il.ibm.com> PR tree-optimization/39318 * tree-vect-transform.c (vectorizable_call): Transfer the EH region information to the vectorized statement. Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r144541
2009-03-02Daily bump.GCC Administrator1-1/+1
From-SVN: r144538
2009-03-01Fix latest entry.Eric Botcazou1-1/+1
From-SVN: r144534
2009-03-01i386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic ↵Uros Bizjak2-4/+5
constants for REX SSE registers. * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic constants for REX SSE registers. From-SVN: r144533
2009-03-01i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" variable.Uros Bizjak2-26/+22
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" variable. From-SVN: r144532
2009-03-01re PR tree-optimization/39331 (OpenMP and return-slot-optimization generate ↵Richard Guenther2-1/+14
invalid gimple) 2009-03-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/39331 * omp-low.c (lower_send_shared_vars): Do not receive new values for the reference of DECL_BY_REFERENCE parms or results. From-SVN: r144531
2009-03-01Fix long lines.Eric Botcazou1-4/+7
From-SVN: r144530
2009-03-01re PR debug/39267 (gdb testsuite regressions)Jan Hubicka5-125/+238
PR debug/39267 * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS, BLOCK_NONLOCALIZED_VAR): New macros. (tree_block): Add nonlocalized_vars. * dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Add origin argument; allow generation of die with origin at hand only. (gen_member_die, gen_type_die_with_usage, force_decl_die, declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use of gen_*. (gen_block_die): Fix checking for unused blocks. (process_scope_var): Break out from .... ; work with origins only. (decls_for_scope) ... here; process nonlocalized list. (dwarf2out_ignore_block): Look for nonlocalized vars. * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized vars. (dump_scope_block): Dump them. * tree-inline.c (remap_decls): Handle nonlocalized vars. (remap_block): Likewise. (can_be_nonlocal): New predicate. (copy_bind_expr, copy_gimple_bind): Update use of remap_block. From-SVN: r144529
2009-03-01backport: Support GNU/kOpenSolaris.Ralf Wildenhues2-4/+8
Backport from git Libtool: 2009-01-19 Robert Millan <rmh@aybabtu.com> Support GNU/kOpenSolaris. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS) (_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize GNU/kOpenSolaris. libjava/classpath/ * configure: Regenerate. libjava/ * configure: Regenerate. libssp/ * configure: Regenerate. libobjc/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. libgfortran/ * configure: Regenerate. boehm-gc/ * configure: Regenerate. gcc/ * configure: Regenerate. libmudflap/ * configure: Regenerate. zlib/ * configure: Regenerate. libffi/ * configure: Regenerate. libgomp/ * configure: Regenerate. From-SVN: r144527
2009-03-01optc-gen.awk: No need to duplicate option flags twice.Ralf Wildenhues2-5/+10
gcc/ * optc-gen.awk: No need to duplicate option flags twice. Reuse help texts for duplicate options which do not have any. From-SVN: r144526
2009-03-01gcc.c (display_help): Document --version.Ralf Wildenhues2-0/+3
gcc/ * gcc.c (display_help): Document --version. From-SVN: r144525
2009-03-01gcc.c (main): If print_help_list and verbose_flag...Ralf Wildenhues2-1/+7
gcc/ * gcc.c (main): If print_help_list and verbose_flag, ensure driver output comes before subprocess output. From-SVN: r144524
2009-03-01optc-gen.awk: Assign all remaining fields to help string...Ralf Wildenhues2-0/+5
gcc/ * optc-gen.awk: Assign all remaining fields to help string, space-separated, for multi-line help in *.opt. From-SVN: r144523
2009-03-01check_warning_flags.sh: Update flag exceptions.Ralf Wildenhues2-2/+5
contrib/ * check_warning_flags.sh: Update flag exceptions. gcc/ * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only. -Wno-pedantic-ms-format is for MinGW targets only. From-SVN: r144522
2009-03-01options.texi (Option file format): Fix bad indentation, restoring dropped ↵Ralf Wildenhues2-0/+6
sentence. gcc/ * doc/options.texi (Option file format): Fix bad indentation, restoring dropped sentence. From-SVN: r144518
2009-03-01* tree-inline.c (tree_function_versioning): Output debug info.Jan Hubicka4-0/+44
From-SVN: r144516
2009-03-01re PR debug/39267 (gdb testsuite regressions)Jan Hubicka4-1/+31
PR debug/39267 * tree-inline.c (setup_one_parameter): Do not copy propagate arguments when not optimizing. PR debug/39267 * gcc.dg/debug/dwarf2/inline1.c: New testcase. From-SVN: r144515
2009-03-01re PR ada/39264 (gnat.dg/pack3.adb fails on powerpc64/s390x)Eric Botcazou4-14/+61
PR ada/39264 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no call make_packable_type on fat pointer types. <E_Array_Subtype>: Likewise. <E_Record_Subtype>: Call make_packable_type on all record types except for fat pointer types. (make_packable_type): Likewise. (gnat_to_gnu_field): Likewise. From-SVN: r144514
2009-03-01Move entryEric Botcazou2-14/+14
From-SVN: r144513
2009-03-01Daily bump.GCC Administrator1-1/+1
From-SVN: r144501
2009-02-28re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)H.J. Lu2-16/+30
2009-02-28 H.J. Lu <hongjiu.lu@intel.com> PR target/39327 * config/i386/sse.md (avx_addsubv8sf3): Correct item bits. (avx_addsubv4df3): Likewise. (*avx_addsubv4sf3): Likewise. (sse3_addsubv4sf3): Likewise. (*avx_addsubv2df3): Likewise. (sse3_addsubv2df3): Likewise. (avx_unpckhps256): Correct item selectors. (avx_unpcklps256): Likewise. (avx_unpckhpd256): Likewise. (avx_unpcklpd256): Likewise. From-SVN: r144498
2009-02-28tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.Jan Hubicka2-22/+35
* tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars. (copy_arguments_for_versioning): If var is declared don't declare it. (tree_function_versioning): First setup substitutions and then copy args. From-SVN: r144497
2009-02-28re PR debug/39267 (gdb testsuite regressions)Jan Hubicka7-36/+72
PR debug/39267 * cgraph.h (varpool_output_debug_info): Remove. * cgraphunit.c (varpool_output_debug_info): Remove. * dwarf2out.c (deferred_locations_struct): New struct (deferred_locations): New type. (deferred_locations_list): New static var. (deffer_location): New function. (gen_variable_die): Use it. (decls_for_scope): Output info on local static vars. (dwarf2out_finish): Process deferred locations. * varpool.c (varpool_output_debug_info): Remove. From-SVN: r144496
2009-02-28Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.Eric Botcazou2-2/+5
* gcc-interface/Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816. From-SVN: r144488
2009-02-28Daily bump.GCC Administrator1-1/+1
From-SVN: r144479
2009-02-27Fix long lines.Eric Botcazou1-3/+4
From-SVN: r144476
2009-02-27re PR debug/39267 (gdb testsuite regressions)Jan Hubicka12-162/+140
PR debug/39267 * tree.h (TREE_PROTECTED): Fix comment. (BLOCK_HANDLER_BLOCK): Remove. (struct tree_block): Remove handler_block add body_block. (inlined_function_outer_scope_p): New. (is_body_block): Remove. * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK. * dwarf2out.c (is_inlined_entry_point): Remove. (add_high_low_attributes): Use inlined_function_outer_scope_p. (gen_block_die): Use is_inlined_entry_point check; remove body block code. * langhooks.h (struct lang_hooks): Remove no_bodu_blocks. * gimplify.c (gimplify_expr): Gimplify body blocks. * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block with multiple subblocks. (dump_scope_block): Prettier output; dump more flags and info. (dump_scope_blocks): New. (remove_unused_locals): Use dump_scope_blocks. * tree-flow.h (dump_scope_blocks): Declare. * tree-cfg.c (execute_build_cfg): Dump scope blocks. * stmt.c (is_body_block): Remove. * tree-inline.c (remap_block): Copy BODY_BLOCK info. * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove. From-SVN: r144474
2009-02-27re PR middle-end/39308 (ICE when compiling with -O[s123] -floop-interchange)Sebastian Pop2-1/+9
2009-02-27 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/39308 * graphite.c (graphite_loop_normal_form): Do not call number_of_iterations_exit from a gcc_assert. From-SVN: r144470
2009-02-27s390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL.Andreas Krebbel3-62/+144
2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL. (find_cond_jump): New function. (s390_z10_optimize_cmp): Handling for reg-reg compares added. * gcc/config/s390/s390.md: Remove z10_cobra attribute value. From-SVN: r144466
2009-02-27Add PR ref.Andreas Schwab1-1/+1
From-SVN: r144464
2009-02-27Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.Andreas Schwab3-29/+37
gcc/ada/: * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. * gcc-interface/Makefile.in: Change all uses of $(srcdir), $(fsrcdir) and $(fsrcpfx) to add ada subdir. (AWK): Substitute. (target_cpu_default): Substitute. gnattools/: * Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada. (INCLUDES_FOR_SUBDIR): Adjust. (ADA_INCLUDES_FOR_SUBDIR): Adjust. From-SVN: r144463
2009-02-27re PR fortran/39309 (.mod file versioning causes error instead of ↵Tobias Burnus2-2/+7
overwritting the file) 2009-02-27 Tobias Burnus <burnus@net-b.de> PR fortran/39309 * module.c (read_md5_from_module_file): Add missing quote. From-SVN: r144462
2009-02-27re PR fortran/39309 (.mod file versioning causes error instead of ↵Tobias Burnus2-2/+18
overwritting the file) 2009-02-27 Tobias Burnus <burnus@net-b.de> PR fortran/39309 * module.c (read_md5_from_module_file): Include mod version in had-changed test. From-SVN: r144461
2009-02-27Daily bump.GCC Administrator1-1/+1
From-SVN: r144460
2009-02-26re PR c++/37789 (ICE with __FUNCTION__)H.J. Lu4-1/+23
gcc/cp 2009-02-26 H.J. Lu <hongjiu.lu@intel.com> PR c++/37789 * parser.c (cp_parser_mem_initializer): Return error_mark_node if cp_parser_mem_initializer_id returns error_mark_node. gcc/testsuite/ 2009-02-26 H.J. Lu <hongjiu.lu@intel.com> PR c++/37789 * other/pr37789.C: New. From-SVN: r144451
2009-02-26alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.Uros Bizjak2-14/+23
* config/alpha/alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX. From-SVN: r144450
2009-02-26re PR fortran/39295 (Too strict interface conformance check)Paul Thomas5-4/+118
2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39295 * interface.c (compare_type_rank_if): Return 1 if the symbols are the same and deal with external procedures where one is identified to be a function or subroutine by usage but the other is not. 2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39295 * gfortran.dg/interface_25.f90: New test. * gfortran.dg/interface_26.f90: New test. From-SVN: r144449
2009-02-26Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.H.J. Lu3-6595/+6592
From-SVN: r144448
2009-02-26Correct year.H.J. Lu3-17/+17
From-SVN: r144447
2009-02-26re PR fortran/39292 (ICE in gfc_conv_array_initializer, at ↵Paul Thomas4-1/+35
fortran/trans-array.c:3884) 2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39292 * trans-array.c (gfc_conv_array_initializer): Convert all expressions rather than ICEing. 2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39292 * gfortran.dg/initialization_22.f90: New test. From-SVN: r144444
2009-02-26Daily bump.GCC Administrator1-1/+1
From-SVN: r144442
2009-02-25re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)H.J. Lu4-13/+31
gcc/ 2008-02-25 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/39241 * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls to subreg_offset_representable_p. gcc/testsuite/ 2008-02-25 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/39241 * gcc.dg/torture/pr39241.c: New. From-SVN: r144430
2009-02-25regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute ↵Paolo Bonzini2-36/+24
function prototype. 2009-02-25 Paolo Bonzini <bonzini@gnu.org> * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype. Get f and nregs from max_reg_num and get_insns. Remove the first backward pass as it's dead, guard the forward pass by flag_expensive_optimizations. (rest_of_handle_regmove): Delete. (pass_regmove): Replace it with regmove_optimize. From-SVN: r144429
2009-02-25tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and ↵Martin Jambor4-4/+60
alls_alloca function flags. 2009-02-25 Martin Jambor <mjambor@suse.cz> * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and alls_alloca function flags. (copy_bb): Set calls_setjmp and alls_alloca function flags if such calls are detected. From-SVN: r144428