]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use proper type in linear transformation in tree-switch-conversion (PR tree-optimizat...
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2019 14:45:28 +0000 (14:45 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2019 14:45:28 +0000 (14:45 +0000)
commitc914ddb0d259fe209117c28034d53d81f97dd702
treeb7808b55c647dd4727ac91fc6e9db04df57390e1
parent64a50f48590a46253913524f5417144e90fc72ad
Use proper type in linear transformation in tree-switch-conversion (PR tree-optimization/88753).

2019-01-08  Martin Liska  <mliska@suse.cz>

PR tree-optimization/88753
* tree-switch-conversion.c (switch_conversion::build_one_array):
Come up with local variable constructor.  Convert first to
type of constructor values.
2019-01-08  Martin Liska  <mliska@suse.cz>

PR tree-optimization/88753
* gcc.dg/tree-ssa/pr88753.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267728 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr88753.c [new file with mode: 0644]
gcc/tree-switch-conversion.c