public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: jakub@redhat.com
Cc: jason@redhat.com, gcc-patches@gcc.gnu.org
Subject: Re: [C++ PATCH] -Wsizeof-pointer-memaccess warning (take 2)
Date: Thu, 11 Oct 2012 00:41:00 -0000	[thread overview]
Message-ID: <201210110013.q9B0DWaE013816@ignucius.se.axis.com> (raw)
In-Reply-To: <20121002125629.GJ1787@tucnak.redhat.com> (message from Jakub	Jelinek on Tue, 2 Oct 2012 14:56:29 +0200)

> From: Jakub Jelinek <jakub@redhat.com>
> Date: Tue, 2 Oct 2012 14:56:29 +0200

> 2012-10-02  Jakub Jelinek  <jakub@redhat.com>
> 
> cp/
>         * cp-tree.h (SIZEOF_EXPR_TYPE_P): Define.
>         * tree.c (cp_tree_equal): Handle SIZEOF_EXPR with
>         SIZEOF_EXPR_TYPE_P.
...etc.

Looks like this caused a regression; PR54897, where the error
message seems to indicate an ABI change.

There's now an "excess error":

x/libstdc++-v3/testsuite/23_containers/bitset/45713.cc:24:55:
error: size of array 'test' is not an integral constant-expression
 int test[sizeof(std::bitset<0xffffffff>) != 1 ? 1 : -1];

Or is the error message in error and just "missing" before?
Please have a look.

brgds, H-P

  parent reply	other threads:[~2012-10-11  0:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 19:20 [C++ PATCH] -Wsizeof-pointer-memaccess warning Jakub Jelinek
2012-09-19 13:58 ` Jason Merrill
2012-09-25 16:28   ` Jakub Jelinek
2012-10-02 12:57     ` [C++ PATCH] -Wsizeof-pointer-memaccess warning (take 2) Jakub Jelinek
2012-10-03  9:14       ` Dodji Seketeli
2012-10-03  9:43         ` Jakub Jelinek
2012-10-05 13:45       ` Jason Merrill
2012-10-11  0:41       ` Hans-Peter Nilsson [this message]
2012-10-11 11:54         ` Committed, PR54897 (was: [C++ PATCH] -Wsizeof-pointer-memaccess warning (take 2)) Hans-Peter Nilsson
2012-10-26 13:36       ` [C++ PATCH] -Wsizeof-pointer-memaccess warning (take 2) Roman Zhuykov

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=201210110013.q9B0DWaE013816@ignucius.se.axis.com \
    --to=hans-peter.nilsson@axis.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=jason@redhat.com \
    /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).