mrdudz
bb2a367fcf
Merge branch 'master' into fptest
2023-10-26 17:40:07 +02:00
Bob Andrews
16f6860f57
Merge pull request #2243 from acqn/StdFuncFix
...
[cc65] Inlined std functions fixes
2023-10-26 17:39:07 +02:00
mrdudz
d6dd1a1e21
Merge branch 'master' into fptest
2023-10-26 16:57:59 +02:00
Bob Andrews
316ae886d7
Merge pull request #2242 from acqn/SwitchFix
...
[cc65] Fixed type promotion of switch case values
2023-10-26 16:56:01 +02:00
mrdudz
1db3d87ac8
Merge branch 'master' into fptest
2023-10-26 16:51:33 +02:00
acqn
df392fc104
Fixed type promotion of switch case values.
2023-10-25 22:38:21 +08:00
acqn
f321bb16e5
Fixed potential bugs with boolean branch optimizers when more than one jeq/jne follows.
2023-10-21 23:56:07 +08:00
Bob Andrews
3e60268243
add newline at the end
2023-10-17 20:39:15 +02:00
acqn
178573a128
Fixed inlined strlen when it takes a string literal with extra characters after the first '\0'.
...
Added testcases.
2023-10-17 17:57:19 +08:00
acqn
8111946731
Fixed array subscript with a bit-field with patch by kugelfuhr.
2023-10-15 15:53:03 +08:00
mrdudz
db7a38ea17
Merge branch 'master' into fptest
2023-10-14 18:44:19 +02:00
acqn
25832ef5fc
Fixed timing of #pragma charmap.
...
Now it is immediately applied and affects almost all characters and string literals after it.
Exceptions:
- String literals as the message of a static assertion or inline assembler code (only the required one, not any optional formatted arguments) in an asm() expression are not translated with either #pragma charmap or target presets.
- String literals used for preprocessor directives or as the result of stringized macro arguments are never translated.
2023-10-13 16:32:06 +08:00
acqn
20c3e994c6
Fixed compiling with pragmas in the middle of declarations or statements.
2023-10-04 21:22:04 +08:00
mrdudz
b7286ade4b
checkstyle, ihre rezeptfreie Online Bestellung
2023-09-04 01:12:54 +02:00
mrdudz
d771e86cdf
wip deactivated hack and related tests
2023-09-04 01:02:53 +02:00
mrdudz
14c71cd958
remove woz float stuff and some test things
2023-09-02 23:11:55 +02:00
mrdudz
c48cf428e9
fix division and multiplication for intvar vs floatvar
2023-09-02 06:53:33 +02:00
mrdudz
f0eadc69e1
fix a regression that sneaked in, all subtractions should work again
2023-09-02 06:44:53 +02:00
mrdudz
341286bf16
fix float var - int const, fix int var - float var
2023-09-02 02:42:34 +02:00
mrdudz
82346b24db
fix int var - float const, fix float var - int var
2023-09-02 01:56:18 +02:00
mrdudz
a8e9783f1c
fix int const - float var
2023-09-02 01:12:00 +02:00
mrdudz
fee2b834b0
fix float const - int var
2023-09-02 00:08:21 +02:00
mrdudz
9481f7a498
fix const int + float
2023-09-01 23:43:02 +02:00
mrdudz
6f004dadf7
fix float const -/ int const
2023-09-01 22:15:52 +02:00
mrdudz
86d0859d8d
evil spaces
2023-08-31 05:20:34 +02:00
mrdudz
abe65d524d
make float X= const work, and a test for that
2023-08-31 05:04:02 +02:00
mrdudz
ab238c1045
some fixes for X=, related tests
2023-08-31 00:44:03 +02:00
mrdudz
681fe5d562
update/add a bunch of tests. should be all for "basic" and "cmp" now
2023-08-30 02:12:43 +02:00
mrdudz
771155ff02
add tests for float vs int var
2023-08-29 14:50:26 +02:00
mrdudz
bb24862401
cleanup
2023-08-29 12:07:19 +02:00
mrdudz
dd5f12b352
fix int variable + float constant, fix float variable + int constant, add tests
2023-08-29 12:00:17 +02:00
mrdudz
3164917f46
cleanup
2023-08-29 03:15:54 +02:00
mrdudz
2e220e709e
some fixes relalated to comparing with integer constants, related tests. some fixes related to adding integers, related tests
2023-08-29 01:11:59 +02:00
mrdudz
f587e6eaf9
add code for fnegeax, and tests for it
2023-08-27 05:15:04 +02:00
mrdudz
b034fe35fc
another case that doesnt fail
2023-08-26 23:14:50 +02:00
mrdudz
ac320910ca
updated
2023-08-26 23:08:51 +02:00
mrdudz
fa347d416a
move test to todo again, and patch the Makefile - it works in *one* particular config (only)
2023-08-26 22:34:25 +02:00
mrdudz
0c69e4e290
move test to test/val ... for some reason it is working now in this branch :)
2023-08-26 21:48:35 +02:00
mrdudz
fcad1067ad
fix some fallout
2023-08-25 23:04:13 +02:00
mrdudz
0f7c299abc
Merge branch 'master' into fptest
...
# Conflicts:
# src/cc65/expr.c
# test/todo/Makefile
2023-07-08 15:56:45 +02:00
mrdudz
c8aa9cc703
add struct assign check related to #2079
2023-05-29 17:20:09 +02:00
Bob Andrews
652949f183
Merge pull request #2104 from Movax12/remove-feature-requirement-addrsize
...
ca65: Remove .feature requirement for .addrsize
2023-05-22 00:39:04 +02:00
Bob Andrews
9ff7b88192
Merge pull request #2113 from polluks2/patch-9
...
Unified NULL #2110
2023-05-19 16:06:46 +02:00
polluks2
8ff008722b
Fixed test
...
Don't define NULL yourself. QED
2023-05-19 02:49:49 +02:00
Bob Andrews
70bf4d492b
Merge pull request #2105 from bbbradsmith/sim65-64bit-cycle-count
...
Sim65 64bit cycle count
2023-05-16 15:53:23 +02:00
bbbradsmith
5a30d746b4
extern/static conflict test: remove warning as errors to match the new expected cases
2023-05-11 20:15:27 -04:00
bbbradsmith
3419cbd348
sim65 64-bit cycle count tests
...
These take ~10 seconds to run locally
2023-05-07 16:33:47 -04:00
bbbradsmith
aad64063c9
makefiles no longer need comment about sim65 64-bit support
2023-05-07 16:33:07 -04:00
mvax
bee29dedd1
fix feature.s test
2023-05-06 17:11:57 -04:00
mvax
560085cb17
modify and add tests
2023-05-06 16:22:04 -04:00