aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-11Fix typo in toplevel configure.ac: PPL error message.Ralf Wildenhues3-2/+7
/: * configure.ac: Remove extra bracket. * configure: Regenerate. From-SVN: r170058
2011-02-11re PR driver/47678 (missing error message for -I)Joseph Myers5-6/+29
PR driver/47678 * gcc.c (main): Do not compile inputs if there were errors in option handling. * opts-common.c (read_cmdline_option): Check for wrong language after other error checks. testsuite: * gcc.dg/opts-6.c: New test. From-SVN: r170056
2011-02-11Revert "Fix PR c++/47172"Dodji Seketeli5-53/+3
gcc/cp/ * pt.c (finish_call_expr, dependent_type_p) (type_dependent_expression_p): Revert the previous attempt to fix PR c++/47172. gcc/testsuite/ * g++.dg/template/inherit6.C: Reverted. From-SVN: r170055
2011-02-11cgraph.c: Fix comment typos.Nathan Froyd10-59/+71
* cgraph.c: Fix comment typos. * cgraph.h: Likewise. * cgraphunit.c: Likewise. * ipa-cp.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * ipa-pure-const.c: Likewise. * ipa-ref.c: Likewise. * ipa-reference.c: Likewise. From-SVN: r170052
2011-02-11re PR debug/47684 (-fcompare-debug failure with -O3)Jakub Jelinek2-5/+4
PR debug/47684 * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. * gcc.dg/pr47684.c: New test. From-SVN: r170051
2011-02-11re PR target/47665 (ICE in trunc_int_for_mode)Jakub Jelinek4-1/+34
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: r170050
2011-02-11re PR target/47629 (gcc.target/i386/pr47312.c fails to link on Solaris 9)Rainer Orth2-1/+10
PR target/47629 * gcc.target/i386/pr47312.c: Use dg-require-effective-target c99_runtime, dg-add-options c99_runtime. (main): Use __asm__. From-SVN: r170049
2011-02-11Added forgotten ChangeLog entry.Rainer Orth1-0/+12
From-SVN: r170048
2011-02-11re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)Johannes Singler2-0/+8
2011-02-11 Johannes Singler <singler@kit.edu> PR libstdc++/47433 * include/parallel/losertree.h (_LoserTreeUnguarded<>::__delete_min_insert): Add missing "using std::swap;", as for other variants. From-SVN: r170047
2011-02-11i gcc/testsuite:Rainer Orth9-6/+40
PR testsuite/47400 * lib/target-supports.exp (check_ascii_locale_available): New proc. * lib/target-supports-dg.exp (dg-require-ascii-locale): New proc. * gcc.dg/attr-alias-5.c: Use dg-require-ascii-locale. * gcc.dg/ucnid-10.c: Likewise. * gcc.dg/ucnid-13.c: Likewise. * gcc.dg/ucnid-7.c: Likewise. * gcc.dg/ucnid-8.c: Likewise. * Adapt dg-warning line number. gcc: PR testsuite/47400 * doc/sourcebuild.texi (Require Support): Document dg-require-ascii-locale. From-SVN: r170046
2011-02-11re PR c++/47172 ([C++0x] cannot call member function without object)Dodji Seketeli5-3/+53
Fix PR c++/47172 gcc/cp/ PR c++/47172 * pt.c (finish_call_expr): Consider a call expression that has a dependent "this" pointer as being dependent. Add comments. (dependent_type_p, type_dependent_expression_p): Update comments. gcc/testsuite/ * g++.dg/template/inherit6.C: New test. From-SVN: r170045
2011-02-11Don't crash on if statement with erroneous conditional.Ian Lance Taylor1-1/+3
From-SVN: r170044
2011-02-11Don't get confused using type of erronous binary expression.Ian Lance Taylor1-0/+11
From-SVN: r170043
2011-02-11Fix missing parentheses.Mingjie Xing2-1/+5
From-SVN: r170041
2011-02-11Makefile.am (sources): Add regex.cc.Benjamin Kosnik16-0/+0
2011-02-10 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Add regex.cc. * src/Makefile.in: Regenerate. * src/regex.cc: New. * include/bits/regex_error.h (error_type): Use constexpr. (regex_error): Move ctor and dtor out of line. * testsuite/28_regex/03_requirements: To... * testsuite/28_regex/requirements: ... this. * testsuite/28_regex/04_header: To... * testsuite/28_regex/headers: ... this. * testsuite/28_regex/05_constants: To... * testsuite/28_regex/constants: ... this. * testsuite/28_regex/06_exception_type: To... * testsuite/28_regex/regex_error: ... this. * testsuite/28_regex/07_traits: To... * testsuite/28_regex/traits: ... this. * testsuite/28_regex/08_basic_regex: To... * testsuite/28_regex/basic_regex: ... this. * testsuite/28_regex/09_sub_match: To... * testsuite/28_regex/sub_match: ... this. * testsuite/28_regex/10_match_results: To... * testsuite/28_regex/match_results: ... this. * testsuite/28_regex/11_algorithms: To... * testsuite/28_regex/algorithms: ... this. * testsuite/28_regex/12_iterators: To... * testsuite/28_regex/iterators: ... this. From-SVN: r170039
2011-02-11Makefile.am (sources): Add regex.cc.Benjamin Kosnik69-26/+103
2011-02-10 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Add regex.cc. * src/Makefile.in: Regenerate. * src/regex.cc: New. * include/bits/regex_error.h (error_type): Use constexpr. (regex_error): Move ctor and dtor out of line. * testsuite/28_regex/03_requirements: To... * testsuite/28_regex/requirements: ... this. * testsuite/28_regex/04_header: To... * testsuite/28_regex/headers: ... this. * testsuite/28_regex/05_constants: To... * testsuite/28_regex/constants: ... this. * testsuite/28_regex/06_exception_type: To... * testsuite/28_regex/regex_error: ... this. * testsuite/28_regex/07_traits: To... * testsuite/28_regex/traits: ... this. * testsuite/28_regex/08_basic_regex: To... * testsuite/28_regex/basic_regex: ... this. * testsuite/28_regex/09_sub_match: To... * testsuite/28_regex/sub_match: ... this. * testsuite/28_regex/10_match_results: To... * testsuite/28_regex/match_results: ... this. * testsuite/28_regex/11_algorithms: To... * testsuite/28_regex/algorithms: ... this. * testsuite/28_regex/12_iterators: To... * testsuite/28_regex/iterators: ... this. From-SVN: r170038
2011-02-11Don't crash on invalid comparison of complex constants.Ian Lance Taylor1-1/+1
From-SVN: r170037
2011-02-11Daily bump.GCC Administrator1-1/+1
From-SVN: r170036
2011-02-10Don't crash on erroneous thunk.Ian Lance Taylor1-2/+12
From-SVN: r170031
2011-02-10libgo/configure.ac: Use AC_COMPILE_IFELSE, not AC_PREPROC_IFELSE.Ian Lance Taylor2-12/+12
From-SVN: r170030
2011-02-10Don't crash on redefined variable.Ian Lance Taylor1-1/+7
From-SVN: r170029
2011-02-10Don't crash when referring to method other than calling it.Ian Lance Taylor1-1/+2
From-SVN: r170028
2011-02-10re PR libstdc++/47662 (-fno-operator-names no longer works with STL headers)Jonathan Wakely3-1/+35
2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/47662 * include/bits/c++config: Do not use alternative token. * testsuite/17_intro/headers/c++1998/operator_names.cc: New. From-SVN: r170026
2011-02-10Determine types in global variable preinit blocks.Ian Lance Taylor1-0/+3
From-SVN: r170025
2011-02-10future.cc (future_error_category::message): Handle no_state.Jonathan Wakely2-1/+8
2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com> * src/future.cc (future_error_category::message): Handle no_state. From-SVN: r170024
2011-02-10Don't get confused when mixing different abstract types in binary expr.Ian Lance Taylor1-0/+3
From-SVN: r170023
2011-02-10m32c.c (m32c_option_override): Disable -fcombine-stack-adjustments until ↵DJ Delorie2-0/+11
flag value tracking and compare... * config/m32c/m32c.c (m32c_option_override): Disable -fcombine-stack-adjustments until flag value tracking and compare optimization can be rewritten. From-SVN: r170022
2011-02-10- Add Bugzilla PRs to ChangeLog reverting AIX long double size.David Edelsohn1-0/+2
From-SVN: r170021
2011-02-10Don't crash on field reference to erroneous struct.Ian Lance Taylor1-2/+8
From-SVN: r170020
2011-02-10Don't crash on make of slice of erroneous type.Ian Lance Taylor1-1/+3
From-SVN: r170019
2011-02-10parity-1.c: Use -march=k8.Uros Bizjak6-10/+14
* gcc.target/i386/parity-1.c: Use -march=k8. * gcc.target/i386/parity-2.c: Ditto. * gcc.target/i386/vecinit-1.c: Ditto. * gcc.target/i386/vecinit-2.c: Ditto. From-SVN: r170018
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