public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85979] Diagnostic says "__alignof" when the source says "alignof"
Date: Sun, 07 May 2023 16:11:35 +0000	[thread overview]
Message-ID: <bug-85979-4-scooU74WuR@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-85979-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85979

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:f9777f1b56f2794ff6cbbbd69ca588747d8ccf67

commit r14-564-gf9777f1b56f2794ff6cbbbd69ca588747d8ccf67
Author: Patrick Palka <ppalka@redhat.com>
Date:   Sun May 7 12:10:39 2023 -0400

    c++: fix pretty printing of 'alignof' vs '__alignof__' [PR85979]

            PR c++/85979

    gcc/cp/ChangeLog:

            * cxx-pretty-print.cc (cxx_pretty_printer::unary_expression)
            <case ALIGNOF_EXPR>: Consider ALIGNOF_EXPR_STD_P.
            * error.cc (dump_expr) <case ALIGNOF_EXPR>: Likewise.

    gcc/testsuite/ChangeLog:

            * g++.dg/diagnostic/alignof4.C: New test.

  parent reply	other threads:[~2023-05-07 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-85979-4@http.gcc.gnu.org/bugzilla/>
2020-11-10 17:39 ` ppalka at gcc dot gnu.org
2021-04-27 11:38 ` jakub at gcc dot gnu.org
2021-07-28  7:04 ` rguenth at gcc dot gnu.org
2023-05-07 16:11 ` cvs-commit at gcc dot gnu.org [this message]
2023-05-07 16:14 ` ppalka at gcc dot gnu.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=bug-85979-4-scooU74WuR@http.gcc.gnu.org/bugzilla/ \
    --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).