]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
c:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Sep 2012 21:16:56 +0000 (21:16 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Sep 2012 21:16:56 +0000 (21:16 +0000)
commitc4b1a13a1269a7648fd073413fa3571007f9c07e
treee2e2bde40ff1e0181abebbb3485df74d9578ddcf
parent9bb302db6a53da32ace554dda0ec541a6508865f
c:
PR c/54552
* c-typeck.c (c_cast_expr): When casting to a type requiring
C_MAYBE_CONST_EXPR to be created, pass the inner expression to
c_fully_fold first.

testsuite:
* gcc.c-torture/compile/pr54552-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191313 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr54552-1.c [new file with mode: 0644]