Re: [PATCH v2] loongarch: ignore zero-size fields in calling convention

2022-04-27 Thread Lulu Cheng
I have pushed upstream. Thanks. Lulu Cheng 在 2022/4/27 下午7:45, Xi Ruoyao 写道: On Wed, 2022-04-27 at 14:57 +0800, Lulu Cheng wrote: I think the modification should be below. if (!TYPE_P (TREE_TYPE (f)))     return -1; I think (!TYPE_P (TREE_TYPE (f)) will never be tr

Re: [PATCH v2] loongarch: ignore zero-size fields in calling convention

2022-04-27 Thread Lulu Cheng
OK! 在 2022/4/27 下午7:45, Xi Ruoyao 写道: On Wed, 2022-04-27 at 14:57 +0800, Lulu Cheng wrote: I think the modification should be below. if (!TYPE_P (TREE_TYPE (f)))     return -1; I think (!TYPE_P (TREE_TYPE (f)) will never be true (the code handling calling conventio