--- Comment #3 from mark dot haines at openmarket dot com 2010-06-21 16:47
---
(In reply to comment #1)
> (In reply to comment #0)
> > The following program compiles with g++ -O3 without errors or warnings
>
> Not with warnings enabled it doesn't!
>
Sorry,
switch corrupts stack pointer.
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mark dot haines at openmarket dot com
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613