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
* [Bug c++/14051] [3.4/3.5 regression] 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 ` 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 ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: gcc at magfr dot user dot lysator dot liu dot se @ 2004-02-06 19:30 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From gcc at magfr dot user dot lysator dot liu dot se 2004-02-06 19:30 ------- Created an attachment (id=5700) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5700&action=view) File demonstrating the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14051 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/14051] [3.4/3.5 regression] rejects legal code dealing with enums 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 ` 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 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-06 19:37 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 19:37 ------- Confirmed. A regression. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Known to fail| |3.4.0 3.5.0 Known to work| |3.3.1 Last reconfirmed|0000-00-00 00:00:00 |2004-02-06 19:37:56 date| | Summary|[3.4/3.5 regression] |[3.4/3.5 regression] rejects | |legal code dealing with | |enums Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14051 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/14051] [3.4/3.5 regression] rejects legal code dealing with enums 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 3 siblings, 0 replies; 5+ messages in thread From: bangerth at dealii dot org @ 2004-02-06 21:16 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bangerth at dealii dot org 2004-02-06 21:16 ------- I think I've seen a duplicate of this (someone should search for enum and indexing arrays or so). W. -- What |Removed |Added ---------------------------------------------------------------------------- Known to work|3.3.1 |3.3.1 3.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14051 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/14051] [3.4/3.5 regression] rejects legal code dealing with enums 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 ` (2 preceding siblings ...) 2004-02-06 21:16 ` bangerth at dealii dot org @ 2004-02-06 21:19 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-06 21:19 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 21:19 ------- This is a dup of bug 13696. *** This bug has been marked as a duplicate of 13696 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE 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).