[Bug c++/21951] [gcc-4.0 regression, rejects-valid] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Jun 7 18:12:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-06-07 18:12 -------
> You may retartget this pr to fixing the silliness in libstdc++, if you want.

And the "silliness" would be? Personally, I'm finding quite a bit of silliness
in this remark, to tell you the truth and indeed, mainline is ok, probably the
current compiler judges that "silliness" not so silly, after all.

When -fno-exceptions, the catch becomes simply an 'if (false)' and I don't see
why the implementors of v3 have necessarily to care about the branch not
returning.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21951



More information about the Gcc-bugs mailing list