re PR middle-end/63884 (ICE: SIGSEGV in is_sec_implicit_index_fn with -fcilkplus...
authorMarek Polacek <polacek@redhat.com>
Sat, 15 Nov 2014 20:20:05 +0000 (20:20 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sat, 15 Nov 2014 20:20:05 +0000 (20:20 +0000)
commit8537a4a9f5701e82d7378ce434f265aafe8c9033
treeff148e79ad93f10015a49d49432f9e198d7b746c
parentd66a0f56fe77f373ad167ee29636cfdf195644e3
re PR middle-end/63884 (ICE: SIGSEGV in is_sec_implicit_index_fn with -fcilkplus and __builtin_sadd_overflow())

PR middle-end/63884
c-family/
* array-notation-common.c (is_sec_implicit_index_fn): Return false
for NULL fndecl.
(extract_array_notation_exprs): Return for NULL node.
testsuite/
* c-c++-common/cilk-plus/AN/pr63884.c: New test.

From-SVN: r217612
gcc/c-family/ChangeLog
gcc/c-family/array-notation-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/pr63884.c [new file with mode: 0644]