This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128839 - in /trunk/gcc/ada: ChangeLog back_end...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 27 Sep 2007 16:28:50 -0000
- Subject: r128839 - in /trunk/gcc/ada: ChangeLog back_end...
Author: ebotcazou
Date: Thu Sep 27 16:28:50 2007
New Revision: 128839
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128839
Log:
Mapped location support
* back_end.adb (Call_Back_End): Pass information about source
files instead of units to gigi.
* gigi.h (struct File_Info_Type): New.
(gigi): Rename and change type of number_units parameter, change
type of file_info_ptr parameter.
* trans.c (number_files): New global variable.
(gigi): Rename and change type of number_units parameter, change
type of file_info_ptr parameter.
If mapped location support is enabled, create the isomorphic mapping
between source files and line maps.
(Sloc_to_locus): If mapped location support is enabled, translate
source location into mapped location.
(annotate_with_node): Rename into set_expr_location_from_node.
Call set_expr_location instead of annotate_with_locus.
(Pragma_to_gnu): Adjust for above change.
(Loop_Statement_to_gnu): Likewise.
(call_to_gnu): Likewise.
(Handled_Sequence_Of_Statements_to_gnu): Likewise.
(gnat_to_gnu): Likewise.
(add_stmt_with_node): Likewise.
(add_cleanup): Likewise.
* utils.c (gnat_init_decl_processing): Do not set input_line.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/back_end.adb
trunk/gcc/ada/gigi.h
trunk/gcc/ada/trans.c
trunk/gcc/ada/utils.c