[gcc r14-10761] c: fix crash when checking for compatibility of structures [PR116726]

2024-10-09 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:4123f546d77c42287d2fcae6fb04df7b87193454 commit r14-10761-g4123f546d77c42287d2fcae6fb04df7b87193454 Author: Martin Uecker Date: Tue Sep 17 11:37:29 2024 +0200 c: fix crash when checking for compatibility of structures [PR116726] When checking for compatibilit

[gcc r15-3745] c: fix crash when checking for compatibility of structures [PR116726]

2024-09-20 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:9227a64495d5594613604573b72422e8e3722fc5 commit r15-3745-g9227a64495d5594613604573b72422e8e3722fc5 Author: Martin Uecker Date: Tue Sep 17 11:37:29 2024 +0200 c: fix crash when checking for compatibility of structures [PR116726] When checking for compatibility

[gcc r15-2690] c: Add support for byte arrays in C2Y

2024-08-02 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:4b9ba9cee9511930411b7b53e1333e1b6b93078d commit r15-2690-g4b9ba9cee9511930411b7b53e1333e1b6b93078d Author: Martin Uecker Date: Sun Jun 23 23:14:33 2024 +0200 c: Add support for byte arrays in C2Y To get correct aliasing behavior requires that structures and u

[gcc r15-2026] c, objc: Add -Wunterminated-string-initialization

2024-07-14 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:44c9403ed1833ae71a59e84f9e37af3182be0df5 commit r15-2026-g44c9403ed1833ae71a59e84f9e37af3182be0df5 Author: Alejandro Colomar Date: Sat Jun 29 15:10:43 2024 +0200 c, objc: Add -Wunterminated-string-initialization Warn about the following: char s[

[gcc r15-1930] Fix test errors after r15-1394 for sizeof(int)==sizeof(long) [PR115545]

2024-07-09 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:5b46f196cdb62af0e611315ea411938d756a0ad1 commit r15-1930-g5b46f196cdb62af0e611315ea411938d756a0ad1 Author: Martin Uecker Date: Sun Jun 23 09:10:20 2024 +0200 Fix test errors after r15-1394 for sizeof(int)==sizeof(long) [PR115545] Some tests added to test the

[gcc r15-1929] c: Fix ICE for redeclaration of structs with different alignment [PR114727]

2024-07-09 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:7825c07bbaf503c47ecedd87e3d64be003b24f2c commit r15-1929-g7825c07bbaf503c47ecedd87e3d64be003b24f2c Author: Martin Uecker Date: Sat Jun 29 15:53:43 2024 +0200 c: Fix ICE for redeclaration of structs with different alignment [PR114727] For redeclarations of str

[gcc r15-1928] c: Fix ICE for incorrect code in comptypes_verify [PR115696]

2024-07-09 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:592a746533a278a5fd3e7b5dff004e1846ef26a4 commit r15-1928-g592a746533a278a5fd3e7b5dff004e1846ef26a4 Author: Martin Uecker Date: Sat Jun 29 15:36:18 2024 +0200 c: Fix ICE for incorrect code in comptypes_verify [PR115696] The new verification code produces an IC

[gcc r15-1698] c: Error message for incorrect use of static in array declarations.

2024-06-27 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:da7976a015a4388b8ed843412c3c1c840451cf0f commit r15-1698-gda7976a015a4388b8ed843412c3c1c840451cf0f Author: Martin Uecker Date: Thu Jun 27 21:47:56 2024 +0200 c: Error message for incorrect use of static in array declarations. Add an explicit error messages wh

[gcc r15-1394] c23: Fix for redeclared enumerator initialized with different type [PR115109]

2024-06-18 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:c9b96a68860bfdee49d40b4a844af7c5ef69cd12 commit r15-1394-gc9b96a68860bfdee49d40b4a844af7c5ef69cd12 Author: Martin Uecker Date: Sat May 18 22:00:04 2024 +0200 c23: Fix for redeclared enumerator initialized with different type [PR115109] c23 specifies that the

[gcc r15-934] C23: allow aliasing for types derived from structs with variable size

2024-05-30 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:d2cfe8a73b3c4195a25cde28e1641ef36ebb08c1 commit r15-934-gd2cfe8a73b3c4195a25cde28e1641ef36ebb08c1 Author: Martin Uecker Date: Fri May 24 12:35:27 2024 +0200 C23: allow aliasing for types derived from structs with variable size Previously, we set the aliasing

[gcc r15-933] C: allow aliasing of compatible types derived from enumeral types [PR115157]

2024-05-30 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:867d1264fe71d4291194373d1a1c409cac97a597 commit r15-933-g867d1264fe71d4291194373d1a1c409cac97a597 Author: Martin Uecker Date: Sun May 19 23:13:22 2024 +0200 C: allow aliasing of compatible types derived from enumeral types [PR115157] Aliasing of enumeral type

[gcc r15-912] C23: fix aliasing for structures/unions with incomplete types

2024-05-29 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:86b98d939989427ff025bcfd536ad361fcdc699c commit r15-912-g86b98d939989427ff025bcfd536ad361fcdc699c Author: Martin Uecker Date: Sat Mar 30 19:49:48 2024 +0100 C23: fix aliasing for structures/unions with incomplete types When incomplete structure/union types ar

[gcc r15-825] c: Fix for some variably modified types not being recognized [PR114831]

2024-05-24 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:9f1798c1a93257526196a3c19828e40fb28ac551 commit r15-825-g9f1798c1a93257526196a3c19828e40fb28ac551 Author: Martin Uecker Date: Sat May 18 14:40:02 2024 +0200 c: Fix for some variably modified types not being recognized [PR114831] We did not evaluate expression

[gcc r14-9805] Revert "Fix ICE with -g and -std=c23 related to incomplete types [PR114361]"

2024-04-05 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:8057f9aa1f7e70490064de796d7a8d42d446caf8 commit r14-9805-g8057f9aa1f7e70490064de796d7a8d42d446caf8 Author: Martin Uecker Date: Fri Apr 5 12:14:56 2024 +0200 Revert "Fix ICE with -g and -std=c23 related to incomplete types [PR114361]" This reverts commit 871bb

[gcc r14-9763] Fix ICE with -g and -std=c23 related to incomplete types [PR114361]

2024-04-02 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:871bb5ad2dd56343d80b6a6d269e85efdce5 commit r14-9763-g871bb5ad2dd56343d80b6a6d269e85efdce5 Author: Martin Uecker Date: Thu Mar 28 19:15:40 2024 +0100 Fix ICE with -g and -std=c23 related to incomplete types [PR114361] We did not copy TYPE_CANONICAL to