This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31246] Strange -Wunreachable-code warning with _GLIBCXX_DEBUG



------- Comment #18 from manu at gcc dot gnu dot org  2008-08-23 15:59 -------
(In reply to comment #0)
> Compiling the following with "-Wunreachable-code -D_GLIBCXX_DEBUG"
> --------------------------
> #include <vector>
> 
> int main()
> {
>   std::vector<int>::iterator a;
> }
> --------------------------
> 
> produces the warning :

I cannot reproduce this in GCC 4.4.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]