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: Several tree-ssa issues


Hi Gerald,

> 3.5-tree-ssa/i386-unknown-freebsd4.8/bits/atomicity.h:50: \
> warning: '__tmp' might be used uninitialized in this function

Assuming you are speaking about the tip of "tree-ssa-20020619-branch"
or "tree-ssa-cfg-branch" (sorry, I test neither and do not know which
is definitive, if either, based on context), I think the warning
itself must be in error based on the contents of line 50:

	register _Atomic_word __result, __tmp = 1;

(I assume that no later C-level statement could invalidate __tmp in
 any manner which produces that warning.  In FD, there is a
 semi-vetted __asm__ construct but it looks legit to me...)

Regards,
Loren


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