aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-08-26 19:18:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-08-26 19:18:51 +0000
commit8a256400f549211c85425c896f81a4ffc3ece8ef (patch)
tree3470b98759341615e593b46dbfdecf711407f53c /gcc/passes.c
parente4f019d316695dc3bd9f509b8f3e16b5954fe231 (diff)
downloadgcc-8a256400f549211c85425c896f81a4ffc3ece8ef.zip
gcc-8a256400f549211c85425c896f81a4ffc3ece8ef.tar.gz
gcc-8a256400f549211c85425c896f81a4ffc3ece8ef.tar.bz2
compiler: Don't crash on invalid arithmetic ops.
The gofrontend would crash after hitting an unreachable state while trying to determine the type of an arithmetic expression involving non-numeric values. Instead of crashing, it should fail gracefully if the relevant error is already reported. Fixes golang/go#11537. Reviewed-on: https://go-review.googlesource.com/13793 From-SVN: r227227
Diffstat (limited to 'gcc/passes.c')
0 files changed, 0 insertions, 0 deletions