Am 19.02.2020 um 20:37 schrieb Florian Klämpfl:
Am 19.02.20 um 11:23 schrieb Sven Barth via fpc-devel:
J. Gareth Moreton <[email protected] <mailto:[email protected]>> schrieb am Mi., 19. Feb. 2020, 01:40:

    Ah, I understand, thank you.

    I chose those two tests in particular because the design with multiple
    typecasts opens it up to a lot of peephole optimisations.


The nightly testsuite is run multiple times with different settings, so as Joost said it shouldn't be necessary to single out tests for optimization levels.


If a particular bug is known to be only triggered by a certain combination of command line switches, the test should be run always with these switches imo.

But then in this specific case the test should be duplicated (as J. Gareth had done in his patch), maybe even moved to a different directory, cause the original test is *not* about the optimization.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to