]> granicus.if.org Git - clang/commit
Remove attributes minsize and optsize, which conflict with optnone.
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 21 Sep 2015 18:52:24 +0000 (18:52 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 21 Sep 2015 18:52:24 +0000 (18:52 +0000)
commit6a4327660fd9ce992f454974f33586688f814dcf
treeac67064feb734dc231f6dc4cf9f9f35c57558e8d
parent9ff93ed3adeff336bb72484d3a481f66a8342070
Remove attributes minsize and optsize, which conflict with optnone.

This commit fixes an assert that is triggered when optnone is being
added to an IR function that is already marked with minsize and optsize.

rdar://problem/22723716

Differential Revision: http://reviews.llvm.org/D13004

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248191 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGen/attr-func-def.c [new file with mode: 0644]