This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op.c: Don't fold constant fc() in locale
[perl5.git] / op.c
diff --git a/op.c b/op.c
index 8457869..3bdbdf6 100644 (file)
--- a/op.c
+++ b/op.c
@@ -3229,6 +3229,7 @@ S_fold_constants(pTHX_ OP *o)
     case OP_LCFIRST:
     case OP_UC:
     case OP_LC:
+    case OP_FC:
     case OP_SLT:
     case OP_SGT:
     case OP_SLE: