[Bug c++/90757] inlining skips function parameter initialization

2019-06-06 Thread martin.hierholzer at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757 --- Comment #2 from Martin Hierholzer --- Shouldn't all forms of this code then give an error message or at least a warning (preferably not something misleading like "used uninitialized")? I my opinion, it shouldn't matter whether the function is

[Bug c++/67054] Constructor inheritance with non-default constructible members

2016-12-02 Thread martin.hierholzer at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 --- Comment #2 from Martin Hierholzer --- I stumbled across this bug, too (and asked about it on stackoverflow, since I wasn't sure if it's valid C++11, see http://stackoverflow.com/questions/40932844/constructor-inheritance-and-direct-member-ini