[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
--- Comment #8 from gdr at gcc dot gnu dot org 2007-02-03 16:19 --- Fixed in GCC-4.1.2 -- gdr at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|4.0.4 |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26559
[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
--- Comment #7 from jakub at gcc dot gnu dot org 2006-06-29 11:49 --- Subject: Bug 26559 Author: jakub Date: Thu Jun 29 11:49:07 2006 New Revision: 115067 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115067 Log: 2006-06-14 Mark Mitchell [EMAIL PROTECTED] PR c++/26559 * c-common.h (c_finish_omp_atomic): Adjust declaration. * c-omp.c (c_finish_omp_atomic): Return the expression to perform, rather than calling add_stmt on it. * c-parser.c (c_parser_omp_atomic): Adjust accordingly. * pt.c (tsubst_expr): Use finish_omp_atomic. * semantics.c (finish_omp_atomic): Rework to use standard paradigms for handling non-dependent expressions. * g++.dg/gomp/tpl-atomic-2.C: Remove XFAIL. Modified: branches/redhat/gcc-4_1-branch/gcc/ChangeLog branches/redhat/gcc-4_1-branch/gcc/c-common.h branches/redhat/gcc-4_1-branch/gcc/c-omp.c branches/redhat/gcc-4_1-branch/gcc/c-parser.c branches/redhat/gcc-4_1-branch/gcc/cp/ChangeLog branches/redhat/gcc-4_1-branch/gcc/cp/pt.c branches/redhat/gcc-4_1-branch/gcc/cp/semantics.c branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/redhat/gcc-4_1-branch/gcc/testsuite/g++.dg/gomp/tpl-atomic-2.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26559
[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-06-15 05:29 --- Fixed in 4.1.2. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu ||dot org Status|ASSIGNED|NEW Summary|[4.0/4.1 Regression] ICE|[4.0 Regression] ICE with |with __builtin_constant_p in|__builtin_constant_p in |template argument |template argument http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26559
[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
--- Comment #6 from mmitchel at gcc dot gnu dot org 2006-06-15 05:49 --- Subject: Bug 26559 Author: mmitchel Date: Thu Jun 15 05:49:19 2006 New Revision: 114671 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114671 Log: PR c++/26559 * pt.c (tsubst_expr): Use finish_omp_atomic. (value_dependent_expression_p): All CALL_EXPRs are dependent. * semantics.c (finish_omp_atomic): Rework to use standard paradigms for handling non-dependent expressions. Modified: trunk/gcc/cp/semantics.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26559