This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 build/19444] build failures with -O1 due to -Wmaybe-uninitialized


https://sourceware.org/bugzilla/show_bug.cgi?id=19444

--- Comment #5 from Martin Sebor <msebor at redhat dot com> ---
I was aware of the -O0 restriction but not that it also applied to -O1.

I have been using #pragma GCC optimize ("-O0") in the files I'm debugging but
it seemed that building the rest with -O1 would be useful when one has to step
into functions defined in other files.

If using -O1 is just as futile as -O0 then perhaps updating the Wiki would be
the best solution.

Otherwise, if using -O1 should be possible (modulo the uninitialized warnings)
then one of the other solutions I suggested in comment #2 would be a better
approach.

Which do you suggest?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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