|
From: Matthew F. <fl...@ml...> - 2006-05-24 20:16:41
|
Finegrained inlining by gcc version ---------------------------------------------------------------------- U mlton/branches/on-20050822-x86_64-branch/runtime/Makefile ---------------------------------------------------------------------- Modified: mlton/branches/on-20050822-x86_64-branch/runtime/Makefile =================================================================== --- mlton/branches/on-20050822-x86_64-branch/runtime/Makefile 2006-05-25 03:03:55 UTC (rev 4592) +++ mlton/branches/on-20050822-x86_64-branch/runtime/Makefile 2006-05-25 03:16:41 UTC (rev 4593) @@ -35,9 +35,12 @@ endif ifeq ($(findstring $(GCC_VERSION), 3.3 3.4 4.0),$(GCC_VERSION)) GCOPTFLAGS += --param max-inline-insns-single=1000 +ifeq ($(findstring $(GCC_VERSION), 3.4 4.0),$(GCC_VERSION)) +GCOPTFLAGS += --param inline-unit-growth=125 +OPTWARNFLAGS += -Winline endif +endif DEBUGFLAGS += -gstabs+ -OPTWARNFLAGS += -Winline endif ifeq ($(TARGET_ARCH), amd64) |