re PR middle-end/40340 (Fortification warning no longer emitted in inlines)
PR middle-end/40340 * tree-ssa-live.c (remove_unused_scope_block_p): Don't prune inlined_function_outer_scope_p blocks for artificial inlines even at -g0/-g1. * tree.c (tree_nonartificial_location): Rewrite using block_nonartificial_location. * gcc.dg/pr40340-1.c: New test. * gcc.dg/pr40340-2.c: New test. * gcc.dg/pr40340-3.c: New test. * gcc.dg/pr40340-4.c: New test. * gcc.dg/pr40340-5.c: New test. * gcc.dg/pr40340.h: New file. From-SVN: r148212
Showing
gcc/testsuite/gcc.dg/pr40340-1.c
0 → 100644
gcc/testsuite/gcc.dg/pr40340-2.c
0 → 100644
gcc/testsuite/gcc.dg/pr40340-3.c
0 → 100644
gcc/testsuite/gcc.dg/pr40340-4.c
0 → 100644
gcc/testsuite/gcc.dg/pr40340-5.c
0 → 100644
gcc/testsuite/gcc.dg/pr40340.h
0 → 100644
Please
register
or
sign in
to comment