This is the mail archive of the gcc-patches@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]

Re: PATCH: two testcases for g++ bugs in latest snapshots. (committed)



>>>>> "Robert" == Robert Lipe <robertl@dgii.com> writes:

[...]

    Robert> I see it whining about no match for foo(void).  Is this
    Robert> your intent?  Please verify this testcase.

No, I see:
/egcs/egcs/bin/g++ -c -Wall -O -fgcse -frerun-loop-opt eb132.C 
eb132.C: In method `void a::bar()':
eb132.C:23: warning: `class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:200: warning: `class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:162: warning: `const class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function
/egcs/egcs/include/g++/std/bastring.h:120: warning: `const class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > * this' might be used uninitialized in this function

Maybe the `-c' got left out somehow when you pass the special options to
g++ (then the linker complains).

-- Thank's, kga
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II            Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------


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