This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The problem here is that gimplify_stmt can change the statement to NULL saying that we don't need add any statement. In the tree inliner we don't take that into account. OK? Bootstrapped and tested on x86_64-pc-linux-gnu with no regressions. Thanks, Andrew Pinski ChangeLog: * tree-inline.c (setup_one_parameter): If the init_stmt is NULL, don't insert the statement. testsuite/ChangeLog: * gcc.c-torture/compile/zero-strct-5.c: New test.
Attachment:
fixPR23492.diff.txt
Description: ASCII English text
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |