- 23 Nov, 2007 16 commits
-
-
2007-11-23 Paolo Carlini <pcarlini@suse.de> * include/std/bitset (bitset<>::all): Add, per DR 693 [Ready]. (_Base_bitset<>::_M_are_all_aux()): Add. * include/debug/bitset (bitset<>::all): Add. * testsuite/23_containers/bitset/all/1.cc: New. * docs/html/ext/howto.html: Add an entry for DR 693. * include/std/bitset (bitset<0>::set, reset, flip, test): Remove, not necessary anymore. From-SVN: r130384
Paolo Carlini committed -
2007-11-23 Tobias Burnus <burnus@net-b.de> Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/34192 * simplify.c (gfc_simplify_nearest): Fix NEAREST for subnormal numbers. 2007-11-23 Tobias Burnus <burnus@net-b.de> PR fortran/34192 * gfortran.dg/nearest_2.f90: New. Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org> From-SVN: r130383
Tobias Burnus committed -
PR c++/30293 PR c++/30294 * decl.c (cp_finish_decl): Disallow variable or field definitions if extern "Java" aggregates. (grokparms): Disallow parameters with extern "Java" aggregates. (check_function_type): Disallow function return values with extern "Java" aggregates. * init.c (build_new_1): Disallow placement new with extern "Java" aggregates. * g++.dg/ext/java-2.C: New test. From-SVN: r130382
Jakub Jelinek committed -
2007-11-23 Mark Mitchell <mark@codesourcery.com> Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/5310 cp/ * call.c (convert_like_real): Build a zero constant when __null is converted to an integer type. testsuite/ * g++.dg/warn/pr5310.C: New. * g++.dg/warn/pr33160.C: New Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r130381
Mark Mitchell committed -
reload.c (find_reloads_address_1): Call REG_OK_FOR_CONTEXT with the autoincdec code, not outer_code. * reload.c (find_reloads_address_1) <autoincdec cases>: Call REG_OK_FOR_CONTEXT with the autoincdec code, not outer_code. From-SVN: r130380
Hans-Peter Nilsson committed -
2007-11-23 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> PR tree-optimization/34176 * alloc-pool.h (empty_alloc_pool): Declare. * alloc-pool.c (empty_alloc_pool): New function. * tree-ssa-sccvn.c (vn_reference_lookup): Also lookup from the valid table if a lookup from the optimistic table failed. (vn_unary_op_lookup): Likewise. (vn_binary_op_lookup): Likewise. (vn_phi_lookup): Likewise. (process_scc): Clear optimistic tables before every iteration. * gcc.c-torture/execute/pr34176.c: New testcase. Co-Authored-By: Michael Matz <matz@suse.de> From-SVN: r130379
Richard Guenther committed -
2007-11-23 Richard Guenther <rguenther@suse.de> * tree-ssa-copy.c (may_propagate_copy): Remove redundant checks. (merge_alias_info): Do verification only if checking is enabled. Merge flow-sensitive alias information in simple cases. * tree-ssa-operands.c (get_addr_dereference_operands): Also complain about missing NMTs. * gcc.dg/tree-ssa/alias-17.c: New testcase. From-SVN: r130378
Richard Biener committed -
PR c++/34198 * c-common.c (conversion_warning): For INTEGER_TYPE to INTEGER_TYPE conversions call get_narrower on expr to avoid spurious warnings from binop shortening or when the implicit conversion can't change the value. * gcc.dg/Wconversion-5.c: New test. * g++.dg/Wconversion3.C: New test. From-SVN: r130377
Jakub Jelinek committed -
s-inmaop-posix.adb, [...]: Use 'Access instead of 'Unchecked_Access in second and third arguments of... gcc/ada/ * s-inmaop-posix.adb, s-intman-vxworks.adb, s-taprop-hpux-dce.adb, s-taprop-irix.adb, s-taprop-linux.adb, s-taprop-lynxos.adb, s-taprop-posix.adb, s-taprop-tru64.adb, s-taprop-vxworks.adb: Use 'Access instead of 'Unchecked_Access in second and third arguments of pthread_sigmask. From-SVN: r130376
Samuel Tardieu committed -
From-SVN: r130375
Samuel Tardieu committed -
2007-11-23 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_list.h (insert(iterator, value_type&&)): Just forward to emplace. * include/bits/stl_vector.h (insert(iterator, value_type&&)): Likewise. * include/bits/stl_deque.h (insert(iterator, value_type&&)): Likewise. * include/debug/list (insert(iterator, value_type&&)): Likewise. * include/debug/vector (insert(iterator, value_type&&)): Likewise. * include/debug/deque (insert(iterator, value_type&&)): Likewise. * include/bits/list.tcc (insert(iterator, value_type&&)): Remove. * include/bits/vector.tcc (insert(iterator, value_type&&)): Likewise. * include/bits/deque.tcc (insert(iterator, value_type&&)): Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r130374
Paolo Carlini committed -
* decl.c (ceil_alignment): New function. (gnat_to_gnu_entity): Use it to set the alignment on atomic types. (make_packable_type): Likewise. From-SVN: r130373
Eric Botcazou committed -
+ memset. From-SVN: r130371
Aldy Hernandez committed -
2007-11-23 Richard Guenther <rguenther@suse.de> * tree-ssa-copy.c (may_propagate_copy): Remove redundant checks. (merge_alias_info): Do verification only if checking is enabled. Merge flow-sensitive alias information in simple cases. * tree-ssa-operands.c (get_addr_dereference_operands): Also complain about missing NMTs. * gcc.dg/tree-ssa/alias-17.c: New testcase. From-SVN: r130370
Richard Guenther committed -
2007-11-23 Matthias Klose <doko@ubuntu.com> * configure.ac: Adjust makeinfo version check. * configure: Regenerate. From-SVN: r130367
Matthias Klose committed -
From-SVN: r130365
GCC Administrator committed
-
- 22 Nov, 2007 17 commits
-
-
PR c/14050 * c-decl.c (set_array_declarator_inner): Don't give error for static or type qualifiers in abstract declarator. Remove abstract_p parameter. * c-tree.h (set_array_declarator_inner): Update prototype. * c-parser.c (c_parser_direct_declarator_inner): Update call to set_array_declarator_inner. * doc/standards.texi: Update for C99 TC3. testsuite: * gcc.dg/c99-arraydecl-1.c: Don't expect errors for static or type qualifiers in abstract declarator. From-SVN: r130362
Joseph Myers committed -
From-SVN: r130361
Hans-Peter Nilsson committed -
* config/mmix/mmix.c (mmix_encode_section_info): Remove duplicate line in my edit of the last change. From-SVN: r130360
Hans-Peter Nilsson committed -
PR target/33947 * config/arm/arm.c (arm_init_tls_builtins): Set TREE_NOTHROW and TREE_READONLY on the fn decl rather than passing a chain of attributes. From-SVN: r130359
Jakub Jelinek committed -
2007-11-22 Tobias Burnus <burnus@net-b.de> * primary.c (gfc_match_structure_constructor): Allow constructor for types without components. 2007-11-22 Tobias Burnus <burnus@net-b.de> * gfortran.dg/derived_constructor_comps_3.f90: New. From-SVN: r130358
Tobias Burnus committed -
* config/sh/sh.md (divsi_inv_m3): Handle zero dividend specially. From-SVN: r130357
Kaz Kojima committed -
From-SVN: r130356
Jakub Jelinek committed -
stl_tree.h (_Rb_tree<>::_Rb_tree_impl<, true>): Remove, identical in mainline to the primary template. 2007-11-22 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree_impl<, true>): Remove, identical in mainline to the primary template. From-SVN: r130355
Paolo Carlini committed -
re PR c++/34094 (Undefined static data member in anonymous namespace can acquire a definition anyway) PR c++/34094 * decl2.c (cp_write_global_declarations): Issue error about static data members in anonymous namespace which are declared and used, but not defined. * g++.dg/ext/visibility/anon7.C: New test. From-SVN: r130351
Jakub Jelinek committed -
2007-11-22 Paolo Carlini <pcarlini@suse.de> * config/abi/pre/gnu.ver: Adjust new exports for 128-bit long double. From-SVN: r130350
Paolo Carlini committed -
i386.h (TARGET_CPU_CPP_BUILTINS): Change checking of ix86_arch and ix86_tune into a switch statement. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Change checking of ix86_arch and ix86_tune into a switch statement. (enum processor_type): Default PROCESSOR_I386 to 0. * config/i386/i386.c (ix86_decompose_address): Use TARGET_K6 instead of "ix86_tune == PROCESSOR_K6". (ia32_multipass_dfa_lookahead): Change checking of ix86_tune into a switch statement. From-SVN: r130349
Uros Bizjak committed -
2007-11-22 Johannes Singler <singler@ira.uka.de> PR libstdc++/33893 * include/parallel/multiway_merge.h: made omp_dynamic-safe * include/parallel/workstealing.h: made omp_dynamic-safe * include/parallel/base.h: infrastructure, cleanup * include/parallel/par_loop.h: made omp_dynamic-safe * include/parallel/features.h: activate loser tree variant * include/parallel/quicksort.h: made omp_dynamic-safe * include/parallel/compiletime_settings.h: settings overridable * include/parallel/equally_split.h: made omp_dynamic-safe * include/parallel/omp_loop_static.h: made omp_dynamic-safe * include/parallel/random_shuffle.h: made omp_dynamic-safe * include/parallel/balanced_quicksort.h: made omp_dynamic-safe * include/parallel/set_operations.h: made omp_dynamic-safe * include/parallel/unique_copy.h: made omp_dynamic-safe * include/parallel/multiway_mergesort.h: made omp_dynamic-safe * include/parallel/search.h: made omp_dynamic-safe * include/parallel/partition.h: made omp_dynamic-safe * include/parallel/partial_sum.h: made omp_dynamic-safe * include/parallel/find.h: made omp_dynamic-safe * include/parallel/omp_loop.h: made omp_dynamic-safe * include/parallel/losertree.h: avoid default constructor From-SVN: r130347
Johannes Singler committed -
2007-11-22 Tobias Burnus <burnus@net-b.de> PR fortran/34079 * trans-expr.c (gfc_conv_function_call): Do not append string length arguments when calling bind(c) procedures. * trans-decl.c (create_function_arglist): Do not append string length arguments when declaring bind(c) procedures. 2007-11-22 Tobias Burnus <burnus@net-b.de> PR fortran/34079 * gfortran.dg/bind_c_usage_10.f03: Remove .mod file afterwards. * gfortran.dg/bind_c_usage_13.f03: New. * gfortran.dg/bind_c_usage_14.f03: New. From-SVN: r130346
Tobias Burnus committed -
gcc/testsuite/ PR rtl-optimization/33848 * gcc.dg/torture/pr33848.c: New test. From-SVN: r130345
Richard Sandiford committed -
2007-11-22 Olivier Hainque <hainque@adacore.com> * trans.c (gnat_to_gnu) <case N_Free_Statement>: Reformat lines to fit in 80 columns. From-SVN: r130343
Olivier Hainque committed -
mmix.c (mmix_encode_section_info): Use alloca to avoid writing into string allocated by ggc_alloc_string. * config/mmix/mmix.c (mmix_encode_section_info): Use alloca to avoid writing into string allocated by ggc_alloc_string. From-SVN: r130342
Tom Tromey committed -
From-SVN: r130340
GCC Administrator committed
-
- 21 Nov, 2007 7 commits
-
-
From-SVN: r130337
Joseph Myers committed -
2007-11-21 Jonathan Wakely <jwakely.gcc@gmail.com> * docs/html/17_intro/C++STYLE: Fix typos. From-SVN: r130336
Jonathan Wakely committed -
PR target/34155 * config/sh/sh.md (binary_sf_op): Remove. (binary_sf_op0, binary_sf_op1): New define_insn_and_split. * config/sh/sh.c (sh_expand_binop_v2sf): Use gen_binary_sf_op0 and gen_binary_sf_op1. From-SVN: r130335
Kaz Kojima committed -
* regclass.c (init_reg_autoinc): Fix typo preventing test of secondary output reload when setting forbidden_inc_dec_class. From-SVN: r130333
Hans-Peter Nilsson committed -
re PR fortran/34083 (internal compiler error: in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:2819) PR fortran/34083 * resolve.c (resolve_structure_cons): Also check for zero rank. * gfortran.dg/derived_constructor_comps_2.f90: Add check. From-SVN: r130332
Francois-Xavier Coudert committed -
2007-11-20 Benjamin Kosnik <bkoz@redhat.com> * docs/html/documentation.html: Validate. Add links to index, correct broken links. * docs/html/17_intro/C++STYLE: Add bits. * docs/html/17_intro/configury.html: Correct, update. * docs/html/17_intro/api.html: Correct HTML. * include/bits/stl_algobase.h: Adjust comment. From-SVN: r130331
Benjamin Kosnik committed -
2007-11-21 Aurelien Jarno <aurelien@aurel32.net> gcc/ada/ * s-osinte-kfreebsd-gnu.ads (To_Target_Priority): New function. * Makefile.in: Add EH_MECHANISM=-gcc to kfreebsd-gnu. Remove SYMLIB. From-SVN: r130330
Aurelien Jarno committed
-