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: committed: fix bug in generic constructs


> > Tested on i686-linux
> > Fixes some obscure bad handling of generic constructs.
> > See changelog below for more details on the constructs involved.
> 
>  Do you have a testcase for this?

Indeed, missed it:

with Ada.Numerics.Generic_Elementary_Functions;
generic package Generic_Elementary_Functions
  renames Ada.Numerics.Generic_Elementary_Functions;

$ gcc -c -gnatN generic_elementary_functions.ads

This used to ICE.

Arno


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