This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ping] Fix error recovery issue with alias


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]