Replace unreachable code with an assert.
authorMartin Sebor <msebor@redhat.com>
Tue, 11 May 2021 19:58:48 +0000 (13:58 -0600)
committerMartin Sebor <msebor@redhat.com>
Tue, 11 May 2021 19:58:48 +0000 (13:58 -0600)
commitde09c0ddb81e2dc0e35c2e362532e93ca417200c
treebb41e2f9afb5bd60a6a7fd1f6608f318dfdf8d9a
parent3e3fdf3d5217e5a2d075ca399b557b2e886dcd18
Replace unreachable code with an assert.

Resolves:
PR middle-end/21433 - The COMPONENT_REF case of expand_expr_real_1 is probably wrong

gcc/ChangeLog:

PR middle-end/21433
* expr.c (expand_expr_real_1): Replace unreachable code with an assert.
gcc/expr.c