It should be called gcc.dg/visibility-14.c or similar and should use
dg-require-visibility and scan-hidden like the other visibility-* tests.
Nice!
The attached patch does just that. I believe this also fixes the hppa
problems. I have tested by adding a dummy output on assembly_external
and checking that I get the same results as before my first patch.
The patch also adds the testcase. It has bootstrap on linux x86-64. I
am bootstrapping it again on a newer trunk. OK if the tests are OK?
gcc/
2008-07-28 Rafael Avila de Espindola <espindola@google.com>
* final.c (call_from_call_insn): New.
(final_scan_insn): Call assemble_external on FUNCTION_DECLs.