This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r243048 - /branches/ARM/sve-branch/gcc/omp-low.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Nov 2016 19:07:17 -0000
- Subject: r243048 - /branches/ARM/sve-branch/gcc/omp-low.c
Author: rsandifo
Date: Wed Nov 30 19:07:17 2016
New Revision: 243048
URL: https://gcc.gnu.org/viewcvs?rev=243048&root=gcc&view=rev
Log:
Add asserts to (maybe_)lookup_decl_in_outer_ctx
[Branch only patch -- not intended for trunk in its current state]
This patch adds asserts that raise an internal compiler error if
(maybe_)lookup_decl_in_outer_ctx is about to return error_mark_node.
The idea is to make the problem visible even in release builds,
whereas previously it would result in unpredictable segfaults.
This is just a placeholder until we have a fix for the bug
that triggers the condition.
Modified:
branches/ARM/sve-branch/gcc/omp-low.c