[svn:parrot] r38265 - trunk/config/gen/makefiles
Infinoid at svn.parrot.org
Infinoid at svn.parrot.org
Wed Apr 22 04:39:59 UTC 2009
Author: Infinoid
Date: Wed Apr 22 04:39:58 2009
New Revision: 38265
URL: https://trac.parrot.org/parrot/changeset/38265
Log:
[config] Apply patch from doughera++ in TT #571:
Enable optimizations in CFLAGS for gcc
Modified:
trunk/config/gen/makefiles/CFLAGS.in
Modified: trunk/config/gen/makefiles/CFLAGS.in
==============================================================================
--- trunk/config/gen/makefiles/CFLAGS.in Wed Apr 22 03:23:46 2009 (r38264)
+++ trunk/config/gen/makefiles/CFLAGS.in Wed Apr 22 04:39:58 2009 (r38265)
@@ -8,8 +8,14 @@
src/platform.c -{-Wcast-qual} # noisy
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_switch.c -{@optimize@} # Overwhelms some compilers.
+
+# The src/ops/core_ops*.c files are challenging to optimize.
+# gcc can usually handle it, but don't assume any other compilers can,
+# until there is specific evidence otherwise.
+#UNLESS(gccversion):src/ops/core_ops_cg.c -{@optimize@}
+#UNLESS(gccversion):src/ops/core_ops_cgp.c -{@optimize@}
+#UNLESS(gccversion):src/ops/core_ops_switch.c -{@optimize@}
+
#IF(cpuarch==amd64):src/gc/system.c -{@optimize@} # TT #405 amd64 --optimize problem
# io should be -Wunused clean
More information about the parrot-commits
mailing list