1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-29 12:29:11 +00:00
Commit Graph

460 Commits

Author SHA1 Message Date
mrdudz
bbe46bb883 move float libss into libsrc/float, move tests into the correct dirs for the testbench, move includes to toplevel include dir 2022-11-09 02:45:07 +01:00
mrdudz
4a8c13fd93 Merge branch 'master' into fptest 2022-11-05 20:43:47 +01:00
mrdudz
bf924395fb fix some bashisms, hopefully makes "check" work again in cmd.exe 2022-11-05 19:41:02 +01:00
Bob Andrews
53b62184e8
Merge pull request #1905 from acqn/DeclFix
[cc65] Fixed some missing declaration features
2022-11-05 16:03:09 +01:00
acqn
e608f8a94f Renamed several tests. 2022-11-05 18:30:02 +08:00
mrdudz
79fd078ae3 add check for line endings containing CR. 2022-11-03 18:27:10 +01:00
mrdudz
cc450706d1 testcase related to bug #1888 2022-11-03 18:03:47 +01:00
mrdudz
44b2e4f331 added examples for tests that compare the compiler output with a reference 2022-11-03 17:40:13 +01:00
acqn
8a7f566387 Fixed support for storage class specifiers after type specifiers. 2022-11-03 21:46:42 +08:00
acqn
991af3755b Added support for _Static_assert in unions. 2022-11-03 21:46:41 +08:00
Bob Andrews
0eba33ee74
Merge pull request #1897 from acqn/TernaryFix
[cc65] Fixed errors in the conditional operator "? :" parser
2022-11-02 18:13:45 +01:00
Bob Andrews
37efb40c69
Merge pull request #1898 from acqn/PPFix
[cc65] Fixed '\\' + newline
2022-11-02 18:09:04 +01:00
acqn
deb5e97732 Fixed diagnostic messages on enumerator overflow.
An enumerator that would be incremented greater than ULONG_MAX now causes an error.
2022-11-02 14:22:21 +08:00
acqn
8fb2576626 Fixed processing '\\' followed with a newline and line number output (-E) with it. 2022-11-02 14:09:15 +08:00
acqn
d84cc2d122 Fixed errors in the conditional operator "? :" parser. 2022-11-02 13:56:55 +08:00
Lauri Kasanen
1e6279aee5 Clarify sprintf-test's output so it doesn't look like the entire test bench summary 2022-10-12 18:38:33 +03:00
Bob Andrews
a169e67e43
Merge pull request #1863 from acqn/LinkageFix
[cc65] Fixed symbol visibility and usage problems with extern/static declarations
2022-10-09 18:59:12 +02:00
acqn
9eab36b95a Fixed block-scope extern declarations visibility.
Fixed missing file-scope static function codegen output in a rare care.
2022-09-30 14:32:08 +08:00
acqn
f6003b8e8c Renamed some testcases. 2022-09-30 09:41:54 +08:00
acqn
1cbd6bc3f9 Fixed comments in test/val/bug1462-biefield-assign-4.c. 2022-09-29 18:23:41 +08:00
acqn
376afd0edb Fixed trailing spaces in some testcases. 2022-09-29 18:23:32 +08:00
mrdudz
846d51db72 change line endings to unix style, should fix #1858 2022-09-22 20:29:57 +02:00
acqn
5e7d9b5fe3 Renamed a few testcases. 2022-09-18 22:29:41 +08:00
acqn
080ec131d8 Added testcase for constant operands with side-effects. 2022-09-18 22:29:30 +08:00
acqn
16ba232d08 Fixed some testcases. 2022-09-18 22:29:01 +08:00
mrdudz
c8cdc1dc60 fix whitespace 2022-09-18 00:36:30 +02:00
mrdudz
163f0d447d fix/update the float tests 2022-09-18 00:33:48 +02:00
mrdudz
4e61599779 fix rounding when converting to 16bit ints 2022-09-17 18:35:30 +02:00
mrdudz
3805c8754a hack up something that prints correct decimal places even with the bugs in the compiler 2022-09-17 18:35:02 +02:00
mrdudz
7693b86d7d fix ! operator 2022-09-17 16:54:09 +02:00
mrdudz
1f4f408572 correctly sign extend for 16bit->float conversion 2022-09-17 16:53:28 +02:00
mrdudz
13dd4e296f guard some more things with ifdef DOUBLES, removes some warnings 2022-09-17 16:52:24 +02:00
mrdudz
09d383dd32 make compare functions fastcall 2022-09-17 16:51:11 +02:00
mrdudz
6fc2cd9f61 add test related to bug #1853 2022-09-17 14:42:18 +02:00
mrdudz
0f5122be2f make tests "work" with softfloat 2022-09-13 23:26:09 +02:00
mrdudz
c3bebd40ce Merge branch 'master' into fptest 2022-09-13 16:54:08 +02:00
acqn
dc001cb4be Reverted E_ADDRESS_OF logic fix.
Added testcase.
2022-09-01 12:56:46 +08:00
mrdudz
ce6ee1b891 test some more possible cases and move test into test/val 2022-08-28 03:43:54 +02:00
mrdudz
f337843c71 Merge branch 'master' into fptest 2022-08-27 12:28:09 +02:00
mrdudz
9610f20fd7 Merge remote-tracking branch 'upstream/master' into fptest 2022-08-27 00:31:36 +02:00
Bob Andrews
d2628d5949
Merge pull request #1840 from acqn/FnParamFix
[cc65] Fixed function parameters declared as function types rather than function pointers
2022-08-26 23:19:55 +02:00
Bob Andrews
68610490c9
Merge pull request #1837 from acqn/PPLineFix
[cc65] Fixed predefined __FILE__, __LINE__ and added missing preprocessing directive #line
2022-08-26 23:12:59 +02:00
acqn
1dbc5cb325 Simple testcase for __LINE__, __FILE__ as well as #line. 2022-08-24 16:39:44 +08:00
acqn
26945c32ac Fixed function parameters declared as function types rather than function pointers. 2022-08-24 15:30:52 +08:00
mrdudz
87b6ddd3e0 some cleanup, move everything we need into one directory 2022-08-23 15:12:02 +02:00
Bob Andrews
22ea30c75f
"cat" result to console on failure (only on *nix right now) 2022-08-23 11:56:05 +02:00
mrdudz
3c01489940 softfloat compiles and produces a working binary 2022-08-22 23:26:09 +02:00
mrdudz
69d5d4dcdd add older release of the berkeley softfloat lib,
this one can work without 64bit types.

missing support for passing structs by value will need a bit of hackery
2022-08-21 22:57:43 +02:00
mrdudz
731695a606 Revert "added Berkeley softfloat library - lets see if this can be ported"
this version of the library requires 64bit types

This reverts commit e7d7ad7df0.
2022-08-21 19:49:42 +02:00
mrdudz
e7d7ad7df0 added Berkeley softfloat library - lets see if this can be ported 2022-08-21 19:31:32 +02:00