Skip to content
Snippets Groups Projects
  1. Aug 10, 2011
  2. Aug 09, 2011
    • Uros Bizjak's avatar
      i386.c (ix86_emit_i387_round): New function. · 2813f1b1
      Uros Bizjak authored
      	* config/i386/i386.c (ix86_emit_i387_round): New function.
      	* config/i386/i386-protos.h (ix86_emit_i387_round): Declare.
      	* config/i386/i386.md (round<mode>2): Use X87MODEF mode iterator.
      	Use ix86_emit_i387_round to expand round function for i387 math.
      	(lround<X87MODEF:mode><SWI248x:mode>2): Use X87MODEF mode iterator.
      	Use ix86_emit_i387_round to expand {l,ll}round function for i387 math.
      
      From-SVN: r177605
      2813f1b1
    • Rainer Orth's avatar
      sync.c: Move to ../libgcc. · c6412d86
      Rainer Orth authored
      	gcc:
      	* config/sync.c: Move to ../libgcc.
      	* Makefile.in (libgcc.mvars): Remove LIBGCC_SYNC,
      	LIBGCC_SYNC_CFLAGS.
      	* config/mips/t-libgcc-mips16 (LIBGCC_SYNC, LIBGCC_SYNC_CFLAGS):
      	Remove.
      
      	libgcc:
      	* sync.c: New file.
      	* config/mips/t-mips16: New file.
      	* config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
      	(mips*-*-linux*): Likewise.
      	(mips*-sde-elf*): Likewise.
      	(mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
      	mipsisa64-*-elf*, mipsisa64r2-*-elf*.
      	Add mips/t-mips16 to tmake_file.
      	(mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
      	(mips-*-elf*): Likewise.
      	(mips64-*-elf*): Likewise.
      	(mips64orion-*-elf*): Likewise.
      	(mips*-*-rtems*): Likewise.
      	(mipstx39-*-elf*): Likewise.
      	* Makefile.in: Use SYNC instead of LIBGCC_SYNC.
      	($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
      	LIBGCC_SYNC_CFLAGS.
      	Use $(srcdir) to refer to sync.c.
      	Use $<.
      	($(libgcc-sync-funcs-o)): Likewise.
      	($(libgcc-sync-size-funcs-s-o)): Likewise.
      	($(libgcc-sync-funcs-s-o)): Likewise.
      
      From-SVN: r177601
      c6412d86
    • Anatoly Sokolov's avatar
      mmix.h (REGISTER_MOVE_COST): Remove macro. · 6e9ee54c
      Anatoly Sokolov authored
      	* config/mmix/mmix.h (REGISTER_MOVE_COST): Remove macro.
      	* config/mmix/mmix-protos.h (mmix_register_move_cost): Remove.
      	* config/mmix/mmix.c (mmix_register_move_cost): Make static.
      	Change 'from' and 'to' arguments type to reg_class_t.
      	(TARGET_REGISTER_MOVE_COST): Define.
      
      From-SVN: r177600
      6e9ee54c
    • Vladimir Makarov's avatar
      re PR rtl-optimization/50026 (Revision 177575 caused many test failures) · 394b1520
      Vladimir Makarov authored
      2011-08-09  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/50026
      	Revert:
      	PR rtl-optimization/49990
      	* ira-costs.c (print_allocno_costs, print_pseudo_costs): Don't
      	ignore classes which can not change mode.
      	(find_costs_and_classes): Ditto.
      
      From-SVN: r177599
      394b1520
    • Andreas Schwab's avatar
      config.host (ia64*-*-linux*): Move ia64/t-glibc after t-libunwind. · 3cb6e5bd
      Andreas Schwab authored
      * config.host (ia64*-*-linux*): Move ia64/t-glibc after
      t-libunwind.
      
      From-SVN: r177598
      3cb6e5bd
    • Richard Guenther's avatar
      tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise information for... · 4001900f
      Richard Guenther authored
      tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise information for ranges with only negative values.
      
      2011-08-09  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise
      	information for ranges with only negative values.
      	(extract_range_from_binary_expr_1): Adjust BIT_IOR_EXPR and
      	BIT_AND_EXPR handling to handle ranges with negative values.
      
      	* gcc.dg/tree-ssa/vrp57.c: Disable CCP.
      	* gcc.dg/tree-ssa/vrp60.c: New testcase.
      	* gcc.dg/tree-ssa/vrp61.c: Likewise.
      	* gcc.dg/tree-ssa/vrp62.c: Likewise.
      
      From-SVN: r177597
      4001900f
    • Ulrich Weigand's avatar
      * gfortran.dg/scratch_1.f90: Skip on spu-*-*. · cd812873
      Ulrich Weigand authored
      From-SVN: r177595
      cd812873
    • Ulrich Weigand's avatar
      * gcc.dg/pr49948.c: Require pthread effective target. · 6052261c
      Ulrich Weigand authored
      From-SVN: r177594
      6052261c
    • Ulrich Weigand's avatar
      * gcc.dg/lto/20110201-1_0.c: Provide dummy sqrt. · b205f1f7
      Ulrich Weigand authored
      From-SVN: r177593
      b205f1f7
    • Uros Bizjak's avatar
      * ChangeLog: Fix fma entry. · bbb20f2f
      Uros Bizjak authored
      From-SVN: r177590
      bbb20f2f
    • Kirill Yukhin's avatar
      i386.c: Remove traling spaces. · 6cf9eb27
      Kirill Yukhin authored
             * config/i386/i386.c: Remove traling spaces.
             * config/i386/sse.md: Likewise.
             (*fma_fmadd_<mode>): Update.
             (*fma_fmsub_<mode>): Likewise.
             (*fma_fnmadd_<mode>): Likewise.
             (*fma_fnmsub_<mode>): Likewise.
      
      From-SVN: r177588
      6cf9eb27
    • Nick Clifton's avatar
      * config/rx/rx.md: Disable extender peepholes at -O3. · d6257cf0
      Nick Clifton authored
      From-SVN: r177585
      d6257cf0
    • Uros Bizjak's avatar
      sse-22a.c: New test. · a4894e5e
      Uros Bizjak authored
      	* gcc.target/i386/sse-22a.c: New test.
      
      From-SVN: r177584
      a4894e5e
    • Uros Bizjak's avatar
      re PR target/49781 ([x32] Unnecessary lea in x32 mode) · 3968b050
      Uros Bizjak authored
      	PR target/49781
      	* config/i386/i386.md (reload_noff_load): New.
      	(reload_noff_store): Ditto.
      	* config/i386/i386.c (ix86_secondary_reload): Use
      	CODE_FOR_reload_noff_load and CODE_FOR_reload_noff_store to handle
      	double-word moves from/to non-offsetable addresses instead of
      	generating XMM temporary.
      
      From-SVN: r177583
      3968b050
    • Anatoly Sokolov's avatar
      mmix.h (REG_OK_FOR_BASE_P, [...]): Remove. · 2292df60
      Anatoly Sokolov authored
      	* config/mmix/mmix.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove.
      
      From-SVN: r177582
      2292df60
    • Ira Rosen's avatar
      re PR tree-optimization/50014 (Assertion failed in vect_get_vec_def_for_stmt_copy) · 1684ca6b
      Ira Rosen authored
              PR tree-optimization/50014
              * tree-vect-loop.c (vectorizable_reduction): Get def type before
              calling vect_get_vec_def_for_stmt_copy ().
      
      From-SVN: r177581
      1684ca6b
    • GCC Administrator's avatar
      Daily bump. · 4869704e
      GCC Administrator authored
      From-SVN: r177579
      4869704e
  3. Aug 08, 2011
    • Vladimir Makarov's avatar
      re PR middle-end/49990 (Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran) · 40118062
      Vladimir Makarov authored
      2011-08-08  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/49990
      	* ira-costs.c (print_allocno_costs, print_pseudo_costs): Don't
      	ignore classes which can not change mode.
      	(find_costs_and_classes): Ditto.
      
      From-SVN: r177575
      40118062
    • Richard Henderson's avatar
      re PR middle-end/49990 (Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran) · 8714c21f
      Richard Henderson authored
      2011-08-08  Richard Henderson  <rth@redhat.com>
      
              PR middle-end/49990
              * config/i386/i386.c (ix86_expand_prologue): Call
              for SEH target gen_prologue_use instead of gen_blockage
              at prologue's end.
      
      From-SVN: r177573
      8714c21f
    • Martin Jambor's avatar
      re PR middle-end/49923 (__attribute__((packed)) on ARM is sometimes dropped) · 1ad663a8
      Martin Jambor authored
      2011-08-08  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/49923
      	* tree-sra.c (access_precludes_ipa_sra_p): Also check access
      	memory alignment.
      
      	* testsuite/gcc.dg/tree-ssa/pr49923.c: New test.
      
      From-SVN: r177572
      1ad663a8
    • Diego Novillo's avatar
      rebase · f0efc7aa
      Diego Novillo authored
      From-SVN: r177571
      f0efc7aa
    • H.J. Lu's avatar
      Add a testcase for PR target/49781. · b7926cf9
      H.J. Lu authored
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/49781
      	* gcc.target/i386/pr49781-1.c: New.
      
      From-SVN: r177569
      b7926cf9
    • Rainer Orth's avatar
      configure.ac (THREADS): Remove posix95. · ddaad3c8
      Rainer Orth authored
      	boehm-gc:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      	gcc:
      	* gthr-posix95.h: Remove.
      	* gthr.h [_PTHREADS95]: Remove.
      	* configure.ac (enable_threads): Remove posix95.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration, --enable-threads): Remove
      	posix95.
      
      	libgomp:
      	* config/posix95/lock.c, posix95/omp-lock.h: Remove.
      
      	libjava:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      From-SVN: r177568
      ddaad3c8
    • Jason Merrill's avatar
      re PR c++/50020 ([C++0x] internal compiler error range for in templated class) · 712c948a
      Jason Merrill authored
      	PR c++/50020
      	* semantics.c (finish_call_expr): Don't look at 'this' if we
      	had an explicit object argument.
      
      From-SVN: r177567
      712c948a
    • Uros Bizjak's avatar
      re PR target/49781 ([x32] Unnecessary lea in x32 mode) · 473b30ce
      Uros Bizjak authored
      	PR target/49781
      	* config/i386/i386.c (ix86_decompose_address): Allow zero-extended
      	SImode addresses.
      	(ix86_print_operand_address): Handle zero-extended addresses.
      	(memory_address_length): Add length of addr32 prefix for
      	zero-extended addresses.
      	(ix86_secondary_reload): Handle moves to/from double-word general
      	registers from/to zero-extended addresses.
      	* config/i386/predicates.md (lea_address_operand): Reject
      	zero-extended operands.
      
      From-SVN: r177566
      473b30ce
    • Jason Merrill's avatar
      re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short... · d7cfa314
      Jason Merrill authored
      re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing])
      
      	PR c++/50011
      	* typeck2.c (check_narrowing): Fix integer logic.
      
      From-SVN: r177565
      d7cfa314
    • H.J. Lu's avatar
      Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *) · cca2207a
      H.J. Lu authored
      gcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config.gcc (libgcc_tm_file): Add i386/value-unwind.h for
      	Linux/x86.
      
      	* system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned.
      	(ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise.
      
      	* unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New.
      	(_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Get_Unwind_Word): Likewise.
      	(_Unwind_Get_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field.
      	(_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT
      	for EXTENDED_CONTEXT_BIT.
      	(__frame_state_for): Likewise.
      	(uw_init_context_1): Likewise.
      	(_Unwind_GetGR): Updated.
      	(_Unwind_SetGR): Likewise.
      	(_Unwind_GetGRPtr): Likewise.
      	(_Unwind_SetGRPtr): Likewise.
      	(_Unwind_SetGRValue): Likewise.
      	(_Unwind_GRByValue): Likewise.
      	(uw_install_context_1): Likewise.
      
      	* doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and
      	ASSUME_EXTENDED_UNWIND_CONTEXT.
      	* doc/tm.texi: Regenerated.
      
      libgcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config/i386/value-unwind.h: New.
      
      From-SVN: r177563
      cca2207a
    • Rainer Orth's avatar
      * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). · b6ee5bef
      Rainer Orth authored
      From-SVN: r177562
      b6ee5bef
    • Rainer Orth's avatar
      New files from last commit. · 56e6b4a2
      Rainer Orth authored
      From-SVN: r177561
      56e6b4a2
    • Rainer Orth's avatar
      invoke.texi (DEC Alpha Options, -mcpu): native support isn't Linux/GNU-specific. · 46135ba7
      Rainer Orth authored
      	* doc/invoke.texi (DEC Alpha Options, -mcpu): native support isn't
      	Linux/GNU-specific.
      	(DEC Alpha Options, -mtune): Likewise.
      	(MIPS Options, -march): native is supported on IRIX.
      
      From-SVN: r177560
      46135ba7
    • Rainer Orth's avatar
      driver-sparc.c: New file. · e3b3fa45
      Rainer Orth authored
      	gcc:
      	* config/sparc/driver-sparc.c: New file.
      	* config/sparc/x-sparc: New file.
      	* config.host: Use driver-sparc.o, sparc/x-sparc on
      	sparc*-*-solaris2*.
      	* config/sparc/sparc.opt (native): New value for enum
      	processor_type.
      	* config/sparc/sparc-opts.h (PROCESSOR_NATIVE): Declare.
      	* config/sparc/sparc.c (sparc_option_override): Abort if
      	PROCESSOR_NATIVE gets here.
      	* config/sparc/sol2.h [__sparc__] (host_detect_local_cpu): Declare.
      	(EXTRA_SPEC_FUNCTIONS, MCPU_MTUNE_NATIVE_SPECS,
      	DRIVER_SELF_SPECS): Define.
      	* doc/invoke.texi (SPARC Options, -mcpu): Document native.
      	(SPARC Options, -mtune): Likewise.
      	* configure.ac (EXTRA_GCC_LIBS): Check for libkstat.
      	Substitute result.
      	* configure: Regenerate.
      	* Makefile.in (EXTRA_GCC_LIBS): Set.
      	(xgcc$(exeext)): Add $(EXTRA_GCC_LIBS).
      	(cpp$(exeext)): Likewise.
      
      	gcc/cp:
      	* Make-lang.in (g++$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/fortran:
      	* Make-lang.in (gfortran$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/go:
      	* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/java:
      	* Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      From-SVN: r177559
      e3b3fa45
    • Richard Guenther's avatar
      tree-vrp.c (extract_range_from_unary_expr_1): New function, split out from ... · ce6bfa50
      Richard Guenther authored
      2011-08-08  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (extract_range_from_unary_expr_1): New function,
      	split out from ...
      	(extract_range_from_unary_expr): ... here.  Handle BIT_NOT_EXPR
      	by composition.
      
      From-SVN: r177558
      ce6bfa50
    • Mikael Pettersson's avatar
      re PR tree-optimization/50005 (ipa-inline-analysis.c:1876:41: error:... · daae4650
      Mikael Pettersson authored
      re PR tree-optimization/50005 (ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions)
      
      2011-08-08  Mikael Pettersson  <mikpe@it.uu.se>
      
              PR tree-optimization/50005
              * ipa-inline-analysis (remap_predicate): Add cast to
              silence signed/unsigned comparison warning.
      
      From-SVN: r177557
      daae4650
    • Richard Sandiford's avatar
      modulo-sched.c (get_sched_window): Use a table for the debug output. · 3e762578
      Richard Sandiford authored
      gcc/
      	* modulo-sched.c (get_sched_window): Use a table for the debug output.
      	Print the current ii.
      	(sms_schedule_by_order): Reduce whitespace in dump line.
      
      From-SVN: r177556
      3e762578
    • Richard Sandiford's avatar
      modulo-sched.c (get_sched_window): Use just one loop for predecessors and one loop for successors. · fe43febc
      Richard Sandiford authored
      gcc/
      	* modulo-sched.c (get_sched_window): Use just one loop for predecessors
      	and one loop for successors.  Fix upper bound of memory range.
      
      From-SVN: r177555
      fe43febc
Loading