[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-29 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #13 from Tom Tromey --- This is fixed on trunk now. I think that means it'll be in GCC 14... ? Which maybe I shouldn't have done according to the current status. Anyway, I'm not sure any more how gcc manages bugs, so I don't know if

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #12 from GCC Commits --- The master branch has been updated by Tom Tromey : https://gcc.gnu.org/g:bc0e18a960f9dff3e740f4d0cb5b25b3f68d920a commit r14-9239-gbc0e18a960f9dff3e740f4d0cb5b25b3f68d920a Author: Tom Tromey Date: Mon

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-21 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Tom Tromey changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tromey at gcc dot gnu.org ---

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Resolution|MOVED

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-20 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #9

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #8 from Andrew Pinski --- >(which is likely inherited from the default structure alignment requirement on >the platform) That is wrong assumption really. Since the ABI (the platform) says the alignment is type depedent and in this

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #6 from Andrew Pinski --- trunk gdb fails too.

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #5 from Andrew Pinski --- (In reply to Tan Senqi from comment #4) > (In reply to Andrew Pinski from comment #3) > I think gcc can generate a DW_AT_alignment for my struct to solve this > problem. But why the alignment is considered

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread tsqurt at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #4 from Tan Senqi --- (In reply to Andrew Pinski from comment #3) > For me with the trunk GCC we get: > ``` > (gdb) expr z[0]._[0] = 1 > gdb command line:1:1: error: size of array element is not a multiple of its > alignment >

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 --- Comment #3 from Andrew Pinski --- For me with the trunk GCC we get: ``` (gdb) expr z[0]._[0] = 1 gdb command line:1:1: error: size of array element is not a multiple of its alignment Compilation failed. (gdb) expr y[0]._[0] = 1 (gdb) expr

[Bug libcc1/113977] debug info for alignment of structure is unspecified

2024-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113977 Andrew Pinski changed: What|Removed |Added Component|debug |libcc1 --- Comment #2 from Andrew