aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-10Don't crash checking for unexported self-referential pointer field.Ian Lance Taylor1-6/+14
From-SVN: r170017
2011-02-1047628.cc: Do not test in C++0x mode.Paolo Carlini4-11/+21
2011-02-10 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do not test in C++0x mode. * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise. * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work in C++0x mode too. From-SVN: r170016
2011-02-10linux64.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER7.Peter Bergner2-2/+8
* config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER7. (PROCESSOR_DEFAULT64): Likewise. From-SVN: r170015
2011-02-10re PR target/46610 (gcc.target/mips/save-restore-?.c ICEs on IRIX 6.5: ↵Rainer Orth7-0/+18
unrecognizable insn) PR target/46610 * gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*. * gcc.target/mips/save-restore-3.c: Likewise. * gcc.target/mips/save-restore-4.c: Likewise. * gcc.target/mips/save-restore-5.c: Likewise. PR target/47683 * g++.dg/tree-prof/partition1.C: Skip on mips-sgi-irix*. * g++.dg/tree-prof/partition2.C: Likewise. From-SVN: r170012
2011-02-10inline-3.C: Use a normal function rather than misdeclare std::puts.Jason Merrill2-5/+6
* g++.dg/tree-ssa/inline-3.C: Use a normal function rather than misdeclare std::puts. From-SVN: r170011
2011-02-10vla1.C: Adjust for C++0x mode.Jason Merrill8-2/+20
* g++.dg/ext/vla1.C: Adjust for C++0x mode. * g++.dg/other/warning1.C: Likewise. * g++.old-deja/g++.bugs/900119_01.C: Likewise. * g++.old-deja/g++.gb/scope06.C: Likewise. * g++.old-deja/g++.law/cvt11.C: Likewise. * g++.old-deja/g++.law/init1.C: Likewise. * g++.dg/abi/mangle26.C: Likewise. From-SVN: r170010
2011-02-10decl.c (cp_make_fname_decl): Set DECL_THIS_STATIC at toplevel.Jason Merrill6-6/+44
* decl.c (cp_make_fname_decl): Set DECL_THIS_STATIC at toplevel. * semantics.c (finish_fname): Only return the name if we're in a function. From-SVN: r170009
2011-02-10decl.c (build_enumerator): Don't perform integral promotions on non-integral ↵Jason Merrill5-4/+28
constants. * decl.c (build_enumerator): Don't perform integral promotions on non-integral constants. From-SVN: r170008
2011-02-10* cvt.c (convert_to_void): Handle null op1.Jason Merrill4-4/+16
From-SVN: r170007
2011-02-10class.c (type_has_constexpr_default_constructor): Make sure the caller ↵Jason Merrill5-3/+34
stripped an enclosing array. * class.c (type_has_constexpr_default_constructor): Make sure the caller stripped an enclosing array. * init.c (perform_member_init): Strip arrays before calling it. From-SVN: r170006
2011-02-10re PR c++/47511 ([C++0x] ICE: unexpected ast of kind template_decl in ↵Jason Merrill7-0/+29
potential_constant_expression_1, at cp/semantics.c:7711) PR c++/47511 * semantics.c (potential_constant_expression_1): Handle TEMPLATE_DECL. From-SVN: r170005
2011-02-10predicates.md (rx_zs_comparison_operator): Revert change from 2011-02-03.Richard Henderson3-7/+19
* config/rx/predicates.md (rx_zs_comparison_operator): Revert change from 2011-02-03. * config/rx/rx.c (flags_from_code): Likewise. (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag is valid, n/pz otherwise. (rx_select_cc_mode): Return CCmode if Y is not zero. From-SVN: r170004
2011-02-10tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8.Richard Guenther2-2/+6
2011-02-10 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. From-SVN: r170003
2011-02-10re PR tree-optimization/47677 (Hang in VRP)Richard Guenther4-0/+46
2011-02-10 Richard Guenther <rguenther@suse.de> PR tree-optimization/47677 * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. * gcc.dg/torture/pr47677.c: New testcase. From-SVN: r170002
2011-02-10don't try to run Objective-C API=2 tests for Darwin < 9Iain Sandoe18-14/+35
testsuite: * objc.dg/special/load-category-1.m: Remove unused header. * objc.dg/special/load-category-1a.m: Likewise. * objc.dg/special/load-category-2.m: Likewise. * objc.dg/special/load-category-2a.m: Likewise. * objc.dg/special/load-category-3.m: Likewise. * objc.dg/special/load-category-3a.m: Likewise. * objc.dg/attributes/proto-attribute-2.m: Likewise. * objc.dg/attributes/proto-attribute-3.m: Likewise. * objc.dg/attributes/class-attribute-1.m: Likewise. * objc.dg/property/property.exp: Don't run for Darwin < 9. * obj-c++.dg/property/property.exp: Likewise. * objc.dg/attributes/method-sentinel-1.m: Update type header. * obj-c++.dg/attributes/method-sentinel-1.mm: Likewise. * obj-c++.dg/attributes/proto-attribute-2.mm: Skip for Darwin < 9. * obj-c++.dg/attributes/class-attribute-1.mm: Likewise. * obj-c++.dg/attributes/proto-attribute-3.mm: Likewise. * obj-c++.dg/template-8.mm: Likewise. From-SVN: r170001
2011-02-10re PR target/47665 (ICE in trunc_int_for_mode)Jakub Jelinek4-1/+24
PR target/47665 * combine.c (make_compound_operation): Only change shifts into multiplication for SCALAR_INT_MODE_P. * gcc.target/i386/pr47665.c: New test. From-SVN: r170000
2011-02-10re PR lto/47241 (lto not work on mingw32, reporting 'ld.exe: could not ↵Kai Tietz2-4/+25
unlink output file') 2011-02-10 Kai Tietz <kai.tietz@onevision.com> PR lto/47241 * lto.c (lto_read_section_data): Free fd_name in failure case. For mingw targets don't hash file-descriptor. (read_cgraph_and_symbols): Close current_lto_file in failure case. From-SVN: r169999
2011-02-10re PR testsuite/47622 (FAIL: gcc.dg/pr42631.c scan-rtl-dump-not web "Web ↵Jie Zhang5-18/+20
oldreg") PR testsuite/47622 Revert 2011-02-05 Jie Zhang <jie@codesourcery.com> PR debug/42631 * web.c (entry_register): Don't clobber the number of the first uninitialized reference in used[]. testsuite/ PR testsuite/47622 Revert 2011-02-05 Jie Zhang <jie@codesourcery.com> PR debug/42631 * gcc.dg/pr42631.c: Update test. * gcc.dg/pr42631-2.c: New test. From-SVN: r169997
2011-02-10status_cxx200x.xml: Update.Jonathan Wakely99-673/+664
2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/status_cxx200x.xml: Update. * doc/html/*: Regenerate. From-SVN: r169996
2011-02-10debug.xml: Improve data race docs.Jonathan Wakely2-17/+24
2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/debug.xml: Improve data race docs. From-SVN: r169995
2011-02-10Daily bump.GCC Administrator1-1/+1
From-SVN: r169994
2011-02-10re PR libstdc++/47668 (missing 'typename' in debug-mode map)Paolo Carlini5-12/+12
2011-02-09 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/47668 * include/debug/map.h (map): Remove unnecessary using-declaration. * include/debug/multimap.h (multimap): Likewise. * include/profile/map.h (map): Likewise. * include/profile/multimap.h (multimap): Likewise. From-SVN: r169990
2011-02-09re PR libstdc++/43863 (Unused recursive_init_error class defined with ↵Jonathan Wakely5-8/+46
-fno-exceptions) 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43863 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error): Move to ... * libsupc++/guard_error.cc: ... new file. * libsupc++/Makefile.am: Update. * libsupc++/Makefile.in: Regenerate. From-SVN: r169989
2011-02-09future (packaged_task::operator bool): Rename to...Jonathan Wakely12-36/+54
2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/future (packaged_task::operator bool): Rename to... (packaged_task::valid): ...this. * testsuite/30_threads/packaged_task/cons/1.cc: Adjust. * testsuite/30_threads/packaged_task/cons/2.cc: Adjust. * testsuite/30_threads/packaged_task/cons/move.cc: Adjust. * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust. * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust. * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust. * testsuite/30_threads/packaged_task/members/swap.cc: Adjust. * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove. * testsuite/30_threads/packaged_task/members/valid.cc: Add. From-SVN: r169988
2011-02-09re PR fortran/47352 ([F03] ICE with proc-pointers in generic procedures)Janus Weil4-1/+37
2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47352 * resolve.c (resolve_procedure_interface): If interface has a result variable, copy the typespec and set result pointer to self. 2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47352 * gfortran.dg/proc_decl_25.f90: New. From-SVN: r169987
2011-02-09The "main" package is not special if -fgo-prefix is used.Ian Lance Taylor3-8/+25
From-SVN: r169986
2011-02-09re PR fortran/47463 ([OOP] ICE in gfc_add_component_ref)Janus Weil4-1/+49
2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47463 * resolve.c (resolve_typebound_subroutine): Remove erroneous line. 2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47463 * gfortran.dg/typebound_assignment_2.f03: New. From-SVN: r169985
2011-02-09re PR middle-end/47664 (early inliner now needs iteration for multiple calls)Richard Guenther4-6/+20
2011-02-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/47664 * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit all edges again. * gcc.dg/tree-ssa/inline-7.c: New testcase. From-SVN: r169983
2011-02-09re PR middle-end/47646 (Revision 169918 caused many testsuite failures)Eric Botcazou3-4/+14
PR middle-end/47646 * gnat.dg/uninit_func.adb: Adjust dg directive. * obj-c++.dg/attributes/method-noreturn-1.mm: Adjust dg directives. From-SVN: r169982
2011-02-09aix61.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER7.David Edelsohn2-6/+9
* config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER7. (PROCESSOR_DEFAULT64): Same. (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. From-SVN: r169981
2011-02-09re PR fortran/47637 ([OOP] Memory leak involving INTENT(OUT) CLASS argument ↵Janus Weil4-0/+65
w/ allocatable components) 2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47637 * trans-decl.c (init_intent_out_dt): Handle CLASS arguments. 2011-02-09 Janus Weil <janus@gcc.gnu.org> PR fortran/47637 * gfortran.dg/auto_dealloc_2.f90: New. From-SVN: r169978
2011-02-09iris6.h (TARGET_C99_FUNCTIONS): Define.Rainer Orth5-4/+18
gcc: * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. gcc/testsuite: * gcc.dg/builtins-config.h: Remove __sgi handling. * lib/target-supports.exp (add_options_for_c99_runtime): Add -std=c99 for mips-sgi-irix6.5*. From-SVN: r169976
2011-02-09io.xml: Fix typo.Paolo Carlini3-2/+7
2011-02-09 Paolo Carlini <paolo.carlini@oracle.com> * doc/xml/manual/io.xml: Fix typo. * doc/html/manual/streambufs.html: Likewise. From-SVN: r169966
2011-02-09gnu.ver: Fix.Paolo Carlini2-4/+14
2011-02-09 Paolo Carlini <paolo.carlini@oracle.com> * config/abi/pre/gnu.ver: Fix. From-SVN: r169965
2011-02-09re PR middle-end/45505 (gfortran.dg/pr25923.f90)Martin Jambor4-23/+62
2011-02-09 Martin Jambor <mjambor@suse.cz> PR middle-end/45505 * tree-sra.c (struct access): New flags grp_scalar_read and grp_scalar_write. Changed description of assignment read and write flags. (dump_access): Dump new flags, reorder all of them. (sort_and_splice_var_accesses): Set the new flag accordingly, use them to detect multiple scalar reads. (analyze_access_subtree): Use the new scalar read write flags instead of the old flags. Adjusted comments. * testsuite/gfortran.dg/pr25923.f90: Remove xfails. From-SVN: r169964
2011-02-09re PR libffi/46661 (32-bit cls_pointer.c, cls_pointer_stack.c FAIL on IRIX 6.5)Rainer Orth3-2/+9
PR libffi/46661 * testsuite/libffi.call/cls_pointer.c (main): Cast void * to uintptr_t first. * testsuite/libffi.call/cls_pointer_stack.c (main): Likewise. From-SVN: r169963
2011-02-09re PR fortran/47583 (Inquire affected by previous read)Jerry DeLisle2-0/+18
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/47583 * gfortran.dg/inquire_14.f90: New test. From-SVN: r169962
2011-02-09io.c (match_io_element): Do not set dt if not inquire.Jerry DeLisle2-1/+6
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io.c (match_io_element): Do not set dt if not inquire. From-SVN: r169961
2011-02-09*: Regenerate.Benjamin Kosnik99-3556/+3654
2011-02-08 Benjamin Kosnik <bkoz@redhat.com> * doc/html/*: Regenerate. From-SVN: r169960
2011-02-08re PR target/47548 (m32c-rtems ICEt in change_address_1, at emit-rtl.c:1933)DJ Delorie2-1/+7
PR target/47548 * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim patterns. From-SVN: r169959
2011-02-09uclinux.opt: New.Joseph Myers3-0/+39
* config/m68k/uclinux.opt: New. * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. From-SVN: r169958
2011-02-09Daily bump.GCC Administrator1-1/+1
From-SVN: r169957
2011-02-08* config/cris/elf.opt (sim): New Driver option.Joseph Myers2-1/+8
From-SVN: r169953
2011-02-08* gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.Eric Botcazou2-3/+13
From-SVN: r169950
2011-02-08elf.opt: New.Joseph Myers3-0/+36
* config/xtensa/elf.opt: New. * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. From-SVN: r169949
2011-02-08re PR fortran/45290 ([F08] pointer initialization)Janus Weil4-1/+63
2011-02-08 Janus Weil <janus@gcc.gnu.org> PR fortran/45290 * expr.c (gfc_check_assign_symbol): Reject pointers as pointer initialization target. 2011-02-08 Janus Weil <janus@gcc.gnu.org> PR fortran/45290 * gfortran.dg/pointer_init_6.f90: New. From-SVN: r169948
2011-02-08elf.opt: New.Joseph Myers3-1/+37
* config/vax/elf.opt: New. * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. From-SVN: r169947
2011-02-08re PR go/47378 (ld warning linking with libgo.so: relocation bound to a ↵Ian Lance Taylor1-27/+5
symbol with STV_PROTECTED visibility) PR go/47378 Don't use protected visibility for type descriptors. From-SVN: r169946
2011-02-08fix typoJonathan Wakely1-1/+1
From-SVN: r169945
2011-02-08* config/rs6000/aix64.opt (posix, pthread): New Driver options.Joseph Myers2-1/+11
From-SVN: r169943