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/35438] ICE with invalid use of threadprivate



------- Comment #2 from jakub at gcc dot gnu dot org  2008-03-10 19:41 -------
Subject: Bug 35438

Author: jakub
Date: Mon Mar 10 19:40:39 2008
New Revision: 133085

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133085
Log:
        PR c/35438
        PR c/35439
        * c-parser.c (c_parser_omp_threadprivate): Don't add vars with
        errorneous type.  Check that v is a VAR_DECL.

        * gcc.dg/gomp/pr35438.c: New test.
        * gcc.dg/gomp/pr35439.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr35438.c
    trunk/gcc/testsuite/gcc.dg/gomp/pr35439.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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