Browse Source

- disable the optimizer if compiling with 1.0, because it has a code
generator (not optimizer) bug that causes crashes in the 1.1
optimizer

Jonas Maebe 22 years ago
parent
commit
ac5eaeb144
1 changed files with 9 additions and 1 deletions
  1. 9 1
      compiler/fpcdefs.inc

+ 9 - 1
compiler/fpcdefs.inc

@@ -45,6 +45,9 @@
   {$endif}
   {$endif}
   {$define x86}
   {$define x86}
   {$define cpuextended}
   {$define cpuextended}
+  {$ifdef VER1_0}
+    {$define NOOPT}
+  {$endif VER1_0}
 {$endif i386}
 {$endif i386}
 
 
 {$ifdef x86_64}
 {$ifdef x86_64}
@@ -85,7 +88,12 @@
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.26  2003-10-31 15:51:11  peter
+  Revision 1.27  2003-11-22 13:11:10  jonas
+    - disable the optimizer if compiling with 1.0, because it has a code
+      generator (not optimizer) bug that causes crashes in the 1.1
+      optimizer
+
+  Revision 1.26  2003/10/31 15:51:11  peter
     * USEINLINE directive added (not enabled yet)
     * USEINLINE directive added (not enabled yet)
 
 
   Revision 1.25  2003/09/06 16:47:24  florian
   Revision 1.25  2003/09/06 16:47:24  florian