http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-14
17:26:34 UTC ---
I don't think so, dwarf2out_do_frame () depends on (or may depend on) whether
compiling with -g or -g0. So, doing code generation decisions based on it is
wrong, -fcompare-debug will then fail and generated code will be different
between -g and -g0.