re PR middle-end/14997 (ncurses build fails with Ada)
authorOlivier Hainque <hainque@adacore.com>
Tue, 6 Sep 2005 19:46:58 +0000 (19:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 6 Sep 2005 19:46:58 +0000 (19:46 +0000)
commit60a23e2e02d5fafd887891c0fd910f7fdc760055
treea66d1ad60cf6547def8ae7569332633b548ddf3d
parent29a153937a9c2c93a6f69b3b0dbf2f9dedfed943
re PR middle-end/14997 (ncurses build fails with Ada)

PR middle-end/14997
* expr.c (expand_expr_real) <normal_inner_ref>: Force op0 to mem
when we would be extracting outside its bit span (bitpos+bitsize
larger than its mode), possible with some VIEW_CONVERT_EXPRs from
Ada unchecked conversions.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r103963
gcc/ChangeLog
gcc/expr.c