[Bug c++/85882] Value of local variable changes unintentionally if certain optimization are enabled

2018-05-22 Thread stefan.bolus at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85882 --- Comment #3 from Stefan Bolus --- btw. The code in the example is an adaption from Apache Thrift.

[Bug c++/85882] Value of local variable changes unintentionally if certain optimization are enabled

2018-05-22 Thread stefan.bolus at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85882 --- Comment #2 from Stefan Bolus --- Created attachment 44169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44169&action=edit Example to reproduce the error.

[Bug c++/85882] New: Value of local variable changes unintentionally if certain optimization are enabled

2018-05-22 Thread stefan.bolus at gmx dot de
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stefan.bolus at gmx dot de Target Milestone: --- In the method ... void readMessageBegin() { int32_t sz; readI32(sz); // Emulates reading from wire, `sz

[Bug c++/52183] New: Redeclaration of __this in lambda inside template member function when calling static class function

2012-02-09 Thread stefan.bolus at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52183 Bug #: 52183 Summary: Redeclaration of __this in lambda inside template member function when calling static class function Classification: Unclassified Product: gcc Version: 4.7.