public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26696]  New: ICE with statement forming unused static member function reference
@ 2006-03-15 14:04 marco at technoboredom dot net
  2006-03-15 14:16 ` [Bug c++/26696] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: marco at technoboredom dot net @ 2006-03-15 14:04 UTC (permalink / raw)
  To: gcc-bugs

Testcase is short enough: 

struct A
{
        static void f() {}
}; 

int main() 
{
        A a; 
        a.f;    
}

Produces a segfault on the line where "a.f" occurs. It should instead issue the
warning "statement is a reference, not call, to function A::f". gcc 4.1.0 (at
least the experimental mingw cross compiler I'm using here) seems to be
affected too.


-- 
           Summary: ICE with statement forming unused static member function
                    reference
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marco at technoboredom dot net
 GCC build triplet: i586-suse-linux
  GCC host triplet: i586-suse-linux
GCC target triplet: i586-suse-linux


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


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

end of thread, other threads:[~2006-09-09 10:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-15 14:04 [Bug c++/26696] New: ICE with statement forming unused static member function reference marco at technoboredom dot net
2006-03-15 14:16 ` [Bug c++/26696] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-15 14:17 ` pinskia at gcc dot gnu dot org
2006-06-04 18:07 ` mmitchel at gcc dot gnu dot org
2006-06-30  1:17 ` dtemirbulatov at gmail dot com
2006-07-05 10:46 ` dtemirbulatov at gmail dot com
2006-07-05 18:26 ` dtemirbulatov at gmail dot com
2006-09-06  0:48 ` jason at gcc dot gnu dot org
2006-09-06 17:06 ` jason at gcc dot gnu dot org
2006-09-07 22:27 ` [Bug c++/26696] [4.0/4.1 " jason at gcc dot gnu dot org
2006-09-07 22:38 ` jason at gcc dot gnu dot org
2006-09-07 23:05 ` jason at gcc dot gnu dot org
2006-09-08 23:33 ` [Bug c++/26696] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2006-09-08 23:45 ` pinskia at gcc dot gnu dot org
2006-09-09 10:47 ` reichelt 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).