1. 11 Apr, 2017 10 commits
    • download_prerequisites (md5_check): New function emulates Linux 'md5 --check' on macOS. · b1c0468f
      2017-04-11  Damian Rouson  <damian@sourceryinstitute.org>
      
              * download_prerequisites (md5_check): New function emulates Linux
              'md5 --check' on macOS.  Modified script for macOS compatibility.
      
      From-SVN: r246845
      Damian Rouson committed
    • [arm] PR 80389 - if architecture and cpu mismatch, don't print an architecture name as a CPU name · 9b523c93
      In this PR we incorrectly print the architecture name in a .cpu
      directive in the assembly file when the -mcpu and -march options
      conflict (don't target the same base architecture).  In this case the
      .arch overrides the .cpu directive and we should emit a .arch option.
      
      PR target/80389
      * config/arm/arm.c (arm_configure_build_target): When -mcpu and -arch conflict,
      set target->arch_name instead of target->cpu_name.
      
      From-SVN: r246843
      Richard Earnshaw committed
    • close.c: Fix white space in pointer declarations and comment formats where applicable. · f29876bb
      2017-04-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* close.c: Fix white space in pointer declarations and comment
      	formats where applicable.
      	* fbuf.c: Likewise.
      	* fbuf.h: Likewise.
      	* format.c: Likewise.
      	* inquire.c: Likewise.
      	* intrinsics.c: Likewise.
      	* list_read.c: Likewise.
      	* lock.c: Likewise.
      	* open.c: Likewise.
      	* read.c: Likewise.
      	* transfer.c: Likewise.
      	* unit.c: Likewise.
      	* unix.c: Likewise.
      	* unix.h: Likewise.
      	* write.c: Likewise.
      
      From-SVN: r246842
      Jerry DeLisle committed
    • re PR tree-optimization/80374 (ICE in fold_convert_loc, at fold-const.c:2384) · 276ebde7
      2017-04-11  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/80374
      	* tree-ssa-dom.c (derive_equivalences_from_bit_ior): Use
      	build_zero_cst, remove fold_convertible_p check again.
      
      From-SVN: r246840
      Richard Biener committed
    • Do not instrument register variables in object-size sanitizer (PR sanitizer/70878). · 9f679370
      2017-04-11  Martin Liska  <mliska@suse.cz>
      
      	PR sanitizer/70878
      	* ubsan.c (instrument_object_size): Do not instrument register
      	variables.
      2017-04-11  Martin Liska  <mliska@suse.cz>
      
      	PR sanitizer/70878
      	* gcc.dg/ubsan/pr70878.c: New test.
      
      From-SVN: r246837
      Martin Liska committed
    • re PR target/80381 (AVX512: -O3, _mm512_srai_epi32, the last argument must be an 8-bit immediate) · cb278caa
      	PR target/80381
      	* config/i386/i386-builtin-types.def
      	(V16HI_FTYPE_V16HI_INT_V16HI_UHI_COUNT,
      	V16HI_FTYPE_V16HI_V8HI_V16HI_UHI_COUNT,
      	V16SI_FTYPE_V16SI_INT_V16SI_UHI_COUNT,
      	V16SI_FTYPE_V16SI_V4SI_V16SI_UHI_COUNT,
      	V2DI_FTYPE_V2DI_INT_V2DI_UQI_COUNT,
      	V2DI_FTYPE_V2DI_V2DI_V2DI_UQI_COUNT,
      	V32HI_FTYPE_V32HI_INT_V32HI_USI_COUNT,
      	V32HI_FTYPE_V32HI_V8HI_V32HI_USI_COUNT,
      	V4DI_FTYPE_V4DI_INT_V4DI_UQI_COUNT,
      	V4DI_FTYPE_V4DI_V2DI_V4DI_UQI_COUNT,
      	V4SI_FTYPE_V4SI_INT_V4SI_UQI_COUNT,
      	V4SI_FTYPE_V4SI_V4SI_V4SI_UQI_COUNT,
      	V8DI_FTYPE_V8DI_INT_V8DI_UQI_COUNT,
      	V8DI_FTYPE_V8DI_V2DI_V8DI_UQI_COUNT,
      	V8HI_FTYPE_V8HI_INT_V8HI_UQI_COUNT,
      	V8HI_FTYPE_V8HI_V8HI_V8HI_UQI_COUNT,
      	V8SI_FTYPE_V8SI_INT_V8SI_UQI_COUNT,
      	V8SI_FTYPE_V8SI_V4SI_V8SI_UQI_COUNT): New function type aliases.
      	* config/i386/i386-builtin.def (__builtin_ia32_pslld512_mask,
      	__builtin_ia32_pslldi512_mask, __builtin_ia32_psllq512_mask,
      	__builtin_ia32_psllqi512_mask, __builtin_ia32_psrad512_mask,
      	__builtin_ia32_psradi512_mask, __builtin_ia32_psraq512_mask,
      	__builtin_ia32_psraqi512_mask, __builtin_ia32_psrld512_mask,
      	__builtin_ia32_psrldi512_mask, __builtin_ia32_psrlq512_mask,
      	__builtin_ia32_psrlqi512_mask, __builtin_ia32_psllwi128_mask,
      	__builtin_ia32_pslldi128_mask, __builtin_ia32_psllqi128_mask,
      	__builtin_ia32_psllw128_mask, __builtin_ia32_pslld128_mask,
      	__builtin_ia32_psllq128_mask, __builtin_ia32_psllwi256_mask,
      	__builtin_ia32_psllw256_mask, __builtin_ia32_pslldi256_mask,
      	__builtin_ia32_pslld256_mask, __builtin_ia32_psllqi256_mask,
      	__builtin_ia32_psllq256_mask, __builtin_ia32_psradi128_mask,
      	__builtin_ia32_psrad128_mask, __builtin_ia32_psradi256_mask,
      	__builtin_ia32_psrad256_mask, __builtin_ia32_psraqi128_mask,
      	__builtin_ia32_psraq128_mask, __builtin_ia32_psraqi256_mask,
      	__builtin_ia32_psraq256_mask, __builtin_ia32_psrldi128_mask,
      	__builtin_ia32_psrld128_mask, __builtin_ia32_psrldi256_mask,
      	__builtin_ia32_psrld256_mask, __builtin_ia32_psrlqi128_mask,
      	__builtin_ia32_psrlq128_mask, __builtin_ia32_psrlqi256_mask,
      	__builtin_ia32_psrlq256_mask, __builtin_ia32_psrawi256_mask,
      	__builtin_ia32_psraw256_mask, __builtin_ia32_psrawi128_mask,
      	__builtin_ia32_psraw128_mask, __builtin_ia32_psrlwi256_mask,
      	__builtin_ia32_psrlw256_mask, __builtin_ia32_psrlwi128_mask,
      	__builtin_ia32_psrlw128_mask, __builtin_ia32_psllwi512_mask,
      	__builtin_ia32_psllw512_mask, __builtin_ia32_psrawi512_mask,
      	__builtin_ia32_psraw512_mask, __builtin_ia32_psrlwi512_mask,
      	__builtin_ia32_psrlw512_mask): Use _COUNT suffixed function type
      	aliases.
      	* config/i386/i386.c (ix86_expand_args_builtin): Rename last_arg_count
      	flag to second_arg_count, handle 4 argument function type _COUNT
      	aliases, handle second_arg_count on second argument rather than last.
      
      	* gcc.target/i386/pr80381.c: New test.
      
      From-SVN: r246835
      Jakub Jelinek committed
    • re PR c++/80363 (#'vec_cond_expr' not supported by dump_expr#<expression error>) · 82665822
      	PR c++/80363
      	* error.c (dump_expr): Handle VEC_COND_EXPR like COND_EXPR.
      
      	* g++.dg/ext/pr80363.C: New test.
      
      From-SVN: r246834
      Jakub Jelinek committed
    • Fix pr80374 testcase · fc647d44
      From-SVN: r246832
      Markus Trippelsdorf committed
    • Fix bogus builtin-sprintf-warn-{3,10}.c failures for avr. · abde687a
      This patch fixes a whole bunch of failures reported for
      gcc.dg/tree-ssa/builtin-sprintf-warn-{3,10}.c for the avr target.
      
      builtin-sprintf-warn-10.c fails because the bounds in the warning
      messages expect 4 digit wide exponents i.e. __DBL_MAX_EXP__ > 999.
      For the avr, floats and doubles are both 32 bits wide, __DBL_MAX_EXP__
      == 128, and the max number of exponent digits can only be 3 .
      The computed size thus ends up one short of the value the test
      expects. The patch makes the test run only for targets with double64plus.
      
      builtin-sprintf-warn-3.c fails because the test appears to assume all
      non lp64 targets to be ilp32. For the avr, pointer size and int size
      are equal, but both are 16 bits, not 32. The patch fixes this by
      explicitly adding avr to the dejagnu selector.
      
      gcc/testsuite
      
      2017-04-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
      
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-10.c: Require double64plus.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-3.c (void test_too_large): 
      	Add avr-*-* to non-lp64 selector.
      
      From-SVN: r246831
      Senthil Kumar Selvaraj committed
    • Daily bump. · b75179f3
      From-SVN: r246830
      GCC Administrator committed
  2. 10 Apr, 2017 26 commits
  3. 09 Apr, 2017 3 commits
  4. 08 Apr, 2017 1 commit