travis-ci says
sed: 1: "/^# 1 "<command-line>"$ ...": command a expects \ followed by text
but I fail to reproduce the error locally with GNU sed 4.2.2.
else
# mistreat the preprocessor output in the same way as gcc6 does
$COMPILER "\$@" |
- sed -e '/^# 1 "<command-line>"$/ a # 31 "<command-line>"' \\
- -e 's/^# 1 "<command-line>" 2$/# 32 "<command-line>" 2/'
+ sed -e '/^# 1 "<command-line>"\$/ a\\
+# 31 "<command-line>"' \\
+ -e 's/^# 1 "<command-line>" 2\$/# 32 "<command-line>" 2/'
fi
exit 0
EOF