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
c8a23c29
Commit
c8a23c29
authored
Nov 30, 2015
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/trans.c (gigi): Fix initialization order.
From-SVN: r231068
parent
4f852a1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
gcc/ada/ChangeLog
+4
-0
gcc/ada/gcc-interface/trans.c
+10
-9
No files found.
gcc/ada/ChangeLog
View file @
c8a23c29
2015
-
11
-
30
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
gcc
-
interface
/
trans
.
c
(
gigi
):
Fix
initialization
order
.
2015
-
11
-
30
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
osint
.
adb
:
Add
use
type
clause
for
CRTL
.
size_t
.
(
C_String_Length
):
Return
CRTL
.
size_t
instead
of
Integer
.
(
To_Path_String_Access
):
Take
CRTL
.
size_t
instead
of
Integer
.
...
...
gcc/ada/gcc-interface/trans.c
View file @
c8a23c29
...
...
@@ -627,8 +627,16 @@ gigi (Node_Id gnat_root,
main_identifier_node
=
get_identifier
(
"main"
);
/* Install the builtins we might need, either internally or as
user available facilities for Intrinsic imports. */
/* If we are using the GCC exception mechanism, let GCC know. */
if
(
Back_End_Exceptions
())
gnat_init_gcc_eh
();
/* Initialize the GCC support for FP operations. */
gnat_init_gcc_fp
();
/* Install the builtins we might need, either internally or as user-available
facilities for Intrinsic imports. Note that this must be done after the
GCC exception mechanism is initialized. */
gnat_install_builtins
();
vec_safe_push
(
gnu_except_ptr_stack
,
NULL_TREE
);
...
...
@@ -641,13 +649,6 @@ gigi (Node_Id gnat_root,
targetm
.
asm_out
.
output_ident
(
TREE_STRING_POINTER
(
gnat_to_gnu
(
Ident_String
(
Main_Unit
))));
/* If we are using the GCC exception mechanism, let GCC know. */
if
(
Back_End_Exceptions
())
gnat_init_gcc_eh
();
/* Initialize the GCC support for FP operations. */
gnat_init_gcc_fp
();
/* Force -fno-strict-aliasing if the configuration pragma was seen. */
if
(
No_Strict_Aliasing_CP
)
flag_strict_aliasing
=
0
;
...
...
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