diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-03-02 10:19:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-03-02 10:19:28 +0100 |
commit | d5a216fa21f6c67e75a91b7063d1767cff00138b (patch) | |
tree | 9bdb7b7a6aa1ef3d390e533d7e1b59fb6cab5053 /gcc/gensupport.h | |
parent | da403f3178095ddf49c62994874f52650e3f5a4a (diff) | |
download | gcc-d5a216fa21f6c67e75a91b7063d1767cff00138b.zip gcc-d5a216fa21f6c67e75a91b7063d1767cff00138b.tar.gz gcc-d5a216fa21f6c67e75a91b7063d1767cff00138b.tar.bz2 |
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
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r-- | gcc/gensupport.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h index 693166f..5db6b0f 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -199,7 +199,8 @@ struct pattern_stats /* The largest match_dup, match_op_dup or match_par_dup number found. */ int max_dup_opno; - /* The largest match_scratch number found. */ + /* The smallest and largest match_scratch number found. */ + int min_scratch_opno; int max_scratch_opno; /* The number of times match_dup, match_op_dup or match_par_dup appears |