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
638141a6
Commit
638141a6
authored
Dec 30, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assign_temp): Fix formatting.
From-SVN: r10905
parent
4627dc07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
gcc/function.c
+8
-5
No files found.
gcc/function.c
View file @
638141a6
...
@@ -918,7 +918,7 @@ assign_stack_temp (mode, size, keep)
...
@@ -918,7 +918,7 @@ assign_stack_temp (mode, size, keep)
}
}
return
p
->
slot
;
return
p
->
slot
;
}
}
/* Assign a temporary of given TYPE.
/* Assign a temporary of given TYPE.
KEEP is as for assign_stack_temp.
KEEP is as for assign_stack_temp.
MEMORY_REQUIRED is 1 if the result must be addressable stack memory;
MEMORY_REQUIRED is 1 if the result must be addressable stack memory;
...
@@ -931,6 +931,8 @@ assign_temp (type, keep, memory_required)
...
@@ -931,6 +931,8 @@ assign_temp (type, keep, memory_required)
int
memory_required
;
int
memory_required
;
{
{
enum
machine_mode
mode
=
TYPE_MODE
(
type
);
enum
machine_mode
mode
=
TYPE_MODE
(
type
);
int
unsignedp
=
TREE_UNSIGNED
(
type
);
if
(
mode
==
BLKmode
||
memory_required
)
if
(
mode
==
BLKmode
||
memory_required
)
{
{
int
size
=
int_size_in_bytes
(
type
);
int
size
=
int_size_in_bytes
(
type
);
...
@@ -949,16 +951,17 @@ assign_temp (type, keep, memory_required)
...
@@ -949,16 +951,17 @@ assign_temp (type, keep, memory_required)
MEM_IN_STRUCT_P
(
tmp
)
=
AGGREGATE_TYPE_P
(
type
);
MEM_IN_STRUCT_P
(
tmp
)
=
AGGREGATE_TYPE_P
(
type
);
return
tmp
;
return
tmp
;
}
}
if
(
mode
==
VOIDmode
)
if
(
mode
==
VOIDmode
)
return
const0_rtx
;
return
const0_rtx
;
#ifndef PROMOTE_FOR_CALL_ONLY
#ifndef PROMOTE_FOR_CALL_ONLY
{
int
unsignedp
=
TREE_UNSIGNED
(
type
);
mode
=
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
);
mode
=
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
);
}
#endif
#endif
return
gen_reg_rtx
(
mode
);
return
gen_reg_rtx
(
mode
);
}
}
/* Combine temporary stack slots which are adjacent on the stack.
/* Combine temporary stack slots which are adjacent on the stack.
This allows for better use of already allocated stack space. This is only
This allows for better use of already allocated stack space. This is only
...
...
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