[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

emaste at freebsd dot org gcc-bugzilla@gcc.gnu.org
Tue May 19 13:05:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136

--- Comment #7 from Ed Maste <emaste at freebsd dot org> ---
With the patch in comment 5 I get the same result with FreeBSD awk and GNU awk.
The output is rather different to what the previous (sed) version of
geniterators.sh produced, but that seems intentional.

My output looks like:
---- 8< ----------------------- >8 ----
/* -*- buffer-read-only: t -*- */
/* Generated automatically by geniterators.sh from iterators.md.  */
#ifndef GCC_AARCH64_ITERATORS_H
#define GCC_AARCH64_ITERATORS_H
#define BUILTIN_GPI(T, N, MAP) \
  VAR2 (T, N, MAP, si, di)
#define BUILTIN_SHORT(T, N, MAP) \
  VAR2 (T, N, MAP, qi, hi)
#define BUILTIN_ALLI(T, N, MAP) \
  VAR4 (T, N, MAP, qi, hi, si, di)
...
---- 8< ----------------------- >8 ----



More information about the Gcc-bugs mailing list