Re: [PATCH] debug/111409 - don't generate COMDAT macro sections for split DWARF

2023-09-19 Thread Omar Sandoval
On Tue, Sep 19, 2023 at 02:56:36PM +0200, Richard Biener wrote: > On Thu, Sep 14, 2023 at 8:42 AM Omar Sandoval wrote: > > > > Split DWARF files aren't processed by the linker, so DW_MACRO_import > > offsets aren't relocated and the .debug_macro.dwo sections are

[PATCH] debug/111409 - don't generate COMDAT macro sections for split DWARF

2023-09-13 Thread Omar Sandoval
ite/ChangeLog | 5 + gcc/testsuite/gcc.dg/pr111409.c | 7 +++ 4 files changed, 19 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/pr111409.c diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b69160b025d..2b0ff902f55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +

Re: [PATCH] DWARF: add DW_AT_count to zero-length arrays

2018-08-28 Thread Omar Sandoval
On Fri, Aug 17, 2018 at 12:16:07AM -0700, Omar Sandoval wrote: > On Thu, Aug 16, 2018 at 11:54:53PM -0700, Omar Sandoval wrote: > > On Thu, Aug 16, 2018 at 10:27:48PM -0700, Andrew Pinski wrote: > > > On Thu, Aug 16, 2018 at 9:29 PM Omar Sandoval wrote: > > > > &g

Re: [PATCH] DWARF: add DW_AT_count to zero-length arrays

2018-08-17 Thread Omar Sandoval
On Thu, Aug 16, 2018 at 11:54:53PM -0700, Omar Sandoval wrote: > On Thu, Aug 16, 2018 at 10:27:48PM -0700, Andrew Pinski wrote: > > On Thu, Aug 16, 2018 at 9:29 PM Omar Sandoval wrote: > > > > > > Hi, > > > > > > This fixes the issue that it is impossi

Re: [PATCH] DWARF: add DW_AT_count to zero-length arrays

2018-08-16 Thread Omar Sandoval
On Thu, Aug 16, 2018 at 10:27:48PM -0700, Andrew Pinski wrote: > On Thu, Aug 16, 2018 at 9:29 PM Omar Sandoval wrote: > > > > Hi, > > > > This fixes the issue that it is impossible to distinguish a zero-length > > array > > type from a flexible array type g

[PATCH] DWARF: add DW_AT_count to zero-length arrays

2018-08-16 Thread Omar Sandoval
ould it please be applied? Thanks! 2018-08-16 Omar Sandoval * dwarf2out.c (is_c_family): New. (add_subscript_info): Add DW_AT_count of 0 for C zero-length arrays. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 5a74131d332..b638942c156 100644 --- a/gcc/dwarf2out.c +++ b/g