PR middle-end/92493 - ICE in get_origin_and_offset at gimple-ssa-sprintf.c
authorMartin Sebor <msebor@redhat.com>
Mon, 18 Nov 2019 22:14:16 +0000 (22:14 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 18 Nov 2019 22:14:16 +0000 (15:14 -0700)
commitde83907ada394e5be1343fac4fca5d9b5de3db4f
treeade2825fd67059238c9e1f646d2f1e5a00dc2215
parenteef99cd9567d40f72654faf6f21fdc65c63c9c3d
PR middle-end/92493 - ICE in get_origin_and_offset at gimple-ssa-sprintf.c

gcc/ChangeLog:

PR tree-optimization/92493
* gimple-ssa-sprintf.c (get_origin_and_offset): Remove spurious
assignment.

gcc/testsuite/ChangeLog:

PR tree-optimization/92493
* gcc.dg/pr92493.c: New test.

From-SVN: r278423
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr92493.c [new file with mode: 0644]