http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58192
Kenton Varda <temporal at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30672|0 |1 is obsolete| | --- Comment #3 from Kenton Varda <temporal at gmail dot com> --- Created attachment 30673 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30673&action=edit Demonstration of enum class passing bug (v2) The first version of my demo was doing slightly weird things with unions in main(). This was vestigial code from my attempts to narrow down the bug, but wasn't actually necessary to trigger it. So, I simplified it.