[Bug debug/121411] ctf type size truncated for large data types

2025-09-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #16 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:bace01eeab69cabd0a326174909ced554af85c79 commit r16-3889-gbace01eeab69cabd0a326174909ced554af85c79 Author: David Faust Date: Mon

[Bug debug/121411] ctf type size truncated for large data types

2025-09-10 Thread nick.alcock at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #15 from Nick Alcock --- fyi, I'm planning to put one of those in libctf regardless (already have the testcase).

[Bug debug/121411] ctf type size truncated for large data types

2025-09-10 Thread martin.pirker1 at chello dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #14 from Martin Pirker --- (In reply to GCC Commits from comment #12) > The master branch has been updated by David Faust : > > https://gcc.gnu.org/g:50efa788a4b6c7f619101b6156b47b91124c6dd3 > > commit r16-3723-g50efa788a4b6c7f6191

[Bug debug/121411] ctf type size truncated for large data types

2025-09-10 Thread martin.pirker1 at chello dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #13 from Martin Pirker --- (In reply to GCC Commits from comment #12) > The master branch has been updated by David Faust : > > https://gcc.gnu.org/g:50efa788a4b6c7f619101b6156b47b91124c6dd3 > > commit r16-3723-g50efa788a4b6c7f6191

[Bug debug/121411] ctf type size truncated for large data types

2025-09-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #12 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:50efa788a4b6c7f619101b6156b47b91124c6dd3 commit r16-3723-g50efa788a4b6c7f619101b6156b47b91124c6dd3 Author: David Faust Date: Thu

[Bug debug/121411] ctf type size truncated for large data types

2025-08-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 Sam James changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug debug/121411] ctf type size truncated for large data types

2025-08-29 Thread martin.pirker1 at chello dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #11 from Martin Pirker --- (In reply to Indu Bhagat from comment #8) > (In reply to Martin Pirker from comment #4) > > > Finally 'ld' is confused by ctf_lmember_t records. > > > > Can you provide details / testcase on ld issue you

[Bug debug/121411] ctf type size truncated for large data types

2025-08-29 Thread martin.pirker1 at chello dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 Martin Pirker changed: What|Removed |Added CC||martin.pirker1 at chello dot at --- Com

[Bug debug/121411] ctf type size truncated for large data types

2025-08-28 Thread nick.alcock at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #9 from Nick Alcock --- We don't have enough tests in binutils for huge structures anyway. I'll see if I can whip something up in the libctf testsuite. (CTFv4 *also* has special treatment of large structures, though for different rea

[Bug debug/121411] ctf type size truncated for large data types

2025-08-28 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #8 from Indu Bhagat --- (In reply to Martin Pirker from comment #4) > Finally 'ld' is confused by ctf_lmember_t records. > Can you provide details / testcase on ld issue you see ? Thanks

[Bug debug/121411] ctf type size truncated for large data types

2025-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #7 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:de04eb4ccaa77b048bca367e71d0af7de12258d1 commit r16-3401-gde04eb4ccaa77b048bca367e71d0af7de12258d1 Author: David Faust Date: Tue A

[Bug debug/121411] ctf type size truncated for large data types

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #6 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:c77d79785d32b30502c8bcd6aa53b63d715bb124 commit r16-3379-gc77d79785d32b30502c8bcd6aa53b63d715bb124 Author: David Faust Date: Wed A

[Bug debug/121411] ctf type size truncated for large data types

2025-08-08 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #5 from David Faust --- Yeah, looks like there are multiple inconsistencies with uint32/unsigned int versus unsigned HOST_WIDE_INT when fetching values from the DWARF DIEs. The issues with arrays is one, bit_size in gen_ctf_sou_type

[Bug debug/121411] ctf type size truncated for large data types

2025-08-08 Thread martin.pirker1 at chello dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #4 from Martin Pirker --- Array was a bad example, actually I meant struct or union. bit_size in gcc/dwarf2ctf.cc:gen_ctf_sou_type() should be a 64bit type. Then ctf_add_sou() creates a type info with correct struct or union byte si

[Bug debug/121411] ctf type size truncated for large data types

2025-08-05 Thread nick.alcock at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #3 from Nick Alcock --- Agreed. BTF is no better here, alas, since the kernel will never need anything so huge... but this is an area where CTFv4 could encode a big array differently, I suppose. Not designed yet. I wonder if we could

[Bug debug/121411] ctf type size truncated for large data types

2025-08-05 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 David Faust changed: What|Removed |Added CC||nick.alcock at oracle dot com --- Comment

[Bug debug/121411] ctf type size truncated for large data types

2025-08-05 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #2 from David Faust --- Created attachment 62061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62061&action=edit proposed patch Use unsigned HOST_WIDE_INT (which should always be 64 bits) when calculating the array bounds so