This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21619] [4.0/4.1 regression] __builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2005 08:16:40 -0000
- Subject: [Bug c++/21619] [4.0/4.1 regression] __builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant
- References: <20050517114202.21619.rguenth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2005-06-01 08:16 -------
Subject: Re: [4.0/4.1 regression] __builtin_constant_p(&"Hello"[0])?1:-1
not compile-time constant
On 1 Jun 2005, pinskia at gcc dot gnu dot org wrote:
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-01 00:31 -------
> : Search converges between 2004-08-30-trunk (#529) and 2004-08-31-trunk (#530).
Top of cp/ChangeLog for these? I point my finger at
2004-08-31 Richard Henderson <rth@redhat.com>
PR c++/17221
* pt.c (tsubst_expr): Move OFFSETOF_EXPR handling ...
(tsubst_copy_and_build): ... here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21619