public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/35050]  New: renames entities not in symbol table
@ 2008-02-01 12:17 meudecc at itcarlow dot ie
  2008-02-25 23:38 ` [Bug ada/35050] " sam at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: meudecc at itcarlow dot ie @ 2008-02-01 12:17 UTC (permalink / raw)
  To: gcc-bugs

The example below illustrate that the .ali files do not always contain renamed
subprograms references:
>>>
--pb_renaming.ads
package pb_renaming is
  function Plus(X, Y: Integer) return Integer;
  function My_plus(X, Y: Integer) return Integer renames Plus;
  function Add(X, Y: Integer) return Integer renames "+";
  A : Integer;          
end pb_renaming;
>>>
--pb_renaming.adb
package body pb_renaming is
  function Plus(X, Y: Integer) return Integer is
  begin
    return X+Y; 
  end Plus;
begin
  --below, Add is properly cross-referenced by gnatxref in gnat v3.4.1 but not
in gnat v4.1.3
  --below, My_plus is never properly cross-referenced according to gnatxref
output
  A := Add(4, 6) + My_plus(4, 6);
end pb_renaming;
>>

Gnatxref output extract:
My_plus                                          function
  Decl:  pb_renaming.ads        3:12

Reference entry is missing for My_plus

regards,
chris


-- 
           Summary: renames entities not in symbol table
           Product: gcc
           Version: 4.1.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: meudecc at itcarlow dot ie


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35050


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-14  9:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01 12:17 [Bug ada/35050] New: renames entities not in symbol table meudecc at itcarlow dot ie
2008-02-25 23:38 ` [Bug ada/35050] " sam at gcc dot gnu dot org
2008-02-29 15:51 ` [Bug ada/35050] [4.x regression] " tero dot koskinen at iki dot fi
2008-02-29 15:52 ` tero dot koskinen at iki dot fi
2008-02-29 16:11 ` sam at gcc dot gnu dot org
2008-03-27 22:22 ` [Bug ada/35050] [4.1/4.2/4.3/4.4 " rguenth at gcc dot gnu dot org
2008-04-14  9:40 ` sam at gcc dot gnu dot org
2008-04-14  9:42 ` sam at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).