behavior of -E with -g3

Andrew Pinski pinskia@physics.uc.edu
Sat Apr 30 01:04:00 GMT 2005


On Apr 29, 2005, at 8:52 PM, Martin Sebor wrote:

> I was surprised to see macro definitions in the output of gcc
> -E -g3 (see below). Is that behavior by design or is it a bug?
> (I haven't seen anything about it in the manual, other than what
> -g/leve/ mentions about debugger support for macro expansion).

This is by design as we need to keep track of macros so when you
are trying to reproduce a failure with -g3, you have them in the
preprocessed source.

-- Pinski



More information about the Gcc-bugs mailing list