Commit Graph

  • 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
  • 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. acqn 2023-10-13 16:32:06 +08:00
  • c6ead99b00 Fixed string literal concatenation with pragmas in between. acqn 2023-10-13 16:32:05 +08:00
  • 20c3e994c6 Fixed compiling with pragmas in the middle of declarations or statements. acqn 2023-10-04 21:22:04 +08:00
  • 6222cd9115 don't use a label in the bgt macro, as that may cause subtle problems. fixes #2222 mrdudz 2023-10-14 23:04:12 +02:00
  • 2726192aaf Merge pull request #2224 from acqn/DeclCleanUp Bob Andrews 2023-10-14 20:09:05 +02:00
  • bb92144717 changed "inline assembler statement" to "inline assembler expression" as suggested in #2191 mrdudz 2023-10-14 16:21:08 +02:00
  • e138403727 Move cli in common out path Colin Leroy-Mira 2023-10-12 08:56:50 +02:00
  • 6e0bbb00ee Fix logic error on parameters checks Colin Leroy-Mira 2023-10-12 08:53:05 +02:00
  • c7db08b4e3 Move hardware check to ser_install Colin Leroy-Mira 2023-10-12 08:39:35 +02:00
  • e90a8f3123 Address code review comments Colin Leroy-Mira 2023-10-11 12:54:12 +02:00
  • 39d6080945 Do the IIgs check as documented Colin Leroy-Mira 2023-10-11 08:47:45 +02:00
  • e3759a3ead Spare cycles on IRQ path Colin Leroy-Mira 2023-10-10 21:33:17 +02:00
  • 65ce3a6792 Don't check firmware at $C200, as we don't use it Colin Leroy-Mira 2023-10-10 21:17:44 +02:00
  • 9e87e558d2 Fix register r/w timing Colin Leroy-Mira 2023-10-09 22:03:08 +02:00
  • b300b7ac8b Merge pull request #1799 from acqn/#1489 Bob Andrews 2023-10-14 13:25:14 +02:00
  • ed2f1f6b90 Merge pull request #2223 from acqn/VSLineEndingFix Bob Andrews 2023-10-14 13:19:57 +02:00
  • 74922afa7c Made the intension of functions in src/cc65/declare.c less confusing. acqn 2023-10-12 17:31:49 +08:00
  • b14efbb578 Fixed EOL settings (LF vs CRLF) for Visual Studio. acqn 2023-10-11 23:57:45 +08:00
  • 2324bd62f6 If __A__,__AX__ or __EAX__ is used, post-inc/dec within the same statement will not modify it. Moved testcase from src/test/todo to src/test/val plus minor improvement on portability. acqn 2021-06-08 14:16:14 +08:00
  • 494bf10e80 Merge pull request #2216 from acqn/FuncDefFix Bob Andrews 2023-10-08 18:58:29 +02:00
  • 181a8cd64c Merge pull request #2212 from BrianPeek/removeabc Bob Andrews 2023-10-08 14:51:26 +02:00
  • ee6118f235 Merge pull request #2215 from acqn/VariadicCallCheck Bob Andrews 2023-10-08 13:13:08 +02:00
  • 32a20cf5ca remove abc ptrs Brian Peek 2023-10-06 19:51:36 -07:00