Bob Andrews
45bdeb62ad
Merge pull request #2070 from bbbradsmith/fix2060
...
RHS primary integer promotion must happen after loading the primary, not before
2023-05-03 23:57:19 +02:00
Bob Andrews
ae7a1416fe
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return""
2023-05-03 20:02:12 +02:00
Brad Smith
2c47ea45af
bug895.c compliant token pasting syntax to remove warnings
...
Gets rid of some unnecessary warning spam in the test log of lines like this:
```
bug895.c:95: Warning: Pasting formed "unsigned_long_14(", an invalid preprocessing token
```
2023-05-02 18:18:10 -04:00
bbbradsmith
1c26b1cf1b
RHS primary integer promotion must happen after loading the primary, not before. See: #2060
2023-05-02 14:42:00 -04:00
bbbradsmith
78263cd24b
Fix OptStackOps label migration case for toscmpbool, add test case
2023-02-17 23:48:32 -05:00
mrdudz
1764b7aca9
fix for #1941 , taken from 22d435b689
2023-01-28 12:29:05 +01:00
mrdudz
d9ebfa7192
all good things are three
2022-12-11 12:29:11 +01:00
mrdudz
2b941e255a
move test. oops
2022-12-11 12:22:41 +01:00
mrdudz
bad961b36f
add missing newline
2022-11-28 06:34:05 +01:00
mrdudz
61ee5fe1d5
test for bug #1933
2022-11-28 06:26:47 +01:00
mrdudz
d6c37a757d
Merge branch 'master' into underscores
2022-11-19 17:11:11 +01:00
acqn
dadca9e033
Fixed bitwise-shift in PP.
2022-11-13 16:32:41 +08: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
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
acqn
8fb2576626
Fixed processing '\\' followed with a newline and line number output (-E) with it.
2022-11-02 14:09:15 +08: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
6fc2cd9f61
add test related to bug #1853
2022-09-17 14:42:18 +02:00
acqn
dc001cb4be
Reverted E_ADDRESS_OF logic fix.
...
Added testcase.
2022-09-01 12:56:46 +08:00
mrdudz
5bda57de87
add extra underscore to _bzero, add a test for bzero/memset
2022-08-29 23:20:48 +02:00
mrdudz
ce6ee1b891
test some more possible cases and move test into test/val
2022-08-28 03:43:54 +02:00
acqn
43d2fd2a96
Added support for the popular __COUNTER__ macro.
2022-07-24 23:19:05 +08: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
Bob Andrews
22ea30c75f
"cat" result to console on failure (only on *nix right now)
2022-08-23 11:56:05 +02:00
acqn
47ee543fe0
Added testcase for some part of PR #1833 .
2022-08-21 00:11:19 +08:00
acqn
ae811baaf1
Fixed the bug that redefined macros could co-exist but not all be undefined with a single #undef.
2022-08-06 18:21:42 +08:00
acqn
2f357ba9b2
Preprocessor directives can now appear in the argument list of function-like macro calls.
...
#pragma PP-tokens can now be macro replaced.
#include header names directly enclosed in <> are free of macro replacement.
Preprocess-only mode (-E) now outputs with #line as source info.
Moved testcases for #760 and #1357 .
Added testcase for #1643 .
2022-07-26 21:10:38 +08:00
mrdudz
fb8de287be
test related to pr #1800
2022-07-28 01:50:54 +02:00
acqn
9f767770ac
Added test case for #pragma charmap.
2022-07-26 15:19:48 +08:00
mrdudz
e6b9a4b292
test related to issue #1652 , shows regression broken by #1231 and the
...
case that #1231 improved.
2022-05-08 13:19:32 +02:00
mrdudz
e0ae8ddc68
add sourcelines to the generated asm for easier inspection,
...
redirect output of sim65, including cycle count, into a seperate .out file per program
2022-05-08 13:18:27 +02:00
acqn
67594cca70
Testcases for long bit-fields.
2022-03-03 16:14:26 +08:00
mrdudz
0129622383
remove dangling spaces
2022-04-17 16:07:52 +02:00
mrdudz
8cacfa70d5
add missing newline to a bunch of files
2022-04-16 19:51:48 +02:00
mrdudz
2eb20b3e8a
remove a bunch of TABs
2022-04-16 18:16:14 +02:00
acqn
c8956ce19b
Fixed signed long comparisons with smaller unsigned types.
2022-03-03 20:24:14 +08:00
Bob Andrews
0587d9f5d4
Merge pull request #1675 from acqn/ShiftFix
...
[cc65] Fixed bitwise shift with numeric constant operand(s)
2022-03-01 19:50:21 +01:00
Greg King
bca8fcb947
Added a more general test to test/val/bug1690.c
2022-03-01 12:56:34 -05:00