- 18 Sep, 2006 6 commits
-
-
2006-09-18 Benjamin Kosnik <bkoz@redhat.com> Peter Doerfler <gcc@pdoerfler.com> Paolo Carlini <pcarlini@suse.de> * include/ext/type_traits.h: New. (__conditional_type): New. (__numeric_traits): New. (__add_unsigned): New. (__remove_unsigned): New. (__enable_if): New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * include/ext/pb_ds/detail/type_utils.hpp: Use ext include, remove duplicates. * include/tr1/hashtable_policy.h (IF): Use __conditional_type. (_Max_digits10): Same. (identity): Use _Identity. (extract1st): Use _Select1st. * include/tr1/random (_Select): Use __conditional_type. (_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups. * include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use __add_unsigned. * include/tr1/random.tcc: Fixups as above. * include/tr1/unordered_map: Same. * include/tr1/hashtable: Same. * include/tr1/unordered_set: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ standard_policies.hpp: Same. * include/ext/pb_ds/detail/standard_policies.hpp: Same. * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same. * include/ext/pb_ds/detail/type_utils.hpp: Same. * include/ext/pb_ds/trie_policy.hpp: Same. * docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same. * include/bits/cpp_type_traits.h (__enable_if): Move to ext, make boolean argument first. * include/bits/locale_facets.h: Fixups for __enable_if argument and namespace switch. * include/bits/stl_algobase.h: Same. * include/bits/stl_algo.h: Same. * include/bits/stl_iterator.h: Same. * include/bits/streambuf_iterator.h: Same. * include/debug/safe_iterator.h: Same. * include/tr1/hashtable_policy.h: Same. * include/tr1/cmath: Same. * include/tr1/functional: Same. * include/tr1/functional_iterate.h: Same. * include/std/std_streambuf.h: Same. * include/c_std/std_cmath.h: Same. * testsuite/util/testsuite_tr1.h: Same. * testsuite/util/performance/assoc/multimap_common_type.hpp: Same. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com> From-SVN: r117024
Benjamin Kosnik committed -
2006-09-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/29063 * include/bits/valarray_array.h: Fix typo, undefine _DEFINE_ARRAY_FUNCTION. * include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR. From-SVN: r117019
Paolo Carlini committed -
2006-09-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/29060 * iresolve.c (resolve_spread): Build shape for result if the source shape is available and dim and ncopies are constants. PR fortran/28817 PR fortran/21918 * trans-decl.c (generate_local_decl): Change from 'warning' to 'gfc_warning' to have line numbers correctly reported. 2006-09-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/29060 * gfortran.dg/spread_shape_1.f90: New test. From-SVN: r117014
Paul Thomas committed -
From-SVN: r117013
Feng Wang committed -
re PR tree-optimization/28887 (rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays) 2006-09-17 Zdenek Dvorak <dvorakz@suse.cz> PR tree-optimization/28887 * tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable component parts from the reference. (gather_memory_references_ref): Record the reference without the nonaddressable component parts. * gcc.dg/prefetch-loop-arrays-1.c: New test case. From-SVN: r117012
Roger Sayle committed -
From-SVN: r117010
GCC Administrator committed
-
- 17 Sep, 2006 4 commits
-
-
2006-09-18 Bernhard Fischer <aldot@gcc.gnu.org> * dg-cmp-results.sh (compare-$$.awk): Print name[old] and not non-existing nm[old]. From-SVN: r117006
Bernhard Fischer committed -
gcc/ PR c/25993 * c-opts.c (c_common_handle_option): Ignore the -std options if the input language is assembly. testsuite/ PR c/25993 * gcc.dg/pr25993.c: New test. From-SVN: r117005
Steven Bosscher committed -
PR tree-opt/21591 * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory tag first. (ptr_ptr_may_alias_p): Likewise. (record_record_differ_p): New function. (base_object_differ_p): Call record_record_differ_p. From-SVN: r117003
Ira Rosen committed -
From-SVN: r117001
GCC Administrator committed
-
- 16 Sep, 2006 8 commits
-
-
2006-09-16 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/29059 * gcc.c-torture/compile/strcpy-1.c: New test. * gcc.c-torture/compile/strcpy-2.c: New test. * gcc.c-torture/compile/memcpy-1.c: New test. * gcc.c-torture/compile/memcpy-2.c: New test. 2006-09-16 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/29059 * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right away for the expr argument. From-SVN: r116997
Andrew Pinski committed -
tree-vectorizer.c (vectorize_loops): Clear vect_loop_location before using it for dumping after vectorizing loops. * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location before using it for dumping after vectorizing loops. From-SVN: r116996
Steven Bosscher committed -
2006-09-16 Andrew Pinski <pinskia@physics.uc.edu> Jack Howarth <howarth@bromo.med.uc.edu> PR target/29030 * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse) skip on error_mark_node. (rs6000_darwin64_record_arg_recurse): Likewise. Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> From-SVN: r116994
Andrew Pinski committed -
2006-09-16 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/29055 * gcc.target/powerpc/darwin-bool-1.c: Skip -m64 From-SVN: r116993
Jack Howarth committed -
* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove. * doc/rtl.texi: Remove related documentation. From-SVN: r116992
Steven Bosscher committed -
2006-09-16 Paul Thomas <pault@gcc.gnu.org> * gfortran.dg/select_6.f90: Change message. From-SVN: r116991
Paul Thomas committed -
* decNumber.c (decNumberPower): Constify. * decNumber.h (decNumberPower): Likewise. From-SVN: r116990
Kaveh R. Ghazi committed -
From-SVN: r116988
GCC Administrator committed
-
- 15 Sep, 2006 21 commits
-
-
* loop-doloop.c (doloop_optimize): Remove bogus arg from debugging printf. From-SVN: r116984
Bernd Schmidt committed -
* config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST): Handle symbol offsets same as they are handled in ia64_expand_move and move_operand. From-SVN: r116983
James E Wilson committed -
2006-09-16 Andreas Tobler <a.tobler@schweiz.org> * loop-doloop.c (doloop_optimize): Change type of max_cost to int. Add forgotten parameter to the fprintf call. From-SVN: r116982
Andreas Tobler committed -
PR ada/15802 * decl.c (same_discriminant_p): New static function. (gnat_to_gnu_entity) <E_Record_Type>: When there is a parent subtype and we have discriminants, fix up the COMPONENT_REFs for the discriminants to make them reference the corresponding fields of the parent subtype after it has been built. From-SVN: r116981
Eric Botcazou committed -
From-SVN: r116980
Steve Ellcey committed -
2006-09-15 Paul Thomas <pault@gcc.gnu.org> PR fortran/29051 * decl.c (match_old_style_init): Set the 'where' field of the gfc_data structure 'newdata'. * match.c (match_case_eos): Add a comprehensible error message. 2006-09-15 Paul Thomas <pault@gcc.gnu.org> PR fortran/29051 * gfortran.dg/oldstyle_3.f90: New test. From-SVN: r116977
Paul Thomas committed -
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/29099 * gfortran.dg/secnds-1.f: New test. From-SVN: r116976
Jerry DeLisle committed -
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/29099 * intrinsics/date_and_time.c (secnds): Fix case of zero time. From-SVN: r116975
Jerry DeLisle committed -
* doc/contrib.texi: Add my entry. From-SVN: r116974
Uros Bizjak committed -
md.texi (Processor pipeline description): Fix typo in example of how to use the absence_set directive and reword the... * doc/md.texi (Processor pipeline description): Fix typo in example of how to use the absence_set directive and reword the description to make it slightly easier to read. From-SVN: r116973
Nick Clifton committed -
* config/bfin/bfin.c (struct loop_info): New members block_bitmap and bad. (struct loop_work and related VEC declarations): Delete. (bfin_dump_loops): Print out new member bad. (bfin_bb_in_loop): Use plain bitmap test. Don't recurse. (bfin_scan_loop): Don't recurse. (bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad loops. No longer need to update outer loops if the current one is found bad. Move some validitiy checks to bfin_discover_loop. (bfin_discover_loop): New function, mostly split from bfin_reorg_loops, but changed not to check for nesting. Also changed to use the new bad flag. (bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a time. Use bitmap based test to discover loop nesting. From-SVN: r116972
Bernd Schmidt committed -
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/29053 * gfortran.dg/streamio_9.f90: New test. * gfortran.dg/streamio_10.f90: New test. From-SVN: r116971
Jerry DeLisle committed -
2006-09-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/29053 * io.h (gfc_unit): Add variable, strm_pos, to track STREAM I/O file position. * file_pos.c (st_rewind): Set strm_pos to beginning. * open.c (new_unit): Initialize strm_pos. * read.c (read_x): Bump strm_pos. * inquire.c (inquire_via_unit): Return strm_pos value. * transfer.c (read_block),(read_block_direct),(write_block) (write_buf): Seek to strm_pos - 1. Update strm_pos when done. (pre_position): Initialize strm_pos. (data_transfer_init): Set strm_pos if DT_HAS_REC. (finalize_transfer): Flush file, no need to update strm_pos. From-SVN: r116970
Jerry DeLisle committed -
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort. From-SVN: r116969
Bernd Schmidt committed -
* cfgrtl.c (emit_insn_at_entry): New function. * rtl.h (emit_insn_at_entry): Declare it. * integrate.c (emit_initial_value_sets): Use it. From-SVN: r116968
Bernd Schmidt committed -
* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD. From-SVN: r116967
Bernd Schmidt committed -
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New. * loop-doloop.c (doloop_optimize): Use it to limit costs of expanding the number of iterations. From-SVN: r116966
Bernd Schmidt committed -
PR ada/18817 * utils.c (max_size): Perform constant folding of (A ? B : C) - D into A ? B - D : C - D when calculating the size of a MINUS_EXPR. From-SVN: r116964
Roger Sayle committed -
2006-09-14 Andrew Pinski <pinskia@physics.uc.edu> PR C++/29002 * init.c (build_zero_init): If we have an error mark node for the array size, return. 2006-09-14 Andrew Pinski <pinskia@physics.uc.edu> PR C++/29002 * g++.dg/init/array22.C: New test. * g++.dg/init/array23.C: New test. From-SVN: r116962
Andrew Pinski committed -
* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in one line. From-SVN: r116961
Kazu Hirata committed -
From-SVN: r116959
GCC Administrator committed
-
- 14 Sep, 2006 1 commit
-
-
2006-09-14 Benjamin Kosnik <bkoz@redhat.com> * include/bits/concurrence.h (__mutex::__mutex): Pass address of mutex to *_MUTEX_INIT_FUNCTION. From-SVN: r116954
Benjamin Kosnik committed
-