aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2009-03-04re PR tree-optimization/39358 (Wrong aliasing warning with lists)Richard Guenther5-7/+75
2009-03-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/39358 * tree-ssa-structalias.c (do_sd_constraint): Fix check for escaped_id and callused_id. (solve_graph): Likewise. * g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase. * g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise. From-SVN: r144602
2009-03-04re PR tree-optimization/39339 (SRA miscompilation of vte)Richard Guenther4-12/+96
2009-03-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/39339 * tree-sra.c (try_instantiate_multiple_fields): Make it no longer ICE on the above. * gcc.c-torture/execute/pr39339.c: New testcase. From-SVN: r144598
2009-03-04emit-rtl.c (adjust_address_1): Reduce offset to a signed value that fits ↵Joseph Myers5-0/+61
within Pmode. * emit-rtl.c (adjust_address_1): Reduce offset to a signed value that fits within Pmode. testsuite: * gcc.c-torture/compile/20090303-1.c, gcc.c-torture/compile/20090303-2.c: New tests. From-SVN: r144595
2009-03-04Daily bump.GCC Administrator1-1/+1
From-SVN: r144594
2009-03-03* es.po: Update.Joseph Myers2-1405/+1349
From-SVN: r144591
2009-03-03re PR middle-end/10109 (documentation of target macro LIBCALL_VALUE)Steve Ellcey2-9/+6
PR middle-end/10109 * tm.texi (LIBCALL_VALUE): Update description. From-SVN: r144586
2009-03-03re PR middle-end/34443 (The GCC manual about section variable attribute is ↵Steve Ellcey2-10/+16
incorrect) PR middle-end/34443 * doc/extend.texi (section): Update description. From-SVN: r144582
2009-03-03re PR tree-optimization/39345 (ICE in copy_tree_body_r, at tree-inline.c:1020)H.J. Lu2-2/+30
2009-03-03 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/39345 * tree-inline.c (remapped_type): New. (can_be_nonlocal): Call remapped_type instead of remap_type. From-SVN: r144581
2009-03-03re PR fortran/39354 (bad codegen for openmp atomics (Intel64 Fortran logical ↵Jakub Jelinek4-0/+61
ops)) PR fortran/39354 * gimplify.c (goa_stabilize_expr): Handle tcc_comparison, TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. * gfortran.dg/gomp/pr39354.f90: New test. From-SVN: r144575
2009-03-03re PR tree-optimization/39272 (-D_FORTIFY_SOURCE=2 no longer warns with new ↵Richard Guenther5-15/+68
glibc headers) 2009-03-03 Richard Guenther <rguenther@suse.de> PR middle-end/39272 * tree.c (tree_nonartificial_location): New function. * tree.h (tree_nonartificial_location): Declare. * builtins.c (expand_builtin_memory_chk): Provide location of the call location for artificial function pieces. (maybe_emit_chk_warning): Likewise. (maybe_emit_sprintf_chk_warning): Likewise. (maybe_emit_free_warning): Likewise. * expr.c (expand_expr_real_1): Likewise. From-SVN: r144573
2009-03-03re PR tree-optimization/39343 (Wrong result for __builtin_object_size (x, 1))Jakub Jelinek4-2/+41
PR tree-optimization/39343 * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if COMPONENT_REF t has ARRAY_TYPE. * gcc.dg/pr39343.c: New test. From-SVN: r144571
2009-03-03re PR tree-optimization/39248 (FAIL: gcc.dg/vect/vect-complex-1.c)Ira Rosen4-6/+18
PR tree-optimization/39248 * gcc.dg/vect/vect-complex-1.c: Add attribute aligned to the arrays. * gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize on targets without vector misalignment support. * lib/target-supports.exp (check_effective_target_vect_short_mult): Add check_effective_target_arm32. From-SVN: r144569
2009-03-03re PR middle-end/39335 (ICE in GCC 4.4 with -O[123] -floop-interchange)Sebastian Pop7-11/+69
2009-03-02 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/39335 * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert when the type precision of the induction variable should be larger than the type precision of nit. (gen_parallel_loop): Update use of canonicalize_loop_ivs. * graphite.c (graphite_loop_normal_form): Same. * tree-flow.h (canonicalize_loop_ivs): Update declaration. * testsuite/gcc.dg/graphite/pr39335_1.c: New. * testsuite/gcc.dg/graphite/pr39335.c: New. From-SVN: r144564
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