This is the mail archive of the gcc-prs@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: c++/4645: -Wall warning for -1 return on signed long does not make sense

[Get raw message]
The following reply was made to PR c++/4645; it has been noted by GNATS.

From: aoliva@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, waratah@zip.com.au
Cc:  
Subject: Re: c++/4645: -Wall warning for -1 return on signed long does not make sense
Date: 25 Nov 2001 17:28:07 -0000

 Synopsis: -Wall warning for -1 return on signed long does not make sense
 
 State-Changed-From-To: open->feedback
 State-Changed-By: aoliva
 State-Changed-When: Sun Nov 25 09:28:06 2001
 State-Changed-Why:
     Could it be the type of PZSTREAM->total_out causing nOldTotal_Out to promote to unsigned long int, and ditto for the ``else'' branch of the ternary operator?
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4645&database=gcc


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