This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ping] Fix error recovery issue with alias
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 Aug 2013 20:47:52 +0200
- Subject: Re: [ping] Fix error recovery issue with alias
- References: <20130818172108 dot 676293BE1E at mailhost dot lps dot ens dot fr>
> The test gnat.dg/specs/linker_alias.ads fails on x86_64-apple-darwin10:
>
> FAIL: gnat.dg/specs/linker_alias.ads (test for errors, line 5)
> FAIL: gnat.dg/specs/linker_alias.ads (test for excess errors)
>
> with
>
> <built-in>:0:0: error: only weak aliases are supported in this
> configuration gnatmake:
> "/opt/gcc/work/gcc/testsuite/gnat.dg/specs/linker_alias.ads" compilation
> error
Can you try and add
pragma Weak_External (Var);
on line 8 and see whether it passes? If so, you can commit the patchlet.
--
Eric Botcazou