public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/25422]  New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true
@ 2005-12-14 22:23 pinskia at gcc dot gnu dot org
  2005-12-14 22:23 ` [Bug testsuite/25422] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 22:23 UTC (permalink / raw)
  To: gcc-bugs

FAIL: gcc.dg/20031012-1.c  (test for warnings, line 13)
FAIL: gcc.dg/weak/weak-3.c  (test for warnings, line 57)
FAIL: g++.old-deja/g++.mike/warn8.C  (test for warnings, line 14)
FAIL: g++.old-deja/g++.mike/warn8.C  (test for warnings, line 16)

Those all fail because the tests were forgot to be updated for the new option
-Walways-true.


-- 
           Summary: [4.2 Regression] gcc.dg/20031012-1.c and
                    gcc.dg/weak/weak-3.c (and a couple others) fails, forgot
                    to update for new option, -Walways-true
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25422


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

* [Bug testsuite/25422] [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true
  2005-12-14 22:23 [Bug testsuite/25422] New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true pinskia at gcc dot gnu dot org
@ 2005-12-14 22:23 ` pinskia at gcc dot gnu dot org
  2005-12-14 22:52 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 22:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25422


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

* [Bug testsuite/25422] [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true
  2005-12-14 22:23 [Bug testsuite/25422] New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true pinskia at gcc dot gnu dot org
  2005-12-14 22:23 ` [Bug testsuite/25422] " pinskia at gcc dot gnu dot org
@ 2005-12-14 22:52 ` pinskia at gcc dot gnu dot org
  2005-12-16 22:13 ` bje at gcc dot gnu dot org
  2005-12-16 22:14 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 22:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-14 22:52 -------
Caused by:
2005-12-14  Ben Elliston  <bje@au.ibm.com>

        * c-common.c (c_common_truthvalue_conversion): Generalise warning
        for addresses converted to booleans; not just function addresses.
        * c-typeck.c (build_binary_op): Warn for address comparisons which
        can never be NULL (eg. func == NULL or &var == NULL).
        * common.opt (Walways-true): New option.
        * c-opts.c (c_common_handle_option): Set it with -Wall.
        * doc/invoke.texi: Document it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-14 22:52:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25422


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

* [Bug testsuite/25422] [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true
  2005-12-14 22:23 [Bug testsuite/25422] New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true pinskia at gcc dot gnu dot org
  2005-12-14 22:23 ` [Bug testsuite/25422] " pinskia at gcc dot gnu dot org
  2005-12-14 22:52 ` pinskia at gcc dot gnu dot org
@ 2005-12-16 22:13 ` bje at gcc dot gnu dot org
  2005-12-16 22:14 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2005-12-16 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bje at gcc dot gnu dot org  2005-12-16 22:13 -------
Subject: Bug 25422

Author: bje
Date: Fri Dec 16 22:12:55 2005
New Revision: 108689

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108689
Log:
        PR testsuite/25422
        * gcc.dg/20031012-1.c: Add -Walways-true option.
        * gcc.dg/weak/weak-3.c: Likewise.
        * g++.old-deja/g++.mike/warn8.C: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.old-deja/g++.mike/warn8.C
    trunk/gcc/testsuite/gcc.dg/20031012-1.c
    trunk/gcc/testsuite/gcc.dg/weak/weak-3.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25422


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

* [Bug testsuite/25422] [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true
  2005-12-14 22:23 [Bug testsuite/25422] New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-16 22:13 ` bje at gcc dot gnu dot org
@ 2005-12-16 22:14 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2005-12-16 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bje at gcc dot gnu dot org  2005-12-16 22:14 -------
Fixed.


-- 

bje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25422


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

end of thread, other threads:[~2005-12-16 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-14 22:23 [Bug testsuite/25422] New: [4.2 Regression] gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true pinskia at gcc dot gnu dot org
2005-12-14 22:23 ` [Bug testsuite/25422] " pinskia at gcc dot gnu dot org
2005-12-14 22:52 ` pinskia at gcc dot gnu dot org
2005-12-16 22:13 ` bje at gcc dot gnu dot org
2005-12-16 22:14 ` bje at gcc dot gnu dot org

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).