1. 24 Feb, 2015 13 commits
    • Add entrypoint attribute for the use of nvptx. · d7823208
      	* omp-low.c (create_omp_child_function): Tag entrypoint
      	functions with a special attribute.
      
      From-SVN: r220950
      Bernd Schmidt committed
    • PR target/65058: Drop unused variable. · f8571677
      PR target/65058
      * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Drop unused variable.
      
      From-SVN: r220947
      Michael Haubenwallner committed
    • re PR rtl-optimization/65123 (lra remat places insn which breaks data flow) · 51753c14
      2015-02-24  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/65123
      	* lra-remat.c (operand_to_remat): Check hard regs in insn
      	definition too.
      
      From-SVN: r220946
      Vladimir Makarov committed
    • v850.h (ASM_SPEC): Pass -msoft-float/-mhard-float on to the assembler. · ff544f6b
      	* config/v850/v850.h (ASM_SPEC): Pass -msoft-float/-mhard-float on
      	to the assembler.
      
      From-SVN: r220945
      Nick Clifton committed
    • [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. · 56a9f6bc
      Fixup for r219836: adjust builtin function prototypes.
      
      	PR libgomp/64625
      	gcc/
      	* omp-builtins.def (BUILT_IN_GOACC_DATA_START): Specify as
      	BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, not
      	BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR.
      	(BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_UPDATE): Specify as
      	BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR, not
      	BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR.
      	(BUILT_IN_GOACC_PARALLEL): Specify as
      	BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR, not
      	BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR.
      	* builtin-types.def
      	(BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
      	(BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
      	Remove function types.
      	(BT_FN_VOID_INT_SIZE_PTR_PTR_PTR)
      	(BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR)
      	(BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
      	New function types.
      	gcc/ada/
      	* gcc-interface/utils.c (DEF_FUNCTION_TYPE_VAR_8)
      	(DEF_FUNCTION_TYPE_VAR_12): Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      	gcc/c-family/
      	* c-common.c (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12):
      	Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      	gcc/fortran/
      	* f95-lang.c (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12):
      	Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      	* types.def (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
      	(BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
      	Remove function types.
      	(BT_FN_VOID_INT_SIZE_PTR_PTR_PTR)
      	(BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR)
      	(BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
      	New function types.
      	gcc/jit/
      	* jit-builtins.c (DEF_FUNCTION_TYPE_VAR_8)
      	(DEF_FUNCTION_TYPE_VAR_12): Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      	* jit-builtins.h (DEF_FUNCTION_TYPE_VAR_8)
      	(DEF_FUNCTION_TYPE_VAR_12): Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      	gcc/lto/
      	* lto-lang.c (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12):
      	Remove macros.
      	(DEF_FUNCTION_TYPE_VAR_7, DEF_FUNCTION_TYPE_VAR_11): New macros.
      
      From-SVN: r220944
      Thomas Schwinge committed
    • stdfix.h [...]: Include <stdfix-avrlibc.h>. · dd07a06f
      gcc/
      	* config/avr/stdfix.h [__WITH_AVRLIBC__]: Include <stdfix-avrlibc.h>.
      
      From-SVN: r220937
      Georg-Johann Lay committed
    • Minor fix · ce551f12
      From-SVN: r220936
      Eric Botcazou committed
    • re PR tree-optimization/65170 (curve25519-donna-c64 miscompilation) · 09901e8a
      	PR tree-optimization/65170
      	* wide-int.cc (wi::mul_internal): For the umul_ppmm optimization,
      	if val[1] < 0, clear also val[2] and return 3.
      
      	* gcc.c-torture/execute/pr65170.c: New test.
      	* gcc.dg/tree-ssa/vrp96.c: New test.
      
      From-SVN: r220931
      Jakub Jelinek committed
    • Add missing cleanup in gfortran.dg/readwrite_unf_direct_eor_1.f90 · d130cf43
      2015-02-24  Tom de Vries  <tom@codesourcery.com>
      
      	* gfortran.dg/readwrite_unf_direct_eor_1.f90: Add missing close.
      
      From-SVN: r220930
      Tom de Vries committed
    • Add additional_sources_used · 891201a1
      2015-02-24  Tom de Vries  <tom@codesourcery.com>
      
      	PR testsuite/65126
      	* lib/gcc-defs.exp (additional_sources_used): Add new var.
      	(dg-additional-files-options): Copy additional_sources to
      	additional_sources_used before emptying additional_sources.
      	* lib/gcc-dg.exp (cleanup-coverage-files, cleanup-repo-files)
      	(cleanup-stack-usage, cleanup-ada-spec, cleanup-dump)
      	(cleanup-saved-temps): Use additional_sources_used instead of
      	additional_sources.
      	(dg-test): Reset additional_sources_used.
      
      From-SVN: r220929
      Tom de Vries committed
    • Daily bump. · 781048da
      From-SVN: r220928
      GCC Administrator committed
    • fix changelog typo · d07ee5ba
      From-SVN: r220925
      Alan Modra committed
    • re PR middle-end/65182 (-Wuninitialized fails when pointer to variable later… · 2397d13c
      re PR middle-end/65182 (-Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?))
      
      	PR target/65182
      	* config/rs6000/rs6000.c (get_memref_parts): Only return true
      	when *base is a reg.  Handle nested plus addresses.  Simplify
      	pre_modify test.
      
      From-SVN: r220924
      Alan Modra committed
  2. 23 Feb, 2015 14 commits
    • xtensa: align data naturally when optimizing for size · 637ece3f
      gcc for xtensa always aligns data at least to a word boundary, even when
      it has smaller natural alignment. This results in unexpectedly high data
      section sizes and unreasonable amount of wasted space when linking
      objects compiled with -fdata-sections flag.
      
      Align data naturally when optimization for size is enabled.
      
      2015-02-22  Max Filippov  <jcmvbkbc@gmail.com>
      
      gcc/
      	* config/xtensa/xtensa.h (CONSTANT_ALIGNMENT, DATA_ALIGNMENT):
      	use natural alignment when optimizing for size.
      
      From-SVN: r220923
      Max Filippov committed
    • re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints"… · 708c7f7f
      re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt)
      
      PR target/65153
      [SH] Fix PR target/65153 with removing movsicc_true+3 peephole2.
      
      From-SVN: r220922
      Kaz Kojima committed
    • re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too… · 025e5647
      re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too large for 64-bit type 'long int')
      
      gcc/
      	PR fortran/63427
      	* wide-int.cc (wi::from_mpz): Cope with unwrapped values that are
      	too big for a wide_int.  Implement missing wrapping operation.
      
      gcc/testsuite/
      	PR fortran/63427
      	* gfortran.dg/integer_exponentiation_6.F90: New test.
      
      From-SVN: r220921
      Richard Sandiford committed
    • re PR target/65109 (r220674 causes FAIL: gcc.target/powerpc/ppc64-abi-1.c execution test) · 8628d6e6
      	PR target/65109
      	* gcc.target/powerpc/ppc64-abi-1.c: Split test functions into
      	two parts.  One to save registers, the other to verify the
      	registers have the right values.  Save register state into
      	static data rather than on the stack.
      
      From-SVN: r220920
      Martin Sebor committed
    • re PR bootstrap/63888 (bootstrap failed when configured with… · 86ee2038
      re PR bootstrap/63888 (bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror)
      
      	PR bootstrap/63888
      	* asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
      	support until it is rewritten upstream.
      
      	* c-c++-common/asan/pr63888.c: New test.
      
      From-SVN: r220919
      Jakub Jelinek committed
    • re PR target/65163 ([SH] ICE in decompose at rtl.h:2007) · 2c6a427f
      gcc/
      	PR target/65163
      	* config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
      	instead of const_int 4294901760.
      
      gcc/testsuite/
      	PR target/65163
      	* gcc.c-torture/compile/pr65163.c: New.
      
      From-SVN: r220916
      Oleg Endo committed
    • [PR target/65181] nvptx libgcc: Prevent building "advanced" stuff (for example, gcov support) · b6530d0a
      When building GCC against a proper newlib sysroot, the libgcc build will
      include more than what's built in the -Dinhibit_libc configuration used when
      building newlib as part of the GCC build process.  See the inhibit_libc logic
      in gcc/configure.ac.
      
      To avoid...
      
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Type or alignment of argument does not match formal parameter 'ptr'
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Call has wrong number of parameters
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Type or alignment of argument does not match formal parameter 'size'
          ptxas fatal   : Ptx assembly aborted due to errors
          nvptx-as: ptxas returned 255 exit status
          make[2]: *** [_gcov_indirect_call_topn_profiler.o] Error 1
      
      ..., "dumb down" the libgcc build:
      
      	libgcc/
      	PR target/65181
      	* config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
      	-Dinhibit_libc.
      
      From-SVN: r220915
      Thomas Schwinge committed
    • t-avr: Fix typo in comment. · b0eb429d
      	* config/avr/t-avr: Fix typo in comment.
      
      From-SVN: r220913
      Georg-Johann Lay committed
    • Fix number of arguments parameter in Ada DEF_FUNCTION_TYPE_*. · 5aaa7e4a
      	gcc/ada/
      	* gcc-interface/utils.c (DEF_FUNCTION_TYPE_VAR_8)
      	(DEF_FUNCTION_TYPE_VAR_12): Fix number of arguments parameter.
      
      From-SVN: r220910
      Thomas Schwinge committed
    • hoist-register-pressure-1.c: Make S/390 target check work with -m31 on 64 bit. · 3ff52d54
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.dg/hoist-register-pressure-1.c: Make S/390 target check work
      	with -m31 on 64 bit.
      	* gcc.dg/hoist-register-pressure-2.c: Likewise.
      	* gcc.dg/hoist-register-pressure-3.c: Likewise.
      
      From-SVN: r220906
      Andreas Krebbel committed
    • 20090223-1.c: Add -Wno-implicit-function-declaration option. · bdb3d161
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/20090223-1.c: Add
      	-Wno-implicit-function-declaration option.
      	* gcc.target/s390/pr42224.c: Likewise.
      	* gcc.target/s390/pr55718.c: Likewise.
      
      From-SVN: r220905
      Andreas Krebbel committed
    • hotpatch-1.c: Remove --save-temps option. · dd3b6111
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/hotpatch-1.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-10.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-11.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-12.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-13.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-14.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-15.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-16.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-17.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-18.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-19.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-2.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-20.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-3.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-4.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-5.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-6.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-7.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-8.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-9.c: Remove --save-temps option.
      	* gcc.target/s390/htm-nofloat-1.c: Cleanup --save-temps files.
      
      From-SVN: r220904
      Andreas Krebbel committed
    • hotpatch-8.c: Add -march=g5. · c1d15cd9
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/hotpatch-8.c: Add -march=g5.
      	* gcc.target/s390/hotpatch-9.c: Add -march=g5.
      	* gcc.target/s390/hotpatch-compile-1.c: Fix error message.
      	* gcc.target/s390/hotpatch-compile-10.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-11.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-12.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-13.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-14.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-2.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-3.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-4.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-5.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-6.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-7.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-8.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-9.c: Likewise.
      
      From-SVN: r220903
      Andreas Krebbel committed
    • Daily bump. · 483d42c7
      From-SVN: r220902
      GCC Administrator committed
  3. 22 Feb, 2015 7 commits
  4. 21 Feb, 2015 6 commits