1
0
mirror of https://github.com/cc65/cc65.git synced 2026-01-25 21:16:50 +00:00

Commit Graph

  • 98ffc031d1 Fixed an iteration bug in type composition. acqn 2023-12-09 14:35:00 +08:00
  • b7e7bb7489 Fixed the issue that qualifiers of pointees of function parameters were ignored for type compatibility check. acqn 2023-12-09 14:34:37 +08:00
  • 519a52d92c Merge pull request #2209 from vrubleg/linecont Bob Andrews 2023-12-08 02:10:45 +01:00
  • 66bfc31988 Merge pull request #2262 from colinleroy/optimize-long-assign Bob Andrews 2023-12-08 01:58:01 +01:00
  • 09735b26c5 Merge pull request #2274 from acqn/UnionFix Bob Andrews 2023-12-08 01:55:06 +01:00
  • c4575ec2c4 Merge pull request #2275 from acqn/BitfieldFix Bob Andrews 2023-12-08 01:54:02 +01:00
  • 85a15007ec Merge pull request #2276 from acqn/Diagnostics Bob Andrews 2023-12-08 01:53:08 +01:00
  • ac6d43adc9 fix option name paul moore 2023-12-03 15:27:49 -08:00
  • c43557d4ed complete first version paul moore 2023-12-03 13:58:04 -08:00
  • b527549dd2 fix spaces at end of line paul moore 2023-12-03 13:19:42 -08:00
  • 617eb0e065 Added repeat support. Added short vs long expansion paul moore 2023-12-03 11:59:05 -08:00
  • 116f678180 fixed incorrect offsets , cleaned out redundant code paul moore 2023-12-02 11:04:25 -08:00
  • d21616ea71 initial commit paul moore 2023-12-02 09:16:49 -08:00
  • ca2cf4bf54 forgot to free retport line, remove old code paul moore 2023-12-01 16:34:47 -08:00
  • b7af5ac438 fix gcc warning paul moore 2023-12-01 16:17:42 -08:00
  • 39744f1bde initial commit paul moore 2023-12-01 15:40:33 -08:00
  • 63861766e1 Fix Makefile change Colin Leroy-Mira 2023-12-01 14:22:30 +01:00
  • d8a3938f2b Optimize a bit static long assignation Colin Leroy-Mira 2023-11-13 20:24:14 +01:00
  • 47e7ed2f56 Fixed wrong "Mixed declarations and code are not supported in cc65" error message when it should be "Expression expected". acqn 2023-11-30 00:36:13 +08:00
  • c0a2021d9a Fixed endlessly repeated disgnostics when there are some certain patterns of syntax errors in a struct/union declaration. acqn 2023-11-30 00:35:30 +08:00
  • 6434176909 Fixed constness of bit-fields. acqn 2023-11-29 12:27:01 +08:00
  • 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