* mklibgcc.in (vis_hide): Use implementation instead of declaration
for test function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91732
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-12-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR bootstrap/18804
+ * mklibgcc.in (vis_hide): Use implementation instead of declaration
+ for test function.
+
2004-12-04 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to
# overriding that with #pragmas. The dance with @ is to prevent
# echo from seeing anything it might take for an option.
echo "vis_hide := \$(strip \$(subst @,-,\\"
- echo " \$(shell if echo 'void foo(void);' | \\"
+ echo " \$(shell if echo 'void foo(void) {}' | \\"
echo " $gcc_compile -fvisibility=hidden -Werror \\"
echo " -c -xc - -o /dev/null 2> /dev/null; \\"
echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\"