- 03 Mar, 2010 21 commits
-
-
sourcebuild.texi (Test directives): Document that arguments include-opts and exclude-opts are now optional for... * doc/sourcebuild.texi (Test directives): Document that arguments include-opts and exclude-opts are now optional for dg-skip-if, dg-xfail-if, dg-xfail-run-if, and dg-shouldfail. * lib/target-supports-dg.exp (check-flags): Provide defaults for include-opts and exclude-opts; skip checking the flags if arguments are the same as the defaults. (dg-xfail-if): Verify the number of arguments, supply defaults for unspecified optional arguments. (dg-skip-if, dg-xfail-run-if): Verify the number of arguments. From-SVN: r157206
Janis Johnson committed -
* g++.dg/abi/mangle19-1.C: Adjust for default -Wabi. * g++.dg/abi/mangle23.C: Likewise. * g++.dg/eh/simd-2.C: Likewise. * g++.dg/ext/attribute-test-2.C: Likewise. * g++.dg/ext/vector14.C: Likewise. * g++.dg/other/pr34435.C: Likewise. * g++.dg/template/conv8.C: Likewise. * g++.dg/template/nontype9.C: Likewise. * g++.dg/template/qualttp17.C: Likewise. * g++.dg/template/ref1.C: Likewise. * g++.old-deja/g++.pt/crash68.C: Likewise. * g++.old-deja/g++.pt/ref1.C: Likewise. * g++.old-deja/g++.pt/ref3.C: Likewise. * g++.old-deja/g++.pt/ref4.C: Likewise. From-SVN: r157205
Jason Merrill committed -
PR c++/12909 * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias. * lto-streamer-in.c (lto_input_tree): Read it. * lto-streamer-out.c (output_unreferenced_globals): Write it. From-SVN: r157204
Jason Merrill committed -
PR c++/12909 * cgraph.h (varpool_node): Add extra_name field. * varpool.c (varpool_extra_name_alias): New. (varpool_assemble_decl): Emit extra name aliases. (varpool_mark_needed_node): Look past an extra name alias. cp/ * mangle.c (mangle_decl): Handle VAR_DECL, too. From-SVN: r157203
Jason Merrill committed -
PR c++/12909 * method.c (make_alias_for): Handle VAR_DECL, too. * decl2.c (vague_linkage_p): Rename from vague_linkage_fn_p. * tree.c (no_linkage_check): Adjust. * decl.c (maybe_commonize_var): Adjust. * mangle.c (mangle_decl): Adjust. * cp-tree.h: Adjust. From-SVN: r157202
Jason Merrill committed -
PR c++/12909 * mangle.c: Include cgraph.h. (mangle_decl): If the mangled name will change in a later ABI version, make the later mangled name an alias. * method.c (make_alias_for): Copy DECL_ARGUMENTS. * Make-lang.in (mangle.o): Depend on cgraph.h. From-SVN: r157201
Jason Merrill committed -
* config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into... (sparc*-*-solaris2*): ...this. From-SVN: r157200
Eric Botcazou committed -
re PR fortran/43243 ([4.4 Regression ?] Wrong-code due to missing array temp for DT with pointer component) 2010-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/43243 * trans-array.c (gfc_conv_array_parameter): Contiguous refs to allocatable ultimate components do not need temporaries, whilst ultimate pointer components do. 2010-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/43243 * gfortran.dg/internal_pack_12.f90: New test. From-SVN: r157199
Paul Thomas committed -
2010-03-03 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/pr36997.c: Adjust error message. From-SVN: r157198
H.J. Lu committed -
builtin-unreachable.c: Don't expect stack adjustments to not be present on machines that align the... * gcc.target/i386/builtin-unreachable.c: Don't expect stack adjustments to not be present on machines that align the stack to more than 4 bytes and don't have a red zone yet as that is an unimplemented optimization. From-SVN: r157197
Mike Stump committed -
2010-03-03 Janus Weil <janus@gcc.gnu.org> PR fortran/43169 * resolve.c (resolve_code): Correctly set gfc_current_ns for EXEC_SELECT_TYPE. (gfc_impure_variable): Make it work with sub-namespaces (BLOCK etc). (gfc_pure): Ditto. 2010-03-03 Janus Weil <janus@gcc.gnu.org> PR fortran/43169 * gfortran.dg/impure_assignment_3.f90: New. From-SVN: r157196
Janus Weil committed -
2010-03-03 Paolo Carlini <paolo.carlini@oracle.com> Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify return type. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust dg-error line number. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r157193
Paolo Carlini committed -
* lto-elf.c (is_compatible_architecture): New static function. (DEFINE_VALIDATE_EHDR): Use it to validate the architecture. From-SVN: r157192
Eric Botcazou committed -
PR debug/43229 * cfgexpand.c (expand_debug_expr): Handle DOT_PROD_EXPR, WIDEN_MULT_EXPR and WIDEN_SUM_EXPR. Return NULL without ICE for vector expressions, ADDR_SPACE_CONVERT_EXPR, FIXED_CONVERT_EXPR, OBJ_TYPE_REF and WITH_SIZE_EXPR. * gfortran.dg/pr43229.f90: New test. From-SVN: r157191
Jakub Jelinek committed -
PR debug/43237 * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die, fallthrough to default handling, just with want_address 0 instead of 2. For single element lists, add_AT_loc directly, otherwise create an artificial variable DIE and stick location list to it. * gcc.dg/debug/dwarf2/pr43237.c: New test. From-SVN: r157190
Jakub Jelinek committed -
PR debug/43177 * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode. (VAL_EXPR_HAS_REVERSE): Define. (reverse_op): New function. (add_stores): For reversible operations add an extra MO_VAL_USE. * gcc.dg/guality/pr43177.c: New test. From-SVN: r157189
Jakub Jelinek committed -
PR debug/43177 * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode. (VAL_EXPR_HAS_REVERSE): Define. (reverse_op): New function. (add_stores): For reversible operations add an extra MO_VAL_USE. * gcc.dg/guality/pr43177.c: New test. From-SVN: r157188
Jakub Jelinek committed -
From-SVN: r157187
Jason Merrill committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/debug/bitset (hash): Minor tweaks. * include/debug/vector (hash): Likewise. * include/profile/bitset (hash): Likewise. * include/profile/vector (hash): Likewise. From-SVN: r157186
Paolo Carlini committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change to template. * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise. * include/bits/vector.tcc (hash): Adjust. * include/bits/basic_string.h (hash): Likewise. * include/std/bitset (hash): Likewise. * src/hash-string-aux.cc (hash): Likewise. From-SVN: r157185
Paolo Carlini committed -
From-SVN: r157184
GCC Administrator committed
-
- 02 Mar, 2010 19 commits
-
-
* config.gcc (sparc-*-linux*): Do not include sparc/gas.h. (sparc64-*-linux*): Likewise. (sparc64-*-solaris2*): Include assembler files before linker ones. (sparc-*-solaris2*): Simplify and reorder to match previous case. * config/sparc/gas.h: Delete. * config/sparc/sol2-64.h: Add copyright notice. * config/sparc/sol2-gas-bi.h: Likewise. * config/sparc/sol2-gld.h: Likewise. * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete. * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine. * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise. * config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine. (sparc_elf_asm_named_section): Rename into... (sparc_solaris_elf_asm_named_section): ...this. Always define. From-SVN: r157181
Eric Botcazou committed -
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when adopt_lock_t constructor is used. * testsuite/30_threads/lock_guard/cons/1.cc: New. From-SVN: r157180
Jonathan Wakely committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>:: operator()(const vector<bool, _Alloc>&)): Move definition... * include/bits/vector.tcc: ... here. From-SVN: r157179
Paolo Carlini committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>:: operator()(const vector<bool, _Alloc>&)): Move definition... * include/bits/vector.tcc: ... here. From-SVN: r157178
Paolo Carlini committed -
* testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0 dirs. * testsuite/Makefile.in: Regenerate. From-SVN: r157177
Rainer Orth committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add. * include/debug/vector (hash<__debug::vector<bool, _Alloc>>): Likewise. * include/profile/vector (hash<__profile::vector<bool, _Alloc>>): Likewise. * testsuite/23_containers/vector/bool/hash/1.cc: New. * include/std/bitset (hash<bitset<_Nb>>): Small tweaks. (hash<bitset<0>>): Add. * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to hash<bitset<_Nb>>. * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise. * testsuite/23_containers/bitset/hash/1.cc: Improve. From-SVN: r157176
Paolo Carlini committed -
From-SVN: r157175
Rainer Orth committed -
From-SVN: r157173
Jeff Law committed -
PR c++/41090 * g++.dg/ext/label13.C (C::C): xfail for darwin for now. From-SVN: r157172
Mike Stump committed -
* config/alpha/alpha.c (override_options): Fix -mtune error message. From-SVN: r157169
Uros Bizjak committed -
* reload1.c (rtx_p, substitute_stack): Declare. (substitute): Record addresses of changed rtxs. (gen_reload_chain_without_interm_reg_p): Don't use copy_rtx anymore. Restore the original rtx when complete. (reload): Free subsitute_stack when complete. From-SVN: r157168
Jeff Law committed -
* doc/gccint.texi (menu): Add Testsuites as a chapter. * doc/sourcebuild.texi (Testsuites): Move up a level to be a new chapter. (Test Idioms, Test Directives, Ada Tests, C Tests, libgcj Tests, LTO Testing, gcov Testing, profopt Testing, compat Testing, Torture Tests): Change from subsection to section. From-SVN: r157167
Janis Johnson committed -
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43230 * testsuite/30_threads/promise/members/set_value3.cc (tester::~tester): Remove. From-SVN: r157166
Jonathan Wakely committed -
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/std/bitset (_Base_bitset<>::_M_getdata()): Add. (hash<_GLIBCXX_STD_D::bitset<_Nb>>): Add, use the latter. * include/debug/bitset (hash<std::__debug::bitset<_Nb>>): Add. * include/profile/bitset (hash<std::__profile::bitset<_Nb>>): Likewise. * testsuite/23_containers/bitset/hash/1.cc: New. From-SVN: r157165
Paolo Carlini committed -
* var-tracking.c (vt_initialize): Scan insns in ebb chunks instead of bb. Co-Authored-By: Steven Bosscher <steven@gcc.gnu.org> From-SVN: r157164
Jakub Jelinek committed -
2010-03-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/43180 * trans-array.c (gfc_conv_array_parameter): A full array of derived type need not be restricted to a symbol without an array spec to use the call to gfc_conv_expr_descriptor. PR fortran/43173 * trans-array.c (gfc_conv_array_parameter): Contiguous refs to allocatable arrays do not need temporaries. 2010-03-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/43180 * gfortran.dg/internal_pack_10.f90: New test. PR fortran/43173 * gfortran.dg/internal_pack_11.f90: New test. From-SVN: r157163
Paul Thomas committed -
2010-03-02 Reza Yazdani <reza.yazdani@amd.com> PR middle-end/42640 * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced the assignment from the new induction variable to the assignment of the value from the original loop PHI function. * gcc.dg/tree-ssa/pr42640.c: New. From-SVN: r157161
Sebastian Pop committed -
libgcc/: PR other/42980 * Makefile.in (install): Use $(MAKE) string in rule, for parallel make. libiberty/: * Makefile.in (all): Do not use exec. From-SVN: r157159
Ralf Wildenhues committed -
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43183 * include/bits/unique_ptr.h (reset): Fix as per working paper. (operator*, operator->, operator[], operator bool, release): Use pointer's null value instead of 0. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust. * testsuite/20_util/unique_ptr/modifiers/43183.cc: New. From-SVN: r157158
Jonathan Wakely committed
-