1. 20 Oct, 2008 5 commits
  2. 19 Oct, 2008 9 commits
    • re PR c++/37004 ([C++ only] Wconversion warns for short y = 0x7fff; short z = (short) x & y;) · 98f2f3a2
      2008-10-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/37004
      cp/
      	* typeck.c (cp_common_type): New. The same as
      	type_after_usual_arithmetic_conversions but without promotions.
      	(type_after_usual_arithmetic_conversions): Do the promotions and
      	call cp_common_type.
      	(common_type): Make it behave like the C version of this
      	function. Do not handle pointer types.
      	(common_pointer_type): Move handling of pointer types from
      	common_type to here.
      	(cp_build_binary_op): Use common_pointer_type instead of
      	common_type in call to pointer_diff.
      	Use cp_common_type instead of common_type.
      	* cp-tree.h (common_pointer_type): Declare.
      testsuite/
      	* g++.dg/warn/Wconversion-pr34389.C: Remove XFAIL.
      
      From-SVN: r141233
      Manuel López-Ibáñez committed
    • re PR fortran/37834 (write(*,'(f0.0)') 0.0 prints "." instead of "0.") · f13c001e
      2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org
      
      	PR libfortran/37834
      	* io/write_float.def (output_float): Emit '0.' for special case of
      	format specifier 'f0.0' and value of zero. Likewise emit '0' for 'f1.0'.
      
      From-SVN: r141231
      Jerry DeLisle committed
    • tree-ssa-alias.c (may_alias_p): Remove bogus shortcut. · a15138a4
      2008-10-19  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.
      
      From-SVN: r141229
      Richard Guenther committed
    • 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com> · 25bbe9bc
      	* include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
      	(_Args&&...)): Add in C++0x mode.
      	(_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
      	use _M_get_Node_allocator.
      	(_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
      	in C++0x mode.
      	* testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
      	line numbers.
      	* testsuite/23_containers/map/operators/1_neg.cc: Likewise.
      
      From-SVN: r141226
      Paolo Carlini committed
    • re PR c/30260 (Enumeration types and enumeration constants erroneously given unsigned types) · a7e72022
      2008-10-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c/30260
      	* c-decl.c (finish_enum): Convert non-integer enumerators to enum
      	type.
      	(build_enumerator): Convert enumerators that fit in integer to
      	integer type.
      testsuite/
      	* gcc.dg/pr30260.c: New.
      
      From-SVN: r141224
      Manuel López-Ibáñez committed
    • Convert gcc/testsuite/ChangeLog to UTF-8. · 1344d390
      Command used:
      LC_ALL=C sed -i \
        -e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \
        -e 's/\(Av\|\xc3\xc2v\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \
        -e 's/Esp\(in\|\xc3\xc2\xadn\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \
        -e 's/Schl\(u\|\xc3\xc2\xbc\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \
        -e 's/Humi\(e\|\xe8\|\xc3\xc2\xa8\)res/Humi\xc3\xa8res/' \
        -e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \
        -e 's/G\xfctlein/G\xc3\xbctlein/' \
        -e 's/G\xe1[b]or/G\xc3\xa1bor/' \
        -e 's/L\xf3ki/L\xc3\xb3ki/' \
        -e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \
        -e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \
        -e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \
        -e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \
        -e 's/K\xfchl/K\xc3\xbchl/' \
        -e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \
        -e 's/L\xf8vset/L\xc3\xb8vset/' \
        -e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \
        -e 's/V\x81\xf5/V\xc3\xb5/' \
        -e 's/J\xf6nsson/J\xc3\xb6nsson/' \
        -e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \
        -e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \
        -e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \
        -e 's/R\xe4ty/R\xc3\xa4ty/' \
        -e 's/2003\xc2\xad-/2003-/' \
        -e 's/\xc2\xa0/ /g' \
        -e 's/ \xa0/  /g' \
        -e 's/\xa0 //' \
        gcc/testsuite/ChangeLog
      
      From-SVN: r141223
      Manuel López-Ibáñez committed
    • re PR fortran/37723 (wrong result for left-right hand side array overlap and… · 18c87fd5
      re PR fortran/37723 (wrong result for left-right hand side array overlap and (possibly) negative strides)
      
      2008-10-19  Paul Thomas  <pault@gcc.gnu.org>
      
              PR fortran/37723
              * dependency.c (gfc_dep_resolver ): If we find equal array
      	element references, go on to the next reference.
      
      2008-10-19  Paul Thomas  <pault@gcc.gnu.org>
      
              PR fortran/37723
              * gfortran.dg/dependency_22.f90: New test.
      
      From-SVN: r141221
      Paul Thomas committed
    • Daily bump. · 884f855c
      From-SVN: r141217
      GCC Administrator committed
  3. 18 Oct, 2008 7 commits
  4. 17 Oct, 2008 7 commits
  5. 16 Oct, 2008 12 commits