diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-02-15 08:38:09 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-02-15 08:38:09 +0100 |
commit | 5f88ba10e017ec213b0fc4e1b0cd63f3dfcb6660 (patch) | |
tree | c20914b1d6a929372243af28a01055edaba9e6ec /gcc/tree-loop-distribution.c | |
parent | f521d9d8ad83137bd2965556f2395a264efa80d7 (diff) | |
download | gcc-5f88ba10e017ec213b0fc4e1b0cd63f3dfcb6660.zip gcc-5f88ba10e017ec213b0fc4e1b0cd63f3dfcb6660.tar.gz gcc-5f88ba10e017ec213b0fc4e1b0cd63f3dfcb6660.tar.bz2 |
re PR c/89340 (ICE in function_and_variable_visibility, at ipa-visibility.c:707)
PR c/89340
* c-decl.c (start_function): Clear TREE_PUBLIC on nested functions
before c_decl_attributes rather than after it.
* gcc.dg/pr89340.c: New test.
* gcc.dg/torture/pr57036-2.c (jpgDecode_convert): Expect a warning
that leaf attribute on nested function is useless.
From-SVN: r268926
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions