public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14051] New: [3.4/3.5 regression]
@ 2004-02-06 19:29 gcc at magfr dot user dot lysator dot liu dot se
  2004-02-06 19:30 ` [Bug c++/14051] " gcc at magfr dot user dot lysator dot liu dot se
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gcc at magfr dot user dot lysator dot liu dot se @ 2004-02-06 19:29 UTC (permalink / raw)
  To: gcc-bugs

The attached file bug.C causes the following output while I expected it to
succeed.

$ g++ -c bug.C
bug.C: In member function `s1::s1s1 s1::m1(s1::e1, s1::e2)':
bug.C:15: error: conversion from `struct s1::s1s1*' to `enum s1::e1'
bug.C:15: error: conversion from `struct s1::s1s1*' to `enum s1::e2'

My g++ is configured as follows:

$ g++ -v
Reading specs from /usr/local/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc/configure --prefix=/usr/local/gcc-3.4 --disable-nls
--enable-languages=c,c++ --enable-__cxa_atexit --disable-checking
--with-system-zlib --verbose
Thread model: posix
gcc version 3.4.0 20040206 (prerelease)

-- 
           Summary: [3.4/3.5 regression]
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at magfr dot user dot lysator dot liu dot se
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2004-02-06 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-06 19:29 [Bug c++/14051] New: [3.4/3.5 regression] gcc at magfr dot user dot lysator dot liu dot se
2004-02-06 19:30 ` [Bug c++/14051] " gcc at magfr dot user dot lysator dot liu dot se
2004-02-06 19:37 ` [Bug c++/14051] [3.4/3.5 regression] rejects legal code dealing with enums pinskia at gcc dot gnu dot org
2004-02-06 21:16 ` bangerth at dealii dot org
2004-02-06 21:19 ` pinskia 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).