public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6262: [3.4 regression] Incorrect error message reported when applying sizeof() to non-static class member
@ 2003-01-22 21:32 bangerth
  0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-01-22 21:32 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, neil

Old Synopsis: Incorrect error message reported when applying sizeof() to non-static class member
New Synopsis: [3.4 regression] Incorrect error message reported when applying sizeof() to non-static class member

State-Changed-From-To: feedback->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 22 21:32:04 2003
State-Changed-Why:
    With present 3.4, this now even gives an ICE:
    ---------------------------
    #include <iostream>
    
    struct X {
      char x[1];
    };
    
    struct Y {
      Y() { std::cout << sizeof(X::x); }
    };
    -----------------------------
    (That's the first example in the PR). There was no ICE
    in the 3.3 branch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6262


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-22 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 21:32 c++/6262: [3.4 regression] Incorrect error message reported when applying sizeof() to non-static class member bangerth

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