re PR middle-end/64391 (ICE: SIGSEGV in get_attrs_for (trans-mem.c:179) with -fgnu...
authorMarek Polacek <polacek@redhat.com>
Tue, 13 Jan 2015 20:22:32 +0000 (20:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 13 Jan 2015 20:22:32 +0000 (20:22 +0000)
commit59b8926c6fe2f4320babf3fd7e7d1ca8731e3890
treee39e09b979d73d5d016e7c962b1b08704e0bbd9b
parentee57ebbf2b503f9bf1cdad544090402c269538f7
re PR middle-end/64391 (ICE: SIGSEGV in get_attrs_for (trans-mem.c:179) with -fgnu-tm and #pragma GCC ivdep)

PR middle-end/64391
* trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.

* gcc.dg/tm/pr64391.c: New test.

From-SVN: r219555
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tm/pr64391.c [new file with mode: 0644]
gcc/trans-mem.c