[Bug c/48517] [4.6/4.7 Regression] ICE in build_unary_op, at c-typeck.c:3786
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 12 06:53:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48517
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-12 06:53:17 UTC ---
Author: jakub
Date: Tue Apr 12 06:53:13 2011
New Revision: 172300
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172300
Log:
PR c/48517
* c-typeck.c (store_init_value): Set TREE_TYPE (decl) to
qualified type.
* gcc.c-torture/compile/pr48517.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr48517.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/c-typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list