On 01/15/2015 01:47 PM, Luke Deller wrote:
> Hi,
>
> I saw that gcc-4.8 introduced a new optimization level -Og which enables
> optimizations that do not interfere with debugging.
>
> Yesterday I floated the idea on IRC of using this with --enable-debug
> rather than -O0 if available, and some
On Fri, Jan 16, 2015 at 8:21 AM, Norbert Thiebaud wrote:
>
> On Fri, Jan 16, 2015 at 4:15 AM, Stephan Bergmann wrote:
> > On 01/15/2015 10:47 PM, Ashod Nakashian wrote:
> >>
> >> It probably is, but with some caveats. My main concern would be
> >> unnecessary code pollution. It's true that these
On Fri, Jan 16, 2015 at 4:15 AM, Stephan Bergmann wrote:
> On 01/15/2015 10:47 PM, Ashod Nakashian wrote:
>>
>> It probably is, but with some caveats. My main concern would be
>> unnecessary code pollution. It's true that these warnings could be
>> really useful. They might hint at actual issues i
On 01/15/2015 10:47 PM, Ashod Nakashian wrote:
It probably is, but with some caveats. My main concern would be
unnecessary code pollution. It's true that these warnings could be
really useful. They might hint at actual issues in some cases (for
example an unhandled error in the unused-result case
On 01/15/2015 01:47 PM, Luke Deller wrote:
Yesterday I floated the idea on IRC of using this with --enable-debug
rather than -O0 if available, and some feedback was that it enables gcc
to report extra warnings which would be a good thing.
It /potentially/ enables GCC to emit more (useful) warni
> Any other thoughts on whether this is a good idea to pursue?
It probably is, but with some caveats. My main concern would be unnecessary
code pollution. It's true that these warnings could be really useful. They
might hint at actual issues in some cases (for example an unhandled error
in the unu
Hi,
I saw that gcc-4.8 introduced a new optimization level -Og which enables
optimizations that do not interfere with debugging.
Yesterday I floated the idea on IRC of using this with --enable-debug
rather than -O0 if available, and some feedback was that it enables gcc
to report extra warni