This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19bb245
)
op.c: S_fold_constants_eval can't be inlined
author
Karl Williamson
<khw@cpan.org>
Tue, 10 Mar 2020 04:27:34 +0000
(22:27 -0600)
committer
Karl Williamson
<khw@cpan.org>
Wed, 11 Mar 2020 23:02:46 +0000
(17:02 -0600)
Because it uses setjmp, is what g++ says
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
95670a3
..
a3ad215
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-5906,9
+5906,10
@@
S_op_integerize(pTHX_ OP *o)
}
/* This function exists solely to provide a scope to limit
- setjmp/longjmp() messing with auto variables.
+ setjmp/longjmp() messing with auto variables. It cannot be inlined because
+ it uses setjmp
*/
-
PERL_STATIC_INLINE
int
+
STATIC
int
S_fold_constants_eval(pTHX) {
int ret = 0;
dJMPENV;