1. 25 Oct, 2010 1 commit
  2. 24 Oct, 2010 11 commits
  3. 23 Oct, 2010 11 commits
    • gcc.c (n_switches_alloc_debug_check): New. · efe5e5a0
      	* gcc.c (n_switches_alloc_debug_check): New.
      	(set_option_handlers): New.
      	(process_command): Use set_option_handlers.
      	(do_self_spec): Pass spec-generated options through option
      	handlers.
      	(main): Also save and restore n_switches_alloc when swapping
      	switch arrays.
      
      From-SVN: r165891
      Joseph Myers committed
    • * MAINTAINERS: Update my email address. · fe12dfe1
      From-SVN: r165890
      James E. Wilson committed
    • tests for Darwin CFStrings · 505bff7a
      gcc/testsuite:
      
      	Based on the CFString implementation in FSF apple/trunk branch.
      
      	* gcc.dg/darwin-cfstring-1.c: New.
      	* gcc.dg/darwin-cfstring-2.c: New.
      	* gcc.dg/torture/darwin-cfstring-3.c: New.
      	* g++.dg/other/darwin-cfstring1.C: New.
      	* g++.dg/torture/darwin-cfstring-3.C: New.
      
      From-SVN: r165889
      Iain Sandoe committed
    • In gcc/cp/: 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com> · b8a18805
      In gcc/cp/:
      2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * tree.c (cxx_printable_name_internal): In Objective-C++, call
              objc_maybe_printable_name.
      
      In gcc/objc/:
      2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-act.c (OBJC_GEN_METHOD_LABEL): Updated comments.
              (objc_demangle): Return NULL if demangling can not be done because
              the string to demangle is not an Objective-C mangled method name.
              Be smarter in demangling method names so that at least for methods
              with no arguments we are able to almost always demangle '_' correctly.
              Updated comments.
              (objc_maybe_printable_name): New.
              (objc_printable_name): Call objc_maybe_printable_name.  If it
              returns NULL, call cxx_printable_name in Objective-C++.
      
      In gcc/testsuite/:
      2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/demangle-1.m: New test.
              * obj-c++.dg/demangle-1.mm: New test.
              * obj-c++.dg/demangle-2.mm: New test.
              * obj-c++.dg/demangle-3.mm: New test.
      
      In gcc/c-family/:
      2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-common.h (objc_maybe_printable_name): New.
              * stub-objc.c (objc_maybe_printable_name): New.
      
      From-SVN: r165887
      Nicola Pero committed
    • re PR target/46144 (gfortran.dg/vect/fast-math-vect-8.f90) · 487a9a3e
      PR target/46144
      * config/i386/sse.md (*avx_absneg<AVXMODEF2P>2): New.
      (*sse_absneg<SSEMODEF2P>2): Rename from *absneg<VEC_FLOAT_MODE>2.
      Honor matching operands when splitting to XOR.
      
      From-SVN: r165885
      Richard Henderson committed
    • tree-vrp.c (extract_range_from_binary_expr): If flag_non_call_exceptions don't… · 0e1b8b10
      tree-vrp.c (extract_range_from_binary_expr): If flag_non_call_exceptions don't eliminate division by zero.
      
      gcc/:
      	* tree-vrp.c (extract_range_from_binary_expr): If
      	flag_non_call_exceptions don't eliminate division by zero.
      	* simplify-rtx.c (simplify_binary_operation_1): Likewise.
      gcc/testsuite/:
      	* gcc.c-torture/execute/20101011-1.c: New test.
      	* gcc.c-torture/execute/20101011-1.x: New test driver.
      
      From-SVN: r165884
      Ian Lance Taylor committed
    • re PR fortran/46122 (PROTECTED check too strict) · 67f67405
      2010-10-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46122
              * expr.c (gfc_check_vardef_context): Fix PROTECTED check.
      
      2010-10-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46122
              * gfortran.dg/protected_8.f90: New.
      
      From-SVN: r165883
      Tobias Burnus committed
    • march-generic.c: Skip for -march in multilib options. · 15ac3942
      	* gcc.dg/march-generic.c: Skip for -march in multilib options.
      	* gcc.target/i386/isa-9.c: Skip for -march other than
      	-march=amdfam10 in multilib options.
      	* gcc.target/i386/pr42589.c: Skip for -march other than
      	-march=i486 in multilib options.
      	* gcc.target/i386/sse-19.c: Add -march=x86-64 option and skip for
      	other -march in multilib options.
      
      From-SVN: r165882
      Joseph Myers committed
    • cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __BYTE_ORDER__... · 18ed6ee4
      gcc/
      	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
      	__BYTE_ORDER__, __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__, and
      	__ORDER_PDP_ENDIAN__.
      	* libgcc2.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(struct DWstruct): Define based on __BYTE_ORDER__.
      	* config/fixed-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(struct INTstruct): Define based on __BYTE_ORDER__.
      	* config/dfp-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      	* system.h (LIBGCC2_WORDS_BIG_ENDIAN): Poison identifier.
      	* config/arc/arc.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/arm/arm.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/ia64/ia64.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/iq2000/iq2000.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/lm32/lm32.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/m32r/m32r.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mcore/mcore.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mep/mep.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mips/mips.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/rx/rx.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/score/score.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/sh/sh.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/sparc/sparc.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* doc/tm.texi.in (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* doc/tm.texi: Regenerate.
      	* doc/cpp.texi (__BYTE_ORDER__, __ORDER_LITTLE_ENDIAN__): Document.
      	(__ORDER_BIG_ENDIAN__, __ORDER_PDP_ENDIAN__): Likewise.
      
      libdecnumber/
      	* dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      
      libgcc/
      	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
      	Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      
      From-SVN: r165881
      Nathan Froyd committed
    • re PR rtl-optimization/37360 (ICE in haifa-sched.c when compiling __popcountsi2 from libgcc) · 646e6f41
      	PR rtl-optimization/37360
      	* config/mips/mips.c (cached_can_issue_more): New local variable.
      	(mips_sched_reorder_1): New.
      	(mips_sched_reorder): Use mips_sched_reorder_1.
      	(mips_sched_reorder2): New.
      	(mips_variable_issue): Set cached_can_issue_more.
      	(TARGET_SCHED_REORDER2): Define to mips_sched_reorder2
      	instead of mips_sched_reorder.
      
      	Revert
      	2008-09-09  Andrey Belevantsev  <abel@ispras.ru>
      	PR rtl-optimization/37360
      	* haifa-sched.c (max_issue): Do not assert that we never issue more
      	insns than issue_rate.  Add comment.
      
      	testsuite/
      	PR rtl-optimization/37360
      	* gcc.dg/pr37360.c: New test.
      
      From-SVN: r165880
      Jie Zhang committed
    • Daily bump. · 61a796b1
      From-SVN: r165879
      GCC Administrator committed
  4. 22 Oct, 2010 17 commits