Prevent use of MEM_* attr accessor macros as lvalues
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 9 Dec 2016 14:34:48 +0000 (14:34 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 9 Dec 2016 14:34:48 +0000 (14:34 +0000)
commit6bd8a5c78f6c9b480936e88eff6b44e9ea0ed577
treeec488524deffd81934463b0cea19f04ff7637e0c
parentac9e52e72bb6a8aabec9a53d6e045b78dafacb45
Prevent use of MEM_* attr accessor macros as lvalues

gcc/ChangeLog:
* rtl.h (get_mem_attrs): Add "const" qualifier to returned
pointer.

From-SVN: r243487
gcc/ChangeLog
gcc/rtl.h