1. 23 Apr, 2008 12 commits
    • re PR tree-optimization/27799 (adding unused char field inhibits optimization) · 17d2c090
      2008-04-23  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/27799
      	PR tree-optimization/32921
      	PR tree-optimization/32624
      	* tree-ssa-structalias.c (merge_smts_into): Only merge the
      	SMTs aliases and the tag itself into the solution.
      	* tree-ssa-alias.c (compute_flow_sensitive_aliasing): Do not
      	merge the points-to solution back into the SMT aliases.
      	(may_alias_p): Use alias_set_subset_of instead of
      	aliases_conflict_p.  A pointer which points to
      	memory with alias set zero may access any variable.
      
      	* gcc.dg/tree-ssa/pr27799.c: New testcase.
      	* gcc.dg/tree-ssa/20030807-7.c: Remove xfail, scan vrp dump.
      
      From-SVN: r134598
      Richard Guenther committed
    • alias.c (alias_set_subset_of): Correctly handle asking if zero is a subset of an… · a7a512be
      alias.c (alias_set_subset_of): Correctly handle asking if zero is a subset of an alias set with zero child.
      
      2008-04-23  Richard Guenther  <rguenther@suse.de>
      
      	* alias.c (alias_set_subset_of): Correctly handle asking
      	if zero is a subset of an alias set with zero child.
      	* tree-ssa-alias.c (have_common_aliases_p): Simplify logic.
      	(compute_flow_insensitive_aliasing): Correctly walk all
      	pointers.  Do not unnecessarily union sets.
      
      From-SVN: r134597
      Richard Guenther committed
    • re PR c/36021 (__attribute__((alloc_size(n))) with function of no arguments causes gcc to segfault) · f3f75f69
      2008-04-23  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/36021
      	* c-common.c (handle_alloc_size_attribute): Use type_num_arguments.
      
      	* gcc.dg/attr-alloc_size-2.c: New testcase.
      
      From-SVN: r134595
      Richard Guenther committed
    • ChangeLog: right place to changes · 09725d5e
              * gcc/ChangeLog: right place to changes
       
              * ChangeLog: removed changes im bad place
      
      From-SVN: r134594
      Tomas Bily committed
    • ChangeLog: changelog to last commit · f904bc28
              * ChangeLog: changelog to last commit
      
      From-SVN: r134592
      Tomas Bily committed
    • tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as unreachable case. · a134e5f3
              * tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as
              unreachable case.
      
              * tree-vrp.c (extract_range_from_unary_expr): Removed unused
              NON_LVALUE_EXPR.
      
              * tree-ssa-threadedge.c (simplify_control_stmt_condition):
              Likewise.
              
              * tree-ssa-structalias.c (get_constraint_for): Likewise.
      
              * tree-inline.c (estimate_num_insns_1): Likewise.
      
              * varasm.c (const_hash_1, compare_constant, copy_constant)
              (compute_reloc_for_constant, output_addressed_constants):
              Likewise.
      
              * emit-rtl.c (component_ref_for_mem_expr)
              (set_mem_attributes_minus_bitpos): Likewise.
      
              * expr.c (highest_pow2_factor, expand_expr_real_1, )
              (is_aligning_offset): Likewise.
      
              * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info):
              Likewise.
      
              * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
      
              * dojump.c (do_jump): Likewise.
      
              * builtins.c (get_pointer_alignment, get_memory_rtx)
              (integer_valued_real_p, fold_builtin_next_arg): Likewise.
      
              * tree-scalar-evolution.c (instantiate_parameters_1): Likewise.
      
      From-SVN: r134591
      Tomas Bily committed
    • override.m4: Apply _AC_ARG_VALIDATE fix to all versions but 2.62. · e2470383
      2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
      
      	* override.m4: Apply _AC_ARG_VALIDATE fix to all versions
      	but 2.62.
      
      From-SVN: r134590
      Paolo Bonzini committed
    • 20020919-1.c (loc_size_t): New type. · 4991bfc8
      2008-04-23  Kai Tietz  <kai.tietz@onevision.com>
      
      	* gcc.dg/20020919-1.c (loc_size_t): New type.
      	(_dl_stat): Use loc_size_t to cast pointers.
      	* gcc.c-torture/compile/20010327-1.c: Skip for x86_64-*-mingw*.
      
      From-SVN: r134583
      Kai Tietz committed
    • quicksort.h: Reformat, · d7066497
      2008-04-23  Johannes Singler  <singler@ira.uka.de>
      
              * include/parallel/quicksort.h: Reformat,
              (parallel_sort_qs): Do not pass number of elements.
              * include/parallel/balanced_quicksort.h: Reformat,
              (parallel_sort_qsb): Do not pass number of elements.
              * include/parallel/tags.h:
              Introduce new tags for compile-time choice.
              * include/parallel/merge.h:
              (parallel_merge_advance):Beautified.
              * include/parallel/algo.h: Reformatting (spaces for tabs)
              New sort and stable_sort variants, corresponding to the tags.
              * include/parallel/sort.h:
              New sort and stable_sort variants, corresponding to the tags.
              Changed determining the desired number of threads.
      
      From-SVN: r134582
      Johannes Singler committed
    • 2008-04-23 Johannes Singler <singler@ira.uka.de> · 214ece29
              * include/parallel/multiway_merge.h
              (multiway_merge_loser_tree):
              Leave checks to callers, add precondition instead.
              (multiway_merge_loser_tree_unguarded): Likewise.
              (multiway_merge_loser_tree_sentinel): Likewise.
              (sequential_multiway_merge): Added checks for total length 0.
              (parallel_multiway_merge): Skip empty sequences.
              (multiway_merge, all variants):
              Remove temporary variable, return directly.
              (stable_multiway_merge, all variants): Likewise.
              (multiway_merge_sentinels, all variants):  Likewise.
              (stable_multiway_merge_sentinels, all variants): Likewise.
              * include/parallel/multiseq_selection.h
              (multiseq_partition): More detailed assertions.
      
      From-SVN: r134580
      Johannes Singler committed
    • re PR fortran/35988 (run-time abort for MATMUL of run-time zero sized array) · 7edc89d4
      2008-04-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/35988
      	* m4/matmul.m4:  Only issue a runtime error if extents are
      	non-zero.
      	* generated/matmul_i1.c:  Regenerated.
      	* generated/matmul_i2.c:  Regenerated.
      	* generated/matmul_i4.c:  Regenerated.
      	* generated/matmul_i8.c:  Regenerated.
      	* generated/matmul_i16.c:  Regenerated.
      	* generated/matmul_r4.c:  Regenerated.
      	* generated/matmul_r8.c:  Regenerated.
      	* generated/matmul_r10.c:  Regenerated.
      	* generated/matmul_r16.c:  Regenerated.
      	* generated/matmul_c4.c:  Regenerated.
      	* generated/matmul_c8.c:  Regenerated.
      	* generated/matmul_c10.c:  Regenerated.
      	* generated/matmul_c16.c:  Regenerated.
      
      2008-04-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/35988
      	* gfortran.dg/matmul_7.f90:  New test.
      
      From-SVN: r134579
      Thomas Koenig committed
    • Daily bump. · d5555b95
      From-SVN: r134576
      GCC Administrator committed
  2. 22 Apr, 2008 20 commits
  3. 21 Apr, 2008 8 commits
    • coverage.c: Include tree-pass.h. · 27624b9e
      	* coverage.c: Include tree-pass.h.
      	(coverage_counter_alloc): Print da_file_name to the dump file.
      
      testsuite/
      	* gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
      	gcc.dg/profile-dir-3.c: Generate tree_profile dump.  Check gcda
      	file name there instead of the assembly.  Cleanup tree_profile
      	dump file.
      
      From-SVN: r134541
      Adam Nemet committed
    • vect-vfa-slp.c: XFAIL if vect_no_align. · 2cdfa19e
      	* gcc.dg/vect/vect-vfa-slp.c: XFAIL if vect_no_align.
      	* gcc.dg/vect/slp-25.c: Ditto.
      	* gcc.dg/vect/vect-outer-5.c: Ditto.
      	* gcc.dg/vect/pr33804.c: Ditto.
      	* gcc.dg/vect/vect-outer-4c.c: Ditto.
      	* gcc.dg/vect/no-vfa-vect-depend-1.c: Ditto.
      	* gcc.dg/vect/pr33953.c: Ditto.
      	* gcc.dg/vect/slp-3.c: Ditto.
      	* gcc.dg/vect/vect-iv-6.c: Ditto.
      
      From-SVN: r134540
      Steve Ellcey committed
    • * g++.dg/ext/fixed1.C: Add dg-options. · 86daf957
      From-SVN: r134536
      Jakub Jelinek committed
    • configure.ac: use -fPIC on Linux/MIPS hosts. · 951b54cc
      2008-04-21  Aurelien Jarno  <aurelien@aurel32.net>
      
              * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
              * libiberty/configure: Regenerate.
      
      From-SVN: r134534
      Aurelien Jarno committed
    • libgomp/ · 6d26724a
      	* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS)
      	(LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY)
      	(LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT)
      	(LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names.
      	* configure: Regenerate.
      	* Makefile.in, testsuite/Makefile.in: Likewise.
      
      libstdc++-v3/
      	* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
      	(GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
      	(GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
      	(GLIBCXX_CHECK_SYSTEM_ERROR): Likewise.  Factorize.
      	* configure: Regenerate.
      
      libgfortran/
      	* acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY)
      	(LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT)
      	(LIBGFOR_CHECK_ATTRIBUTE_ALIAS, LIBGFOR_CHECK_SYNC_FETCH_AND_ADD)
      	(LIBGFOR_GTHREAD_WEAK, LIBGFOR_CHECK_UNLINK_OPEN_FILE)
      	(LIBGFOR_CHECK_CRLF, LIBGFOR_CHECK_FOR_BROKEN_ISFINITE)
      	(LIBGFOR_CHECK_FOR_BROKEN_ISNAN)
      	(LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY, LIBGFOR_CHECK_WORKING_STAT)
      	(LIBGFOR_CHECK_FPSETMASK, LIBGFOR_CHECK_MINGW_SNPRINTF):
      	Fix cache variable names.
      	* configure, Makefile.in: Regenerate.
      
      From-SVN: r134531
      Ralf Wildenhues committed
    • sbitmap.c (sbitmap_range_empty_p): New function. · b60db1ba
      2008-04-24  Kenneth Zadeck <zadeck@naturalbridge.com>
      	* sbitmap.c (sbitmap_range_empty_p): New function.
      	* sbitmap.h (sbitmap_range_empty_p): New function.
      	* bitmap.h: Now includes obstack.h.
      
      From-SVN: r134529
      Kenneth Zadeck committed
    • forgot to add this in last commit. · 6d9d0028
      From-SVN: r134528
      Kenneth Zadeck committed