public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/26559] [4.0/4.1/4.2 Regression] ICE with __builtin_constant_p in template argument
Date: Thu, 15 Jun 2006 03:35:00 -0000	[thread overview]
Message-ID: <20060615032649.1321.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26559-5724@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-06-15 03:26 -------
Subject: Bug 26559

Author: mmitchel
Date: Thu Jun 15 03:26:38 2006
New Revision: 114665

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114665
Log:
2006-06-14  Mark Mitchell  <mark@codesourcery.com>

        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.

2006-06-14  Mark Mitchell  <mark@codesourcery.com>

        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.

2006-06-14  Mark Mitchell  <mark@codesourcery.com>

        PR c++/26559
        * g++.dg/template/builtin1.C: New test.
        * g++.dg/gomp/tpl-atomic-2.C: Remove XFAIL.

Added:
    trunk/gcc/testsuite/g++.dg/template/builtin1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.h
    trunk/gcc/c-omp.c
    trunk/gcc/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/gomp/tpl-atomic-2.C


-- 


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


  parent reply	other threads:[~2006-06-15  3:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04 16:14 [Bug c++/26559] New: " debian-gcc at lists dot debian dot org
2006-03-04 16:20 ` [Bug c++/26559] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-11  3:20 ` mmitchel at gcc dot gnu dot org
2006-06-04 17:57 ` mmitchel at gcc dot gnu dot org
2006-06-14  2:16 ` mmitchel at gcc dot gnu dot org
2006-06-15  3:35 ` mmitchel at gcc dot gnu dot org [this message]
2006-06-15  3:39 ` [Bug c++/26559] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-06-15  5:29 ` mmitchel at gcc dot gnu dot org
2006-06-15  5:49 ` [Bug c++/26559] [4.0 " mmitchel at gcc dot gnu dot org
2006-06-15  6:01 ` mmitchel at gcc dot gnu dot org
2006-06-29 12:17 ` jakub at gcc dot gnu dot org
2007-02-03 16:19 ` gdr at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060615032649.1321.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).