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/51321] __builtin_types_compatible_p (any_type_t[1][], any_other_type_t) crashes GCC


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-30 19:55:41 UTC ---
Author: pinskia
Date: Wed Nov 30 19:55:36 2011
New Revision: 181857

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181857
Log:
2011-11-30  Andrew Pinski  <apinski@cavium.com>

    PR c/51321
    * c-parser.c (c_parser_postfix_expression): Check groktypename results
    before looking at the main variant.

2011-11-30  Andrew Pinski  <apinski@cavium.com>

    * gcc.dg/pr51321.c: New testcase.




Added:
    trunk/gcc/testsuite/gcc.dg/pr51321.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.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]