This is the mail archive of the gcc-bugs@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]

Hm, should I report this?


When compiling the XFS filesystem with Red Hat's "gcc-2.96-85" and Mandrake's
"gcc-2.96-0.62mdk" I see the following error in one bit of code.

A macro was passed as a value to a function, but the function did not receive
the
correct value, i.e. (simpliefied):

function(baz, MACRO(foo));

had a different result than

bar = MACRO(foo);
function(baz, bar);

The latter case yielded correct results.

The problem was not evident in Mandrake's "gcc3.0-3.0.1-1mdk" so I'm thinking
perhaps it's something that got fixed along the way.  I can try it with an
unmodified gcc 3.0.1 if this is the first that anyone has seen of this type of
bug, and if it breaks, do the full bug-reporting-dance.  :)

Thanks,

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@sgi.com   SGI, Inc.


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