Commit Graph

  • 3b7af398a9 Fixed initialization of union when it has an anonymous bit-field as the first member declaration. acqn 2023-11-15 21:32:24 +08:00
  • 5537b61e6a Merge pull request #2272 from acqn/Diagnostics Bob Andrews 2023-11-28 15:06:39 +01:00
  • 2af16ee82b Merge pull request #2271 from acqn/InternalFix Bob Andrews 2023-11-28 15:03:09 +01:00
  • 97cfb8c67a Merge pull request #2266 from acqn/StructFix Bob Andrews 2023-11-28 15:00:58 +01:00
  • 86b09f56a6 Merge pull request #2260 from colinleroy/optimize-substraction Bob Andrews 2023-11-28 14:40:51 +01:00
  • acf159adbc Merge pull request #2269 from colinleroy/optimize_gt_255 Bob Andrews 2023-11-28 14:36:39 +01:00
  • ad0b778008 Merge pull request #2265 from acqn/C99Main Bob Andrews 2023-11-28 14:27:55 +01:00
  • 7e6399d439 Merge pull request #2268 from picocomputer/master Bob Andrews 2023-11-27 17:53:43 +01:00
  • 546be1d5dd Fixed assertion failure when there is an undefined symbol used in a parameter list. acqn 2023-11-27 20:42:50 +08:00
  • b99ebc1256 Fixed diagnostic messages about undeclared identifiers. acqn 2023-11-27 20:39:15 +08:00
  • 7574e36e95 Improved error recovery with function declarations. Fixed some rare cases when a single file-scope error could get reapeated endlessly until the maximum total count of errors allowed is reached. acqn 2023-11-27 20:39:15 +08:00
  • ac04394254 Fixed and improved diagnostics about declaration errors. acqn 2023-11-27 20:39:15 +08:00
  • 79214530e0 Maximum total count of errors before the compiler unconditionally bails out is now 200. If more than 20 errors occur on the same source line, the compiler will immediately bail out. acqn 2023-11-27 20:39:15 +08:00
  • 3905e43068 style update rumbledethumps 2023-11-26 15:12:20 -08:00
  • ab0ab8e36f Merge pull request #2267 from acqn/Diagnostics Bob Andrews 2023-11-26 22:14:30 +01:00
  • e6c8f896b0 Merge pull request #2264 from ryandesign/patch-2 Bob Andrews 2023-11-26 22:06:06 +01:00
  • f95e3a1e49 Merge pull request #2263 from ryandesign/patch-1 Bob Andrews 2023-11-26 22:05:03 +01:00
  • 502e13173a Merge branch 'cc65:master' into master rumbledethumps 2023-11-25 19:55:56 -08:00
  • f1b0fbebd5 Remove all indexed accesses to SCC registers Colin Leroy-Mira 2023-11-23 20:01:47 +01:00
  • 3066b1f9b4 Optimize unsigned int and long > 255 Colin Leroy-Mira 2023-11-17 22:49:03 +01:00
  • 564c85235f style update and add rp6502 doc rumbledethumps 2023-11-17 11:08:51 -08:00
  • b17c4d3434 add rp6502 target rumbledethumps 2023-11-16 18:46:16 -08:00
  • f6c3a1b209 Removed the extra "'}' expected" error message following a "Excess elements in struct/union initializer" error message. acqn 2023-11-15 21:17:05 +08:00
  • 5332eeecc2 Fixed empty declarations in structs/unions. acqn 2023-11-15 18:17:36 +08:00
  • e9e3cd969e Fix typos; other copyediting Ryan Carsten Schmidt 2023-11-14 00:57:07 -06:00
  • 913ab3607f Fix typo Ryan Carsten Schmidt 2023-11-14 00:22:36 -06:00
  • b3eca51264 Add int decrement tests Colin Leroy-Mira 2023-11-12 22:48:58 +01:00
  • 076137f41b Optimize lda/sta/lda and friends Colin Leroy-Mira 2023-11-12 22:35:24 +01:00
  • 9242508abf Optimize substraction of 1 Colin Leroy-Mira 2023-11-12 22:15:03 +01:00
  • 0eb38770bd Fixed const qualifiers on named structs/unions members that should prevent assignments to the whole structs/unions. Added warning on ignored qualifiers on anonymous structs/unions. acqn 2023-11-13 17:17:46 +08:00
  • 850007cb44 Document line_continuations feature. Evgeny Vrublevsky 2023-09-23 18:45:27 +03:00
  • c8df241337 Add line_continuations feature that works as .LINECONT but in a consistent way with other features. Evgeny Vrublevsky 2023-09-23 14:19:11 +03:00
  • a24196ee41 Merge branch 'master' into coniopeek mrdudz 2023-07-08 15:23:42 +02:00
  • 03ceeb4ad1 Removed warning on implicit "return 0" in C99 standard main function in default cc65 mode. acqn 2022-10-22 12:45:51 +08:00
  • d7d1d89698 Merge pull request #2252 from colinleroy/optimize-multiply-by-zero Bob Andrews 2023-11-12 18:47:34 +01:00
  • be49751ad2 Merge pull request #2254 from brian6932/upload-64-bit-snapshot Bob Andrews 2023-11-12 18:44:41 +01:00
  • d00a23feff Update Apple 2 serial documentation Colin Leroy-Mira 2023-11-11 21:00:12 +01:00
  • ab2163f2c8 Merge pull request #2255 from polluks/patch-9 Bob Andrews 2023-11-11 13:37:41 +01:00
  • 86d498b7b3 Implement SER_HS_NONE on Apple IIgs serial driver Colin Leroy-Mira 2023-11-06 20:05:35 +01:00
  • f8d7c0cd4c Fixed typo Stefan 2023-11-08 11:13:31 +01:00
  • 83f51b1e3c mention in readme Brian 2023-11-06 21:53:14 -05:00
  • 23f37c40aa Upload 64-bit Windows snapshot to Sourceforge Brian 2023-11-06 21:36:58 -05:00
  • cff611711b Optimize multiplication by zero Colin Leroy-Mira 2023-11-05 21:03:06 +01:00
  • fe115fb621 Revert "Apple 2 SSC: Handle SER_HS_NONE with no performance impact" Colin Leroy-Mira 2023-11-03 14:58:32 +01:00
  • 8a797095c1 Apple 2 SSC: Handle SER_HS_NONE with no performance impact Colin Leroy-Mira 2023-11-03 07:50:28 +01:00
  • 94239525ca Apple2 SSC: Implement no flow control Colin Leroy-Mira 2023-10-27 07:07:38 +02:00
  • 5b47def166 Merge pull request #2248 from acqn/ReturnTypeCheck Bob Andrews 2023-11-01 15:08:48 +01:00
  • d424883716 Fixed diagnostics on qualifiers of function return types. acqn 2023-10-28 15:24:13 +08:00
  • 8e62cbf092 Improved checks on function return types. acqn 2023-09-13 22:26:41 +08:00
  • f381d23001 Merge pull request #2236 from acqn/TypeFix Bob Andrews 2023-10-29 12:37:07 +01:00
  • f7cf14bf58 Merge pull request #2246 from acqn/ArrayFix Bob Andrews 2023-10-29 12:10:30 +01:00
  • 65aad16d83 Merge pull request #2245 from acqn/MinorFix Bob Andrews 2023-10-28 15:26:31 +02:00
  • 8e45a4c960 Fixed the bug that a union type containing a struct with a flexible array member was accepted as a struct member or array element type. acqn 2023-10-27 23:46:10 +08:00
  • 85e63e99a6 Fixed regression: array element of incomplete type. acqn 2023-10-27 21:51:45 +08:00
  • 878264d948 Minor consistency improvement for AddEnumSym() usage. No impact. acqn 2023-09-13 22:26:41 +08:00
  • e57c409894 Fixed TypeHasAttrData(), GetSignedType() and GetUnsignedType(), none in use yet though. acqn 2022-10-12 13:13:15 +08:00
  • 45da20e770 Fixed CheckedSizeOf() for unknown-size types (no such use case yet though). acqn 2022-10-12 13:13:37 +08:00
  • d1e84a6dae Avoided unnecessary BSS name duplication for tentative global variables. acqn 2022-10-11 14:23:21 +08:00
  • 94ef5856d0 Merge pull request #2235 from acqn/Cleanup Bob Andrews 2023-10-26 20:07:39 +02:00
  • 401bcaa5ff Merge pull request #2237 from acqn/CGType Bob Andrews 2023-10-26 19:50:10 +02:00
  • 16f6860f57 Merge pull request #2243 from acqn/StdFuncFix Bob Andrews 2023-10-26 17:39:07 +02:00
  • 10f709eeb7 Merge pull request #2234 from acqn/Diagnostics Bob Andrews 2023-10-26 17:10:01 +02:00
  • 316ae886d7 Merge pull request #2242 from acqn/SwitchFix Bob Andrews 2023-10-26 16:56:01 +02:00
  • a8d00bfaae Merge pull request #2240 from acqn/BitwiseOpt Bob Andrews 2023-10-26 16:53:37 +02:00
  • 8e6c0c1466 Merge pull request #2238 from acqn/BoolOptFix Bob Andrews 2023-10-26 13:06:33 +02:00
  • df392fc104 Fixed type promotion of switch case values. acqn 2023-10-25 22:38:21 +08:00
  • a31b35b2a6 Fixed naming of local variables in CG_TypeOfBySize and CG_TypeOf. acqn 2023-10-22 10:42:17 +08:00
  • 70549e868e New optimizer steps to restore some possibly lost optimization with boolean due to the previous fix. acqn 2023-10-21 23:56:13 +08:00
  • f321bb16e5 Fixed potential bugs with boolean branch optimizers when more than one jeq/jne follows. acqn 2023-10-21 23:56:07 +08:00
  • 79c52e742f Added new opts OptBoolUnary1/OptBoolUnary2 to remove unnecessary cmp + bcastax/bnegax, as well as OptBoolUnary3 to "strength-reduce" certain bcastax/bnegax to boolne/booleq. acqn 2023-10-21 23:56:04 +08:00
  • e5bbdfa995 Separated boolean optimizers from bitwise unary operator optimizers. Renamed OptCmp6 to OptBoolCmp. acqn 2023-10-21 23:56:01 +08:00
  • c52427fc65 Minor fix for error recovery from duplicated struct members. acqn 2023-10-21 23:52:14 +08:00
  • 178573a128 Fixed inlined strlen when it takes a string literal with extra characters after the first '\0'. Added testcases. acqn 2023-10-17 17:57:19 +08:00
  • 7b6f8249a0 General fixes for prerequisites for optimization on certain std functions. Added utility functions for extracting expression info. acqn 2023-10-11 22:29:15 +08:00
  • 1dccd1333b Added more type utility functions. Changed result of GetBasicTypeName() for unknown types from "type" to "<type>". acqn 2022-10-12 13:10:17 +08:00
  • cf3a0c4a30 Corrected and entailed comments and cleaned up code with type comparison. acqn 2022-10-13 13:45:22 +08:00
  • 01d2b809a1 Renamed struct Segments to SegContext as well as some related functions. acqn 2023-10-21 23:41:36 +08:00
  • 5fd9169904 Renamed type facility functions for deciding code generation type flags. acqn 2022-10-12 13:10:17 +08:00
  • a998d34907 remove tabs mrdudz 2022-07-24 19:16:15 +02:00
  • aeb13b60a7 rename mrdudz 2022-07-24 19:10:27 +02:00
  • 10c2ce205b cleanup mrdudz 2022-07-24 04:59:45 +02:00
  • 193b7b9ee7 cleanup mrdudz 2022-07-24 04:54:34 +02:00
  • d40def3d2d cleanup mrdudz 2022-07-24 04:42:44 +02:00
  • 7890f4102e cleanup mrdudz 2022-07-24 04:14:48 +02:00
  • 6dae5324dd cleanup mrdudz 2022-07-24 03:59:19 +02:00
  • 74098077d3 bleh mrdudz 2022-07-24 03:36:19 +02:00
  • 9ff58e5bc5 Merge remote-tracking branch 'origin/master' into coniopeek mrdudz 2022-07-24 03:24:45 +02:00
  • 8b6d78a075 Added Opt_a_tosbitwise for 8-bit bitwise operations. acqn 2021-03-01 22:11:22 +08:00
  • 6617a017fa Added Opt_a_tossub for 8-bit subtraction. acqn 2021-02-05 17:29:49 +08:00
  • bb1b5c363e Merge pull request #2233 from acqn/ArraySubscriptFix Bob Andrews 2023-10-18 12:51:36 +02:00
  • 3e60268243 add newline at the end Bob Andrews 2023-10-17 20:39:15 +02:00
  • 8111946731 Fixed array subscript with a bit-field with patch by kugelfuhr. acqn 2023-10-15 15:53:03 +08:00
  • 77c6a6a693 Merge pull request #2226 from acqn/PragmaFix Bob Andrews 2023-10-16 16:57:09 +02:00
  • 3c864fc7d8 Minimal style adjustment Oliver Schmidt 2023-10-15 17:00:15 +02:00
  • 882f6fd103 Fix ACIA check so we don't enable RX/TX with IRQs on Colin Leroy-Mira 2023-10-15 15:26:58 +02:00
  • 3107f34ec9 Put back 6551 test as a last verification Colin Leroy-Mira 2023-10-14 21:51:31 +02:00
  • 6e035c864e Apple2 SSC: on IIgs, verify slot mode Colin Leroy-Mira 2023-10-12 07:58:40 +02:00
  • 96e893795b Better check for 6551 Colin Leroy-Mira 2023-10-09 10:48:01 +02:00
  • 21b6cbb66e Updated documentation on string literal translation in asm() and _Static_assert(). acqn 2023-10-15 16:43:40 +08:00
  • 7b0d1d9679 Added warning on concatenated string literals in _Pragma operations. acqn 2023-10-13 14:54:54 +08:00