This is the mail archive of the gcc-bugs@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]

[Bug c/48517] [4.6/4.7 Regression] ICE in build_unary_op, at c-typeck.c:3786


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48517

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-12 06:43:15 UTC ---
Author: jakub
Date: Tue Apr 12 06:43:12 2011
New Revision: 172299

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172299
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:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr48517.c
Modified:
    trunk/gcc/c-typeck.c


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