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++/32177] g++ crashes on some valid OpenMP code



------- Comment #4 from jakub at gcc dot gnu dot org  2007-06-07 23:11 -------
Subject: Bug 32177

Author: jakub
Date: Thu Jun  7 23:11:23 2007
New Revision: 125544

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125544
Log:
        PR c++/32177
        * semantics.c (finish_omp_for): Call fold_build_cleanup_point_expr
        on init, the non-decl cond operand and increment value.

        * g++.dg/gomp/pr32177.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr32177.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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