[PATCH] Suppress optimization on core_ops_cgp.c

0 views
Skip to first unread message

Andy Dougherty

unread,
Mar 22, 2007, 9:03:38 AM3/22/07
to Perl6 Internals
core_ops_cgp.c usually overwhelms my system. It's a combination of the
compiler and the system. It apparently doesn't cause problems elsewhere.

Alas, there appears no more narrowly-focused approach other than to turn
off optimization for everyone, so that's what this patch does. Better
would be a way for specific end-users to specify this -- either via
command line options or hints file overrides, or something.

--- parrot-current/config/gen/makefiles/CFLAGS.in 2006-08-20 19:15:20.000000000 -0400
+++ parrot-gcc/config/gen/makefiles/CFLAGS.in 2007-03-21 12:20:04.829996000 -0400
@@ -9,6 +9,7 @@
src/spf_render.c -{-Wformat-nonliteral} # noisy
src/tsq.c -{@optimize@} # never optimize tsq.c!
src/ops/core_ops_cg.c -{@optimize@} # takes too long
+src/ops/core_ops_cgp.c -{@optimize@} # takes too long
src/ops/core_ops_switch.c -{@optimize@} # Overwhelms some compilers.
src/py_func.c +{-Ipmc} # include pmc_default.h

--
Andy Dougherty doug...@lafayette.edu

Reply all
Reply to author
Forward
0 new messages