public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16853] New: [3.4/3.5 regression] pointer-to-member initialization from incompatible one accepted
@ 2004-08-02  9:13 reichelt at gcc dot gnu dot org
  2004-08-02  9:15 ` [Bug c++/16853] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-02  9:13 UTC (permalink / raw)
  To: gcc-bugs

The following problem is another spin-off from PR 13092
(inspired by Andrei Gaponenko's submission in comment #20).
It does compile on 3.4 branch and mainline although it shouldn't:

===========================
struct A {};
struct B {};

int B::* b;
int A::* a = b;
===========================

-- 
           Summary: [3.4/3.5 regression] pointer-to-member initialization
                    from incompatible one accepted
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-12  0:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-02  9:13 [Bug c++/16853] New: [3.4/3.5 regression] pointer-to-member initialization from incompatible one accepted reichelt at gcc dot gnu dot org
2004-08-02  9:15 ` [Bug c++/16853] " reichelt at gcc dot gnu dot org
2004-08-02  9:42 ` pinskia at gcc dot gnu dot org
2004-08-11 22:38 ` mmitchel at gcc dot gnu dot org
2004-08-12  0:34 ` cvs-commit at gcc dot gnu dot org
2004-08-12  0:43 ` cvs-commit at gcc dot gnu dot org
2004-08-12  0:51 ` mmitchel at gcc dot gnu dot org

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).