This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2008 21:13:39 -0000
- Subject: [Bug c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization
- References: <bug-37016-16558@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from rguenther at suse dot de 2008-08-04 21:13 -------
Subject: Re: [4.3/4.4 Regression] member function pointer
failure with optimization
On Mon, 4 Aug 2008, rguenther at suse dot de wrote:
> ------- Comment #13 from rguenther at suse dot de 2008-08-04 21:11 -------
> Subject: Re: [4.3/4.4 Regression] member function pointer
> failure with optimization
>
> So I would prefer if
> you add those to the AGGREGATE_TYPE_P case instead of letting
> it fall-through to the "default" case - we should probably add
> some gcc_unreachable () to make sure we handled all cases.
On a second thought this is probably not so good, but a
/* Fallthrough. */ comment would be nice for the AGGREGATE_TYPE_P case.
Thanks,
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37016