- 20 Oct, 2008 5 commits
-
-
2008-10-20 Sebastian Pop <sebastian.pop@amd.com> * MAINTAINERS (Graphite Reviewers): Added Daniel Berlin and Sebastian Pop. From-SVN: r141246
Sebastian Pop committed -
2008-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> PR 12603 * gcc.dg/pr12603.c: New testcase. From-SVN: r141244
Manuel López-Ibáñez committed -
* include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<> (_Args&&...)): Add in C++0x mode. * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node, _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in C++0x mode. * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use Node_allocator for improved accuracy. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multimap.cc: Adjust. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-map.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multiset.cc: Adjust. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-set.cc: Likewise. From-SVN: r141242
Paolo Carlini committed -
From-SVN: r141240
Tobias Schlüter committed -
From-SVN: r141236
GCC Administrator committed
-
- 19 Oct, 2008 9 commits
-
-
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 -
From-SVN: r141232
Tobias Schlüter committed -
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 -
2008-10-19 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (may_alias_p): Remove bogus shortcut. From-SVN: r141229
Richard Guenther committed -
* 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 -
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 -
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 (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 -
From-SVN: r141217
GCC Administrator committed
-
- 18 Oct, 2008 7 commits
-
-
2008-10-18 Douglas Gregor <doug.gregor@gmail.com> * include/bits/stl_pair.h (__may_be_null_pointer_init): New. (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor. Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues. Remove the old variadic constructor, and instead provide several variadic constructors that avoid failing when attempting to initialize a pointer from a null pointer constant. * testsuite/20_util/pair/moveable.cc (test3): Add new tests with initialization of pointers from the null pointer constant. From-SVN: r141214
Douglas Gregor committed -
i386.md (unnamed peephole2): Do not force memory operands of arith or logical instructions into registers... * config/i386/i386.md (unnamed peephole2): Do not force memory operands of arith or logical instructions into registers for non-TARGET_READ_MODIFY targets. (ffs_cmove): Change operand 0 predicate to register_operand. Change operand 1 predicate to nonimmediate_operand. (ffsdi2): Ditto. (*ffs_no_cmove): Change operand 0 predicate to register_operand. From-SVN: r141213
Uros Bizjak committed -
tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Guard VIEW_CONVERT_EXPR case against invalid gimple. 2008-10-18 Richard Guenther <rguenther@suse.de> * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Guard VIEW_CONVERT_EXPR case against invalid gimple. From-SVN: r141212
Richard Guenther committed -
* gcc.dg/dll-2.c: Revert revision 138893: Change "dg-message" back to "dg-warning". * gcc.dg/dll-3.c: Likewise. From-SVN: r141209
Danny Smith committed -
2008-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org PR libfortran/37863 * io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly. * io/io.h (st_parameter_44): Fix id type declaration. From-SVN: r141208
Jerry DeLisle committed -
2008-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org PR libfortran/37707 * io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly. * io/io.h (st_parameter_44): Fix id type declaration. From-SVN: r141207
Jerry DeLisle committed -
From-SVN: r141205
GCC Administrator committed
-
- 17 Oct, 2008 7 commits
-
-
* gcc-interface/trans.c (gnat_to_gnu) <N_Slice>: Simplify expansion to use only a single check instead of three, and avoid unnecessary COMPOUND_EXPR. (emit_check): Avoid useless COMPOUND_EXPRs and SAVE_EXPRs, sometimes creating more opportunities for optimizations. From-SVN: r141198
Geert Bosch committed -
c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. 2008-10-17 Andreas Krebbel <krebbel1@de.ibm.com> * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. From-SVN: r141193
Andreas Krebbel committed -
forward_list.tcc (forward_list<>:: _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)): Simplify. 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.tcc (forward_list<>:: _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)): Simplify. From-SVN: r141192
Paolo Carlini committed -
2008-10-17 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.h (forward_list<>:: forward_list(size_type)): Tweak, use _Base default constructor. From-SVN: r141191
Paolo Carlini committed -
2008-10-17 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.h (forward_list<>::insert_after): Minor cosmetic changes. From-SVN: r141190
Paolo Carlini committed -
2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net> * include/bits/forward_list.h: Factor list construction to dispatch routines. * include/bits/forward_list.tcc: Likewise. * testsuite/23_containers/forward_list/modifiers/2.cc: From-SVN: r141189
Edward Smith-Rowland committed -
From-SVN: r141185
GCC Administrator committed
-
- 16 Oct, 2008 12 commits
-
-
2008-10-16 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (phi_translate_set): Add constants to phi translation cache. From-SVN: r141182
Daniel Berlin committed -
2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org> * io/file_pos.c (unformatted_backspace): Normal case is GFC_CONVERT_NATIVE. * io/transfer.c (read_sf): Mark paths leading to generate_error() as unlikely. (readl_block_form): Likewise. (read_block_direct): Likewise. (write_block): Likewise. (write_buf): Likewise. (us_read): Likewise. Normal case is GFC_CONVERT_NATIVE. (next_record_w_unf): Mark paths leading to generate_error() as unlikely. From-SVN: r141179
Thomas Koenig committed -
2008-10-16 Alexander Monakov <amonakov@ispras.ru> PR target/37381 * gcc.c-torture/compile/pr37381.c: New test. From-SVN: r141177
Alexander Monakov committed -
PR c/33192 * c-typeck.c (build_unary_op): Use omit_one_operand for IMAGPART_EXPR of real argument. testsuite: * gcc.dg/imag-1.c: New test. From-SVN: r141176
Joseph Myers committed -
2008-10-16 Daniel Kraft <d@domob.eu> * resolve.c (resolve_elemental_actual): Handle calls to intrinsic subroutines correctly. 2008-10-16 Daniel Kraft <d@domob.eu> * gfortran.dg/elemental_intrinsic_1.f03: New test. From-SVN: r141175
Daniel Kraft committed -
2008-10-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.tcc (operator==): Use auto. From-SVN: r141173
Paolo Carlini committed -
PR tree-optimization/37664 * fold-const.c (fold_binary): When optimizing comparison with highest or lowest type's value, don't consider TREE_OVERFLOW. * gcc.c-torture/compile/pr37664.c: New test. From-SVN: r141171
Jakub Jelinek committed -
gcc/ PR target/35483 * Makefile.in (coverage.o): Depend on $(TM_P_H). * coverage.c: Include tm_p.h. * config/rs6000/x-aix (jc1): Override LDFLAGS. * config/rs6000/xcoff.h (ASM_GENERATE_INTERNAL_LABEL): Strip dollar signs from PREFIX. * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME instead of manual strip_name_encoding. java/ PR target/35483 * Make-lang.in (class.o): Depend on $(TM_P_H). (expr.o): Same. * class.c: Include tm_p.h. * expr.c: Include tm_p.h. From-SVN: r141170
David Edelsohn committed -
forward_list.h (_Fwd_list_base<>::_M_insert_after): Move out of line, tweak to return _Fwd_list_node_base*. 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after): Move out of line, tweak to return _Fwd_list_node_base*. (forward_list<>::insert_after(const_iterator, const _Tp&), forward_list<>::insert_after(const_iterator, _Tp&&)): Use it. * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after): Define. * include/bits/forward_list.h (forward_list<>): Consistently qualify calls of base class functions with this->. * include/bits/forward_list.tcc (forward_list<>): Likewise. * include/bits/forward_list.h: Move some functions out of line... * include/bits/forward_list.tcc: ... here. * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix. From-SVN: r141168
Paolo Carlini committed -
2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/34670 * generated/spread_r4.c: Regenerated. From-SVN: r141167
Thomas Koenig committed -
2008-10-16 Joseph Myers <joseph@codesourcery.com> Richard Guenther <rguenther@suse.de> PR middle-end/37418 * tree-ssa.c (useless_type_conversion_p_1): Do not treat volatile qualified functions or methods as relevant. * gcc.c-torture/compile/pr37418-1.c, gcc.c-torture/compile/pr37418-2.c, gcc.c-torture/compile/pr37418-3.c, gcc.c-torture/compile/pr37418-4.c: New tests. From-SVN: r141165
Richard Biener committed -
PR tree-optimization/37525 * tree.c (int_fits_type_p): Rewrite using double_int. Zero extend sizetype unsigned constants, both in the case of C and bounds. From-SVN: r141164
Jakub Jelinek committed
-