This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [00/77] Add wrapper classes for machine_modes
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Richard Sandiford <richard dot sandiford at linaro dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 3 Sep 2017 21:09:08 +0200 (CEST)
- Subject: Re: [00/77] Add wrapper classes for machine_modes
- Authentication-results: sourceware.org; auth=none
Hi Richard,
I'm afraid your patchset has broken bootstrap on i686-unknown-freebsd10.3,
in fact, it appears on FreeBSD in general (amd64-unknown-freebsd11 as well):
/scratch/tmp/gerald/GCC-HEAD/gcc/builtins.c:4913:6: error: cannot pass
object of non-POD type 'scalar_int_mode' through variadic function; call
will abort at runtime [-Wnon-pod-varargs]
ptr_mode, bot, ptr_mode);
^
/scratch/tmp/gerald/GCC-HEAD/gcc/builtins.c:4913:21: error: cannot pass
object of non-POD type 'scalar_int_mode' through variadic function; call
will abort at runtime [-Wnon-pod-varargs]
ptr_mode, bot, ptr_mode);
^
Digging into this, I believe this is due to clang 3.4.1 serving as system
compiler (which probably is why nobody else reported this so far):
c++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H
:
-o calls.o -MT calls.o -MMD -MP -MF ./.deps/calls.TPo
/scratch/tmp/gerald/GCC-HEAD/gcc/calls.c
Gerald