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 middle-end/50141] ICE: tree check: expected var_decl, have parm_decl in get_bit_range, at expr.c:4357 with --param allow-store-data-races=0 and bitfields


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-22 15:00:13 UTC ---
Author: jakub
Date: Mon Aug 22 15:00:06 2011
New Revision: 177957

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177957
Log:
    PR middle-end/50141
    * expr.c (get_bit_range): Only use DECL_THREAD_LOCAL_P if
    innerdecl is a VAR_DECL.

    * c-c++-common/cxxbitfields-6.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/cxxbitfields-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


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