Browse Source

* disable constant propagation for tests which will cause a regression because const. prop. causes a compile time error while the tests expect a runtime error

git-svn-id: trunk@26300 -
florian 11 years ago
parent
commit
b47f1c4176

+ 1 - 0
tests/tbs/tb0140.pp

@@ -1,3 +1,4 @@
+{ %OPT=-Oonoconstprop }
 { Old file: tbs0165.pp }
 { Old file: tbs0165.pp }
 { missing range check code for enumerated types.            OK 0.99.9 (PFV) }
 { missing range check code for enumerated types.            OK 0.99.9 (PFV) }
 
 

+ 1 - 1
tests/tbs/tb0412.pp

@@ -1,4 +1,4 @@
-{ %version=1.1 }
+{ %opt=-Oonoconstprop }
 {$mode objfpc}
 {$mode objfpc}
 {$r+}
 {$r+}
 uses
 uses

+ 1 - 1
tests/tbs/tb0583.pp

@@ -1,4 +1,4 @@
-{ %opt=-O-3 }
+{ %opt=-O-3 -Oonoconstprop }
 { %result=201 }
 { %result=201 }
 
 
 {$inline on}
 {$inline on}

+ 1 - 0
tests/test/cg/tdivz1.pp

@@ -1,4 +1,5 @@
 { %RESULT=200 }
 { %RESULT=200 }
+{ %OPT=-Oonoconstprop }
 {****************************************************************}
 {****************************************************************}
 {  CODE GENERATOR TEST PROGRAM                                   }
 {  CODE GENERATOR TEST PROGRAM                                   }
 {****************************************************************}
 {****************************************************************}

+ 1 - 0
tests/test/cg/tdivz2.pp

@@ -1,4 +1,5 @@
 { %RESULT=200 }
 { %RESULT=200 }
+{ %OPT=-Oonoconstprop }
 {****************************************************************}
 {****************************************************************}
 {  CODE GENERATOR TEST PROGRAM                                   }
 {  CODE GENERATOR TEST PROGRAM                                   }
 {****************************************************************}
 {****************************************************************}

+ 1 - 0
tests/test/tint644.pp

@@ -1,3 +1,4 @@
+{ %OPT=-Oonoconstprop }
 { %result=215 }
 { %result=215 }
 
 
 {$q+}
 {$q+}

+ 1 - 0
tests/webtbs/tw2690.pp

@@ -1,3 +1,4 @@
+{ %opt=-Oonoconstprop }
 { %result=201 }
 { %result=201 }
 
 
 { Source provided for Free Pascal Bug Report 2690 }
 { Source provided for Free Pascal Bug Report 2690 }