[Bug c/117490] Invalid TBAA for structures without tag and compatible definition in C.

2024-11-07 Thread keinfluegeltier at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #2 from keinfluegeltier at posteo dot de --- The aliasing rule in ยง6.5.1 does not forbid the access if the lvalue used has "_a type compatible with the effective type of the object_". The effective type of `x` is the declared one, wh

[Bug c/117490] New: Invalid TBAA for structures without tag and identical definition in C.

2024-11-07 Thread keinfluegeltier at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 Bug ID: 117490 Summary: Invalid TBAA for structures without tag and identical definition in C. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116622] New: Invalid character/string literals incorrectly accepted in C++ during preprocessing after P2621R2.

2024-09-05 Thread keinfluegeltier at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116622 Bug ID: 116622 Summary: Invalid character/string literals incorrectly accepted in C++ during preprocessing after P2621R2. Product: gcc Version: 15.0 Status: UNCONFIRMED