godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE.
authorIan Lance Taylor <iant@google.com>
Wed, 4 Jan 2017 00:58:34 +0000 (00:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 4 Jan 2017 00:58:34 +0000 (00:58 +0000)
commite4d02f5277072c691de079b3b8aa9b862e070a9e
tree65d8ececca5939b302ec9388044e162352a58d89
parente7b0a53c68561db594a084bb4725c09721789bcd
godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE.

gcc/:
* godump.c (go_format_type): Treat ENUMERAL_TYPE like
INTEGER_TYPE.
gcc/testsuite/:
* gcc.misc-tests/godump-1.c: Update for accurate representation of
enums.

From-SVN: r244041
gcc/ChangeLog
gcc/godump.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/godump-1.c