rengolin added reviewers: echristo, dberlin, keith.walker.arm.
rengolin added a comment.

Hi Sylvestre,

Paul's comments on the bug are still pertinent: `-Og` is not the same as `-O1`.

`-Og` means for "optimised for debuggers" which is short for "preserve the 
debug illusion without bloating the code". This is not at all what `-O1` is, 
even though they're used indistinguishably via `-O1 -g`.

As a stop-gap, I guess having `-Og == -O1` would stop errors from being 
reported, but if we could do a quick assessment on the list to make sure this 
has the expected semantics (and adding a full new option if not), would be the 
best way forward.

I'm adding a few debug folks here, in hope they have a better idea (and would 
add more folks, if necessary). :)

cheers,
--renato


https://reviews.llvm.org/D24998



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to