]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
PR middle-end/68582
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 2015 15:44:08 +0000 (15:44 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 2015 15:44:08 +0000 (15:44 +0000)
commit97fc724d4c862f555f1976df128a2ed420096c2c
treef379aee6d108102c1d3af28866f4af7a0127481b
parent28af9b9ca8e208d950904dd6b865a5dc57ab87d5
PR middle-end/68582
* cgraphunit.c (check_global_declaration): Only depend on TREE_THIS_VOLATILE
for VAR_DECLs.

* c-c++-common/pr68582.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231116 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr68582.c [new file with mode: 0644]