This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58192] New: G++ emits incorrect code when passing enum classes as function parameters
- From: "temporal at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Aug 2013 06:27:17 +0000
- Subject: [Bug c++/58192] New: G++ emits incorrect code when passing enum classes as function parameters
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58192
Bug ID: 58192
Summary: G++ emits incorrect code when passing enum classes as
function parameters
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: temporal at gmail dot com
Demonstration attached. It repros with g++ 4.8.1 (tested on Ubuntu and
Cygwin). I think I saw similar problems with g++ 4.7.3, but this particular
test case does not seem to repro with it.