c/9569: 8 bytes seems to long for long long int
Falk Hueffner
falk.hueffner@student.uni-tuebingen.de
Tue Feb 4 18:30:00 GMT 2003
aj@gcc.gnu.org writes:
> Synopsis: 8 bytes seems to long for long long int
>
> Responsible-Changed-From-To: unassigned->aj
> Responsible-Changed-By: aj
> Responsible-Changed-When: Tue Feb 4 14:37:46 2003
> Responsible-Changed-Why:
> Taking it.
> State-Changed-From-To: open->closed
> State-Changed-By: aj
> State-Changed-When: Tue Feb 4 14:37:46 2003
> State-Changed-Why:
> The program is broken, add LL to the constant to get
> a long long constant.
Huh? The C standard says: "The type of an integer constant is the
first of the corresponding list in which its value can be
represented." That would make the constant long long without any
suffixes.
The C++ standard doesn't have long long at all, but I would think the
same semantics should be applied here, anything else would be silly.
--
Falk
More information about the Gcc-bugs
mailing list