diff options
author | Marek Polacek <polacek@redhat.com> | 2014-04-25 11:04:40 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-04-25 11:04:40 +0000 |
commit | 45484dcfb14634ff30b409c58ecc754e9fd88b5c (patch) | |
tree | f5afc0c3e26bd0d19bac539f415596cf3bbeea28 /gcc/expr.c | |
parent | 707d775782ee1a899c86fe2477c5bfabb3231777 (diff) | |
download | gcc-45484dcfb14634ff30b409c58ecc754e9fd88b5c.zip gcc-45484dcfb14634ff30b409c58ecc754e9fd88b5c.tar.gz gcc-45484dcfb14634ff30b409c58ecc754e9fd88b5c.tar.bz2 |
re PR c/18079 (Contradicting function attributes (always_inline vs noinline))
PR c/18079
c/
* c-decl.c (diagnose_mismatched_decls): Warn for mismatched
always_inline/noinline and hot/cold attributes.
c-family/
* c-common.c (handle_noinline_attribute): Warn if the attribute
conflicts with always_inline attribute.
(handle_always_inline_attribute): Warn if the attribute conflicts
with noinline attribute.
testsuite/
* gcc.dg/pr18079.c: New test.
* gcc.dg/pr18079-2.c: New test.
From-SVN: r209796
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions