This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14051] New: [3.4/3.5 regression]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]