[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

boris at kolpackov dot net gcc-bugzilla@gcc.gnu.org
Tue Jul 12 16:27:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145

--- Comment #17 from Boris Kolpackov <boris at kolpackov dot net> ---
> if (is >> x >> y >> z)

And what should happen in the else part of such statements?

if (is >> x >> y >> z)
  ...
else
  throw something();

Also note that if the 'is >> x' call in the above chain fails, you will still
execute 'is >> y' and 'is >> z' before noticing the failure.


More information about the Gcc-bugs mailing list