https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84599
Bug ID: 84599 Summary: following code gives different output for normal compilation and -O2 compiler. Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sushvish1 at gmail dot com Target Milestone: --- Created attachment 43520 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43520&action=edit Giving different output for same code base ideally it should give same output for normal g++ compilation and g++ -O2 compilationnnn