This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Hm, should I report this?
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Hm, should I report this?
- From: Eric Sandeen <sandeen at sgi dot com>
- Date: Thu, 11 Oct 2001 11:12:43 -0500
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.