File hppa.patch of Package compat-g77

--- gcc/config/pa/pa.c	2004/07/12 14:49:07	1.1
+++ gcc/config/pa/pa.c	2004/07/12 14:53:02
@@ -8367,4 +8367,14 @@
     fputs (",DATA\n", stream);
   }
 }
+
+void
+optimization_options (level, size)
+     int level;
+     int size ATTRIBUTE_UNUSED;
+{
+  if (level > 2)
+    flag_unroll_loops = 1;
+}
+
 #include "gt-pa.h"
--- gcc/config/pa/pa.h	2004/07/12 14:49:04	1.1
+++ gcc/config/pa/pa.h	2004/07/12 14:56:58
@@ -2039,3 +2039,7 @@
 /* We need a libcall to canonicalize function pointers on TARGET_ELF32.  */
 #define CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL \
   "__canonicalize_funcptr_for_compare"
+
+/* Define this to change the optimizations performed by default.  */
+#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \
+  optimization_options ((LEVEL), (SIZE))
openSUSE Build Service is sponsored by