Lauri Kasanen
ca41af41c2
Rename pragma trampoline to wrapped-call, value to identifier
2017-05-16 20:10:24 +03:00
Lauri Kasanen
9c86c03a96
Add test case
2017-05-02 20:43:41 +03:00
Greg King
1aab287189
Fixed the handling of "while (0) {}".
...
It's a corner case; but, conditional macroes might create it -- better safe than sorry.
2017-04-07 09:26:58 -04:00
Oliver Schmidt
e806515541
Removed workaround.
2017-04-04 15:53:14 +02:00
Oliver Schmidt
93193727be
Removed workaround.
2017-04-04 15:52:37 +02:00
Oliver Schmidt
cd27fef6a8
Removed workaround.
2017-04-04 15:52:01 +02:00
Oliver Schmidt
3789174162
Removed workaround.
2017-04-04 15:51:00 +02:00
Oliver Schmidt
14268510f5
Removed workaround.
2017-04-04 15:45:24 +02:00
Oliver Schmidt
233dd5062a
Merge pull request #389 from IrgendwerA8/stringimprovements
...
Optimization of string functions (size & speed).
2017-04-04 15:39:37 +02:00
Oliver Schmidt
5dbacb538e
Merge pull request #411 from pfusik/bss-name-regression
...
Fix regression of #pragma bss-name
2017-03-22 13:44:48 +01:00
Piotr Fusik
8e35a82c91
Fix regression of #pragma bss-name
...
Closes #409
2017-03-21 22:35:25 +01:00
Oliver Schmidt
5b3611265b
Revert to recursively expanded var.
...
4a6bca0b56
needed to move to a simply expanded variable but cc82cd9992
made that unnecessary again.
2017-03-21 20:54:55 +01:00
IrgendwerA8
cc82cd9992
Fixed addressing error for TSB/TSR and enabled tests again.
2017-03-20 21:53:07 +01:00
Oliver Schmidt
0851e3d694
Allow to control test Makefile output via QUIET (like libsrc).
2017-03-20 11:22:04 +01:00
Oliver Schmidt
50174d9860
Hide stdout of tests returning an exit code.
...
Now that we doubled our tests by running them for both 6502 and 65C02 Travis CI complains (again) about a too long build output. So let's reduce it by omitting the (useless) stdout of tests.
2017-03-19 20:32:23 +01:00
Oliver Schmidt
4a6bca0b56
Run test for the 65C02 code generator / runtime too.
...
Now that sim65's 65C02 support is actually functional we can run test for the 65C02 support in the compiler and the runtime.
We learn the hard way this is a good idea as there are tests failing when built with optimizations for the 65C02:
- val/compare7
- val/compare8
- val/compare9
- val/compare10
- val/or1
2017-03-19 20:07:19 +01:00
Oliver Schmidt
ff9b77b6cc
Shortened test subdir names.
2017-03-19 17:57:25 +01:00
Oliver Schmidt
66634ef683
Cleaned up test Makefiles.
2017-03-19 17:48:44 +01:00
Greg King
750a527100
Made C's sizeof operator work with initialized void variables.
...
Added regression tests that check cc65's handling of void variables.
2017-03-12 14:41:32 -04:00
Oliver Schmidt
a780df1fe1
Merge pull request #381 from pfusik/static-forward-decl
...
"static" forward declarations
2017-03-12 18:26:14 +01:00
Greg King
73261ea48f
Fixed a pointer test again -- but, it's better than in pull request #391 .
...
This time, the expression compares the pointer directly, instead of comparing the pointer's target. The new expression avoids an array underrun.
2017-03-11 15:11:15 -05:00
Christian Groessler
8a81f9c0c8
Fix line endings (CRLF -> LF) on all affected files.
2017-03-10 11:21:14 +01:00
Piotr Fusik
05d1b8072b
Add regression tests for duplicate globals with different linkage.
2017-03-09 21:18:48 +01:00
Piotr Fusik
6c3873316b
Add regression tests for duplicate global/static variables detected by the compiler.
2017-03-09 20:49:42 +01:00
Piotr Fusik
ce0cf85386
Add regression test for #204 .
2017-03-09 20:40:20 +01:00
IrgendwerA8
371e8efb79
temporarily disable optimizations altogether until a fine grain control
...
is implemented on Makefile level only disabling the compiler option -Os
2017-03-07 19:16:31 +01:00
IrgendwerA8
81115aa826
Added further optimizations and unit tests.
2017-03-05 02:09:12 +01:00
Greg King
8f0ea644dd
Fixed a pointer-difference, comparison-with-zero expression.
...
Some GCC C compilers can't subtract higher pointers from lower pointers properly, when those pointers must be scaled (because they point to objects that are wider than a char). The scaling is done as unsigned which makes the difference positive instead of negative.
So, a broken expression was changed into a direct comparison between the two pointers.
2017-03-01 06:52:43 -05:00
Greg King
99f3c7d01d
Fixed a makefile: "yaccdbg.c" includes "yacc.c". So, yaccdbg must depend on both of them.
2017-03-01 06:29:53 -05:00
Oliver Schmidt
79e1b25c6c
Removed DEL as suggested by Greg.
2016-10-16 13:47:31 +02:00
Sven Oliver Moll
476260a6fa
4510 support for da65: fixed docs and Makefile for testcase.
2016-09-27 12:02:57 +02:00
Sven Oliver Moll
d0ed84c2d0
da65: adding support for 4510 cpu of c65
2016-09-20 17:37:10 +02:00
Sven Oliver Moll
bcdd190020
removed 'make clean' invoked from test/Makefile for test/assembler/Makefile, as all artifacts are now created in testwrk and will be cleaned up out of directory
2016-09-13 11:54:56 +02:00
Sven Oliver Moll
95a2f4b9dd
re-adding WORKDIR to Makefile
...
- added workaround to remove *.o files after assembling
- also removed now obsolete clean target
2016-09-13 11:28:11 +02:00
Sven Oliver Moll
aaa26c7d57
Revert "test/assembler: removed WORKDIR variable, as remote assembling does only work partly"
...
This reverts commit 7a9a7c3188
.
2016-09-13 11:21:25 +02:00
Sven Oliver Moll
a5772f7dc3
added forgotten testcase for testing cpu based conditional assembling
2016-09-07 19:49:21 +02:00
Sven Oliver Moll
7a9a7c3188
test/assembler: removed WORKDIR variable, as remote assembling does only work partly
2016-09-07 19:41:37 +02:00
Sven Oliver Moll
ae3f9bbd77
Added assembler pseudo commands .P4510 and .IFP4510 together with docs and testcase
2016-09-07 19:21:24 +02:00
Oliver Schmidt
05279f8302
Merge pull request #345 from SvOlli/release
...
migrated opcodes tests for assembler from testcode to test...
2016-09-07 10:11:47 +02:00
Sven Oliver Moll
f007fc13d5
added README for test/assembler
2016-09-06 14:54:21 +02:00
Sven Oliver Moll
89e2bf89cb
migrated opcodes tests for assembler from testcode to test for inclusion on automated testing
2016-09-03 16:52:23 +02:00
Chris Cacciatore
7919812378
Updated switch statement comments.
...
* Now comments represent the fact that there may not be curly braces.
2016-08-19 20:21:10 -07:00
Chris Cacciatore
ac4bdbd411
Now testing switch statements with empty bodies.
2016-08-15 11:36:50 -07:00
Chris Cacciatore
c4823c6fd4
Added Duff's Device to tests.
2016-08-15 11:26:03 -07:00
Oliver Schmidt
ce45f75987
Harmonized goal name.
2016-06-01 23:51:43 +02:00
Greg King
e050655757
Added a cc65 regression test for pointer and offset addition operations.
2016-01-01 11:39:55 -05:00
Greg King
5e7c7d78fc
Added a regression test program for the changes in the right-shift optimizer.
2015-12-14 11:46:30 -05:00
Oliver Schmidt
a85ac88fca
Merge pull request #197 from greg-king5/static
...
Handle almost-duplicate C declarations that have different linkages.
2015-08-15 06:53:40 +02:00
Greg King
6ed3d055cb
Removed redundant attempts to build uncompilable files.
2015-08-13 17:47:02 -04:00
Greg King
1baecf4a15
Added regression tests of diagnostics for conflicts between extern/public and static declarations.
2015-08-13 03:39:35 -04:00