On Mon, Jan 20, 2020 at 06:01:27PM -0800, Jim Wilson wrote:
> On Mon, Jan 20, 2020 at 5:44 AM Nathan Sidwell <nat...@acm.org> wrote:
> > I've pushed this to master, to address 80005
> >
> > __has_include is funky in that it is macro-like from the POV of #ifdef
> > ...
> 
> With this patch, __has_include__ no longer works.  There is a use of
> this in the RISC-V glibc port.  I see the docs only mention
> __has_include, so maybe this has always been a silent bug in the
> RISC-V glibc port?  If glibc is broken I can submit a patch.  This
> might cause trouble for other people too though.

I only see one spot where it has been added and then
2019-06-06  Florian Weimer  <fwei...@redhat.com>

        * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
        internal GCC preprocessor identifier __has_include__.
which corrected it to use __has_include.

        Jakub

Reply via email to