Browse Source

+ additional tests which ensure that constant propagation is off
as the compiler optimizes the original tests too much with constant propagation
to keep them useful

git-svn-id: trunk@34796 -

florian 8 years ago
parent
commit
96858dd64d
5 changed files with 12 additions and 0 deletions
  1. 4 0
      .gitattributes
  2. 2 0
      tests/test/cg/tcnvint3b.pp
  3. 2 0
      tests/test/cg/tlohi2.pp
  4. 2 0
      tests/webtbs/tw3272b.pp
  5. 2 0
      tests/webtbs/tw6769b.pp

+ 4 - 0
.gitattributes

@@ -11467,6 +11467,7 @@ tests/test/cg/tclatype.pp svneol=native#text/plain
 tests/test/cg/tcnvint1.pp svneol=native#text/plain
 tests/test/cg/tcnvint2.pp svneol=native#text/plain
 tests/test/cg/tcnvint3.pp svneol=native#text/plain
+tests/test/cg/tcnvint3b.pp svneol=native#text/pascal
 tests/test/cg/tcnvint4.pp svneol=native#text/plain
 tests/test/cg/tcnvint5.pp svneol=native#text/plain
 tests/test/cg/tcnvint6.pp svneol=native#text/plain
@@ -11494,6 +11495,7 @@ tests/test/cg/tis.pp svneol=native#text/plain
 tests/test/cg/tldparam.pp svneol=native#text/plain
 tests/test/cg/tloadvmt.pp svneol=native#text/plain
 tests/test/cg/tlohi.pp svneol=native#text/plain
+tests/test/cg/tlohi2.pp svneol=native#text/pascal
 tests/test/cg/tmanypar.pp svneol=native#text/plain
 tests/test/cg/tmoddiv.pp svneol=native#text/plain
 tests/test/cg/tmoddiv1.pp svneol=native#text/plain
@@ -15297,6 +15299,7 @@ tests/webtbs/tw3261.pp svneol=native#text/plain
 tests/webtbs/tw3263.pp svneol=native#text/plain
 tests/webtbs/tw3265.pp svneol=native#text/plain
 tests/webtbs/tw3272.pp svneol=native#text/plain
+tests/webtbs/tw3272b.pp svneol=native#text/pascal
 tests/webtbs/tw3274.pp svneol=native#text/plain
 tests/webtbs/tw3280.pp svneol=native#text/plain
 tests/webtbs/tw3281.pp svneol=native#text/plain
@@ -15591,6 +15594,7 @@ tests/webtbs/tw6737.pp svneol=native#text/plain
 tests/webtbs/tw6742.pp svneol=native#text/plain
 tests/webtbs/tw6767.pp svneol=native#text/plain
 tests/webtbs/tw6769.pp svneol=native#text/plain
+tests/webtbs/tw6769b.pp svneol=native#text/pascal
 tests/webtbs/tw6822a.pp svneol=native#text/plain
 tests/webtbs/tw6822b.pp svneol=native#text/plain
 tests/webtbs/tw6822c.pp svneol=native#text/plain

+ 2 - 0
tests/test/cg/tcnvint3b.pp

@@ -0,0 +1,2 @@
+{ %OPT=-Oonoconstprop }
+{$i tcnvint3.pp}

+ 2 - 0
tests/test/cg/tlohi2.pp

@@ -0,0 +1,2 @@
+{ %OPT=-Oonoconstprop }
+{$i tlohi.pp}

+ 2 - 0
tests/webtbs/tw3272b.pp

@@ -0,0 +1,2 @@
+{ %OPT=-Oonoconstprop}
+{$i tw3272.pp}

+ 2 - 0
tests/webtbs/tw6769b.pp

@@ -0,0 +1,2 @@
+{ %OPT=-Oonoconstprop}
+{$i tw6769.pp}