This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]