diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-09-02 20:52:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-09-02 20:52:42 +0000 |
commit | db3015e9e3b5bd8bae0cf6c629f4f8333a01f855 (patch) | |
tree | 18599c3d079da6234590aae68822f2d9aff90c8f /gcc/tree-parloops.c | |
parent | ce8bdcefc527fdf027c4d65454357d6cf9b73905 (diff) | |
download | gcc-db3015e9e3b5bd8bae0cf6c629f4f8333a01f855.zip gcc-db3015e9e3b5bd8bae0cf6c629f4f8333a01f855.tar.gz gcc-db3015e9e3b5bd8bae0cf6c629f4f8333a01f855.tar.bz2 |
compiler: Mark erroneous constants as invalid.
When the compiler failed to evaluate a numeric constant because
because it was erroneous, there was no way for parent nodes to
discover the error and lower themselves into error nodes. This patch
now uses the NC_INVALID enumerator to mark numeric constants with a
known, reported error.
Fixes golang/go#11541.
Reviewed-on: https://go-review.googlesource.com/13904
From-SVN: r227420
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions