commit | 8c6d2f0f033e0f4ee6e2af38bbf807899bff4ecc | [log] [tgz] |
---|---|---|
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | Fri Feb 15 07:38:09 2019 +0000 |
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | Fri Feb 15 07:38:09 2019 +0000 |
tree | c20914b1d6a929372243af28a01055edaba9e6ec | |
parent | 689babb363ddf897820573d1769c484756ac2188 [diff] |
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268926 138bc75d-0d04-0410-961f-82ee72b054a4