c++/8216: Code accepted by gcc is rejected by g++

bangerth@dealii.org bangerth@dealii.org
Tue Nov 5 12:03:00 GMT 2002


Synopsis: Code accepted by gcc is rejected by g++

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Nov  5 12:03:37 2002
State-Changed-Why:
    I can confirm the thing, but am unsure what to say: the code
    seems illegal if you don't add the LL postfix, so what's wrong
    in rejecting it?
    
    int main()
    {
      long long l = 60000000000;
    /* long long l = 60000000000LL; */
      l++;
    }

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8216



More information about the Gcc-prs mailing list