https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88753

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan  8 14:45:28 2019
New Revision: 267728

URL: https://gcc.gnu.org/viewcvs?rev=267728&root=gcc&view=rev
Log:
Use proper type in linear transformation in tree-switch-conversion (PR
tree-optimization/88753).

2019-01-08  Martin Liska  <mli...@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  <mli...@suse.cz>

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

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr88753.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-switch-conversion.c

Reply via email to