------- Comment #7 from gdr at cs dot tamu dot edu 2007-03-17 23:35 ------- Subject: Re: Strange -Wunreachable-code warning with _GLIBCXX_DEBUG
"pcarlini at suse dot de" <[EMAIL PROTECTED]> writes: | Note, however, that, as far as I can see, such try/catch are *not* in the | library code proper, but *all* synthesized by the C++ front-end. Is it so weird | to imagine for the C++ front-end to automatically suppress warning in such | case? I think this is a very general issue, which goes even beyond the already | general issue about pragma system headers: if the user writes such code and | sees such kind of warnings becomes *completely* confused. Gaby, do you have an | opinion? I agree with you Paolo. The front-end should make sure that its artefacts don't adversily affect diagnostics we emit. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31246