re PR tree-optimization/79345 (passing yet-uninitialized member as argument to base...
authorJakub Jelinek <jakub@redhat.com>
Thu, 2 Mar 2017 09:19:28 +0000 (10:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 2 Mar 2017 09:19:28 +0000 (10:19 +0100)
commitd5a216fa21f6c67e75a91b7063d1767cff00138b
tree9bdb7b7a6aa1ef3d390e533d7e1b59fb6cab5053
parentda403f3178095ddf49c62994874f52650e3f5a4a
re PR tree-optimization/79345 (passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized))

PR tree-optimization/79345
* gensupport.h (struct pattern_stats): Add min_scratch_opno field.
* gensupport.c (get_pattern_stats_1) <case MATCH_SCRATCH>: Update it.
(get_pattern_stats): Initialize it.
* genemit.c (gen_expand): Verify match_scratch numbers come after
match_operand/match_dup numbers.
* config/i386/i386.md (<s>mul<mode>3_highpart): Swap match_dup and
match_scratch numbers.
* config/i386/sse.md (avx2_gathersi<mode>, avx2_gatherdi<mode>):
Likewise.
* config/s390/s390.md (trunctdsd2): Likewise.

From-SVN: r245833
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/sse.md
gcc/config/s390/s390.md
gcc/genemit.c
gcc/gensupport.c
gcc/gensupport.h