[Bug middle-end/88175] Showing header file instead of source code line for uninitialized variable

jg at jguk dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 24 14:57:00 GMT 2018


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

--- Comment #8 from Jonny Grant <jg at jguk dot org> ---
Hi Jonathan

Do you agree this warning output should be changed to clarify?

I understand your reply about it being non-POD when a C++ STL string is added.
Which adds the implicitly-defined copy constructor. Should it not say
"implicitly-defined copy constructor for 'struct info'"? instead of "this
function" ?

Think also better for GCC to show the typedef 'info_t' - would you agree? GCC
might be outputting a lot of unnecessary output...

Jonny


More information about the Gcc-bugs mailing list