public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/7543: Suggest new warning message for gcc
@ 2002-08-08  9:16 trt
  0 siblings, 0 replies; 4+ messages in thread
From: trt @ 2002-08-08  9:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7543
>Category:       c
>Synopsis:       Suggest new warning message for gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 08 09:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tom Truscott
>Release:        gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
>Organization:
>Environment:

>Description:
gcc currently does not warn about the logic error
in the following program:

int subr(int flags)
{
   return (!flags & 0x80) ? 1 : 0;
}


It should have been (!(flags & 0x80))

>How-To-Repeat:
Compile the above program, with -W -Wall, whatever.
No warning message.
>Fix:
A patch to gcc which gives a warning in this situation appears in
http://gcc.gnu.org/ml/gcc-patches/2002-06/msg01523.html
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c/7543: Suggest new warning message for gcc
@ 2003-03-10 20:56 Wolfgang Bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2003-03-10 20:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7543; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c/7543: Suggest new warning message for gcc
Date: Mon, 10 Mar 2003 14:46:47 -0600 (CST)

 ---------- Forwarded message ----------
 Date: Fri, 7 Mar 2003 11:43:55 -0500 (EST)
 From: Tom Truscott <trt@unx.sas.com>
 To: bangerth@dealii.org
 Subject: Re: c/7543: Suggest new warning message for gcc
 
 >     Tom, did your patch get applied to CVS? What's the state of
 >     this?
 
 I don't know if it was applied, but I strongly doubt it.
 
 The state of this is totally defunct.
 I have tried different request strategies for a few years
 and have concluded that only if I become a gcc insider
 can I get even the simplest changes made.
 I don't have the time, energy, or interest in that.
 
 I'm content with the dozens of a warnings I've added
 to my personal copy of gcc, which I run daily
 to spot problems in my company's product (20M+ LOC).
 
 If there is a gcc insider who would like to shepherd
 specific warning changes I will be happy to supply them.
 Beyond that I'm not interested, not even in discussing this,
 so feel to mark this bug NOFIX or whatever.
 
 Thanks,
 Tom Truscott
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c/7543: Suggest new warning message for gcc
@ 2003-03-10 20:50 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-03-10 20:50 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, trt

Synopsis: Suggest new warning message for gcc

State-Changed-From-To: feedback->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 10 20:50:11 2003
State-Changed-Why:
    I checked it, the patch is not applied.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c/7543: Suggest new warning message for gcc
@ 2003-03-07  2:48 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-03-07  2:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, trt

Synopsis: Suggest new warning message for gcc

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Fri Mar  7 02:48:27 2003
State-Changed-Why:
    Tom, did your patch get applied to CVS? What's the state of
    this?
    Thanks
      Wolfgang

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-10 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-08  9:16 c/7543: Suggest new warning message for gcc trt
2003-03-07  2:48 bangerth
2003-03-10 20:50 bangerth
2003-03-10 20:56 Wolfgang Bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).