[Bug c++/67056] Wrong code generated

2015-08-04 Thread veg...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67056

Vegard Sjonfjell  changed:

   What|Removed |Added

 CC||veg...@yahoo-inc.com

--- Comment #5 from Vegard Sjonfjell  ---
Created attachment 36122
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36122&action=edit
Minimal failing example

We've tried to strip the code down to a minimal failing example. Compile with
-O3 -fPIC -std=c++11 (or std=c++14).


[Bug c++/67056] Wrong code generated

2015-08-04 Thread veg...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67056

--- Comment #6 from Vegard Sjonfjell  ---
Created attachment 36123
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36123&action=edit
Preprocessed file

Also adding the preprocessed file.