1. 06 Nov, 2009 12 commits
  2. 05 Nov, 2009 17 commits
  3. 04 Nov, 2009 11 commits
    • df-scan.c (df-uses-record): Add case zero_extract of mem. · 4f2da32b
      2009-11-04  Kenneth Zadeck  <zadeck@naturalbridge.com>
      
      	* df-scan.c (df-uses-record): Add case zero_extract of mem.
      
      From-SVN: r153924
      Kenneth Zadeck committed
    • Revert untested varasm.c change · cb5f2074
      From-SVN: r153923
      Jason Merrill committed
    • fix · be998fb7
      From-SVN: r153922
      Jason Merrill committed
    • re PR c++/36912 (ICE with "-frounding-math -g") · e3503aa8
      	PR c++/36912
      	* varasm.c (initializer_constant_valid_p): A PLUS_EXPR
      	or MINUS_EXPR of REAL_TYPE is not a valid constant initializer.
      	(output_constant): Avoid crash after error.
      
      From-SVN: r153921
      Jason Merrill committed
    • re PR c++/39413 (static_assert and SFINAE) · f4ecc8fd
      	PR c++/39413
      	* search.c (lookup_base): Don't complete_type (base).
      
      From-SVN: r153920
      Jason Merrill committed
    • Fix nit · f96b1895
      From-SVN: r153919
      Eric Botcazou committed
    • re PR target/10127 (-fstack-check let's program crash) · 35a07c37
      	PR target/10127
      	PR ada/20548
      	* config/i386/i386.md (probe_stack_range): New expander.
      	(logical operation peepholes): Do not split stack checking probes.
      
      From-SVN: r153918
      Eric Botcazou committed
    • invoke.texi (-mlwp): Add documentation. · 3e901069
      2009-11-04  Harsha Jagasia  <harsha.jagasia@amd.com>
                  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
      
              * doc/invoke.texi (-mlwp): Add documentation.
              * doc/extend.texi (x86 intrinsics): Add LWP intrinsics.
              * config.gcc (i[34567]86-*-*): Include lwpintrin.h.
              (x86_64-*-*): Ditto.
              * config/i386/lwpintrin.h: New file, provide x86 compiler
              intrinisics for LWP.
              * config/i386/cpuid.h (bit_LWP): Define LWP bit.
              * config/i386/x86intrin.h: Add LWP check and lwpintrin.h.
              * config/i386/i386-c.c (ix86_target_macros_internal): Check
              ISA_FLAG for LWP. 
              * config/i386/i386.h (TARGET_LWP): New macro for LWP.
              * config/i386/i386.opt (-mlwp): New switch for LWP support.
              * config/i386/i386.c (OPTION_MASK_ISA_LWP_SET): New.
              (OPTION_MASK_ISA_LWP_UNSET): New.       
              (ix86_handle_option): Handle -mlwp.
              (isa_opts): Handle -mlwp.
              (enum pta_flags): Add PTA_LWP.
              (override_options): Add LWP support.
              (IX86_BUILTIN_LLWPCB16): New for LWP intrinsic.
              (IX86_BUILTIN_LLWPCB32): Ditto.
              (IX86_BUILTIN_LLWPCB64): Ditto.
              (IX86_BUILTIN_SLWPCB16): Ditto.
              (IX86_BUILTIN_SLWPCB32): Ditto.
              (IX86_BUILTIN_SLWPCB64): Ditto.
              (IX86_BUILTIN_LWPVAL16): Ditto.
              (IX86_BUILTIN_LWPVAL32): Ditto.
              (IX86_BUILTIN_LWPVAL64): Ditto.
              (IX86_BUILTIN_LWPINS16): Ditto.
              (IX86_BUILTIN_LWPINS32): Ditto.
              (IX86_BUILTIN_LWPINS64): Ditto.
              (enum  ix86_special_builtin_type): Add LWP intrinsic support.
              (builtin_description): Ditto.
              (ix86_init_mmx_sse_builtins): Ditto.
              (ix86_expand_special_args_builtin): Ditto.
              * config/i386/i386.md (UNSPEC_LLWP_INTRINSIC): Add new UNSPEC
              for LWP support.
              (UNSPEC_SLWP_INTRINSIC): Ditto.
              (UNSPECV_LWPVAL_INTRINSIC): Ditto.
              (UNSPECV_LWPINS_INTRINSIC): Ditto.
              (lwp_llwpcbhi1): New lwp pattern.
              (lwp_llwpcbsi1): Ditto.
              (lwp_llwpcbdi1): Ditto.
              (lwp_slwpcbhi1): Ditto.
              (lwp_slwpcbsi1): Ditto.
              (lwp_slwpcbdi1): Ditto.
              (lwp_lwpvalhi3): Ditto.
              (lwp_lwpvalsi3): Ditto.
              (lwp_lwpvaldi3): Ditto.
              (lwp_lwpinshi3): Ditto.
              (lwp_lwpinssi3): Ditto.
              (lwp_lwpinsdi3): Ditto.
      
      
      Co-Authored-By: Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
      
      From-SVN: r153917
      Harsha Jagasia committed
    • [multiple changes] · 6168891d
      2009-11-04  Tobias Burnus <burnus@gcc.gnu.org>
      	    Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41556
      	PR fortran/41937
      	* interface.c (gfc_check_operator_interface): Handle CLASS arguments.
      	* resolve.c (resolve_allocate_expr): Handle allocatable components of
      	CLASS variables.
      
      
      2009-11-04  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41556
      	PR fortran/41937
      	* gfortran.dg/class_11.f03: New test.
      
      From-SVN: r153911
      Janus Weil committed
    • correct PR number · 0bc044b8
      From-SVN: r153910
      Jason Merrill committed
    • re PR c++/15882 (Check for return type of overloaded operator new too early) · eeeca7d4
      	PR c++/15882
      	* method.c (use_thunk): Check DECL_WEAK as well as
      	DECL_ONE_ONLY.
      
      From-SVN: r153909
      Jason Merrill committed