aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-lang.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-08-08 20:46:19 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-08-08 20:46:19 +0000
commita7d79e5cbb77e0ee53d81db5a94ac865cbefd5bf (patch)
tree0d06d12ab1fdf231b1891912859d34cca893d895 /gcc/c/c-lang.c
parent9a7b01615990401b893880780ec3e84ef31ec9ea (diff)
downloadgcc-a7d79e5cbb77e0ee53d81db5a94ac865cbefd5bf.zip
gcc-a7d79e5cbb77e0ee53d81db5a94ac865cbefd5bf.tar.gz
gcc-a7d79e5cbb77e0ee53d81db5a94ac865cbefd5bf.tar.bz2
Fix selftest::test_lexer_string_locations_ebcdic for systems without iconv (PR bootstrap/72844)
selftest::test_lexer_string_locations_ebcdic has this clause: /* EBCDIC support requires iconv. */ if (!HAVE_ICONV) return; leading to a build failure on systems without iconv. This conditional works in libcpp due to this in libcpp/internal.h: #if HAVE_ICONV #include <iconv.h> #else #define HAVE_ICONV 0 typedef int iconv_t; /* dummy */ #endif Fix the problem by ensuring that HAVE_ICONV is always defined within gcc/input.c. gcc/ChangeLog: PR bootstrap/72844 * input.c: Ensure that HAVE_ICONV is defined. From-SVN: r239257
Diffstat (limited to 'gcc/c/c-lang.c')
0 files changed, 0 insertions, 0 deletions