This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimizing away parts of macros?


On Mon, Apr 17, 2006 at 04:42:18PM -0500, David Nicol wrote:
> I am using
> gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
> 
> under the Inline::C perl module
> 
> and having a very weird situation.

You vaguely describe your problem, speculate on its cause, and don't
include a complete testcase.  Not a good way to get help.

> I have a multi-line macro that declares several variables and then does some
> work with them, for use in several functions that have similar invocations,
> interfacing to an external library.

Use the -E option to see what's coming out of the preprocessor.  If
that doesn't make it obvious, use the gcc-help list.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]