OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a58604
)
(arm_volatile_func): Add comment describing purpose.
author
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Mar 1995 17:53:10 +0000
(17:53 +0000)
committer
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Mar 1995 17:53:10 +0000
(17:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9180
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/config/arm/arm.c
patch
|
blob
|
history
diff --git
a/gcc/config/arm/arm.c
b/gcc/config/arm/arm.c
index
cff93d2
..
9995b06
100644
(file)
--- a/
gcc/config/arm/arm.c
+++ b/
gcc/config/arm/arm.c
@@
-2719,6
+2719,13
@@
output_return_instruction (operand, really_return)
return "";
}
+/* Return nonzero if optimizing and the current function is volatile
+ (ie: `noreturn').
+ Since such functions don't return call-saved registers don't need to
+ be saved. Making such an optimization may seem dubious at first glance.
+ It was put in for a particular user who was using them to do context
+ switching and obviously wanted it to be fast. */
+
int
arm_volatile_func ()
{