[patch, ARM] Fix PR45447

Richard Guenther richard.guenther@gmail.com
Thu Sep 30 15:35:00 GMT 2010


On Thu, Sep 30, 2010 at 1:10 PM, Yao Qi <yao@codesourcery.com> wrote:
>
> We created a struct type for va_list to follow ARM ABI, but TREE_CHAIN
> (va_list_type) is *not* set properly.  This problem causes segmentation
> fault reported in PR45447.
>
> This patch is to address this problem.  Regression test for
> arm-none-linux-gnueabi is still running.  OK to trunk/4.5/4.4 if no
> regression?

Err - why do you think assigning to TREE_CHAIN makes sense?
I think you want to use TYPE_STUB_DECL instead.

> --
> Yao Qi
> CodeSourcery
> yao@codesourcery.com
> (650) 331-3385 x739
>



More information about the Gcc-patches mailing list