Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
52e04e56
Commit
52e04e56
authored
Dec 11, 2011
by
Eric Botcazou
Committed by
Eric Botcazou
Dec 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/trans.c (gigi): Initialize the linemap earlier.
From-SVN: r182199
parent
e7bb3661
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/ada/ChangeLog
+4
-0
gcc/ada/gcc-interface/trans.c
+7
-7
No files found.
gcc/ada/ChangeLog
View file @
52e04e56
2011
-
12
-
11
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
gcc
-
interface
/
trans
.
c
(
gigi
):
Initialize
the
linemap
earlier
.
2011
-
12
-
06
Dave
Korn
<
dave
.
korn
.
cygwin
@
gmail
.
com
>
2011
-
12
-
06
Dave
Korn
<
dave
.
korn
.
cygwin
@
gmail
.
com
>
*
gcc
-
interface
/
Makefile
.
in
(
LIBGNAT_TARGET_PAIRS
[
windows
targets
]):
*
gcc
-
interface
/
Makefile
.
in
(
LIBGNAT_TARGET_PAIRS
[
windows
targets
]):
...
...
gcc/ada/gcc-interface/trans.c
View file @
52e04e56
...
@@ -297,13 +297,6 @@ gigi (Node_Id gnat_root, int max_gnat_node, int number_name ATTRIBUTE_UNUSED,
...
@@ -297,13 +297,6 @@ gigi (Node_Id gnat_root, int max_gnat_node, int number_name ATTRIBUTE_UNUSED,
type_annotate_only
=
(
gigi_operating_mode
==
1
);
type_annotate_only
=
(
gigi_operating_mode
==
1
);
gcc_assert
(
Nkind
(
gnat_root
)
==
N_Compilation_Unit
);
/* Declare the name of the compilation unit as the first global
name in order to make the middle-end fully deterministic. */
t
=
create_concat_name
(
Defining_Entity
(
Unit
(
gnat_root
)),
NULL
);
first_global_object_name
=
ggc_strdup
(
IDENTIFIER_POINTER
(
t
));
for
(
i
=
0
;
i
<
number_file
;
i
++
)
for
(
i
=
0
;
i
<
number_file
;
i
++
)
{
{
/* Use the identifier table to make a permanent copy of the filename as
/* Use the identifier table to make a permanent copy of the filename as
...
@@ -328,6 +321,13 @@ gigi (Node_Id gnat_root, int max_gnat_node, int number_name ATTRIBUTE_UNUSED,
...
@@ -328,6 +321,13 @@ gigi (Node_Id gnat_root, int max_gnat_node, int number_name ATTRIBUTE_UNUSED,
linemap_add
(
line_table
,
LC_LEAVE
,
0
,
NULL
,
0
);
linemap_add
(
line_table
,
LC_LEAVE
,
0
,
NULL
,
0
);
}
}
gcc_assert
(
Nkind
(
gnat_root
)
==
N_Compilation_Unit
);
/* Declare the name of the compilation unit as the first global
name in order to make the middle-end fully deterministic. */
t
=
create_concat_name
(
Defining_Entity
(
Unit
(
gnat_root
)),
NULL
);
first_global_object_name
=
ggc_strdup
(
IDENTIFIER_POINTER
(
t
));
/* Initialize ourselves. */
/* Initialize ourselves. */
init_code_table
();
init_code_table
();
init_gnat_to_gnu
();
init_gnat_to_gnu
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment