This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/4697: Warning 'value computed is not used' missing
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/4697: Warning 'value computed is not used' missing
- From: Haj dot Ten dot Brugge at net dot HCC dot nl
- Date: 26 Oct 2001 08:06:38 -0000
- Reply-To: Haj dot Ten dot Brugge at net dot HCC dot nl
>Number: 4697
>Category: c
>Synopsis: Warning 'value computed is not used' missing
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 26 01:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Haj.Ten.Brugge@net.HCC.nl
>Release: gcc-3.*
>Organization:
>Environment:
sparc, i386
>Description:
The following test program:
double tst(double a, double b) { a = a + 1,5 * b ; return a; }
When compiled with: '-Wall' gives the warning
'value computed is not used' in gcc-2.95.2. This warning
is missing in the gcc-3.* releases.
Notice the type error '1,5' instead of '1.5'.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: