[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [22.1.90]: Point before start of properties

From: Richard Stallman
Subject: Re: [22.1.90]: Point before start of properties
Date: Sat, 23 Feb 2008 14:29:31 -0500

    Debugging GCC-optimized (under -O2) code is not just hard, it's
    downright impossible!

This is unfortunate, but fixing it is very hard.  It would probably require
new ways to communcate info to GDB about the optimizations that were done,
and changes in GCC and GDB.

It would be great if someone implements these features, but there's no
use complaining that people have not done it.

    It can be solved almost trivially, IMO, by providing a special -Ox
    switch which would turn off every optimization whose results cannot be
    expressed reliably using the modern debug info formats.

Doesn't -O1 do that job?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]