public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/64440] New: -Wdiv-by-zero false negative on const variables
@ 2014-12-30  2:27 chengniansun at gmail dot com
  2014-12-30  3:01 ` [Bug c/64440] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chengniansun at gmail dot com @ 2014-12-30  2:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

            Bug ID: 64440
           Summary: -Wdiv-by-zero false negative on const variables
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chengniansun at gmail dot com

In the following test case, the variable "b" is constant zero. However, GCC
does not warn div-by-zero on the expression "a / b". More details are shown as
below: 



$: cat t.c
int f (int a) {
  const int b = 0;
  return a / b;
}
$: 
$: gcc-trunk -c -Wdiv-by-zero t.c 
$:
$: clang-trunk -c -Wdivision-by-zero t.c
t.c:3:12: warning: division by zero is undefined [-Wdivision-by-zero]
  return a / b;
           ^ ~
1 warning generated.
$:


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
@ 2014-12-30  3:01 ` pinskia at gcc dot gnu.org
  2014-12-30  7:53 ` chengniansun at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-12-30  3:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In C, const int is not a constant expression and -Wdiv-by-zero only warns about
integer constant expressions.


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
  2014-12-30  3:01 ` [Bug c/64440] " pinskia at gcc dot gnu.org
@ 2014-12-30  7:53 ` chengniansun at gmail dot com
  2014-12-30 12:31 ` manu at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: chengniansun at gmail dot com @ 2014-12-30  7:53 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4593 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

--- Comment #2 from Chengnian Sun <chengniansun at gmail dot com> ---

(In reply to Andrew Pinski from comment #1)
> In C, const int is not a constant expression and -Wdiv-by-zero only warns
> about integer constant expressions.

Thanks for your reply. It seems GCC sometimes does consider "const int" for
other types of warnings (but not for -Wdiv-by-zero). See the following, with
-O3, GCC warns that the left shift count is negative.  

$: cat t.c
int f(int a) {
  const char c = -4;
  return a << c;
}
$: gcc-trunk -Wall -c t.c -O3
t.c: In function ‘f’:
t.c:3:12: warning: left shift count is negative
   return a << c;
            ^
$:
>From gcc-bugs-return-471917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 09:32:04 2014
Return-Path: <gcc-bugs-return-471917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21269 invoked by alias); 30 Dec 2014 09:32:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21236 invoked by uid 48); 30 Dec 2014 09:31:58 -0000
From: "kariya_mitsuru at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64441] New: A match_results returns an incorrect sub_match if the sub_match::matched is false
Date: Tue, 30 Dec 2014 09:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kariya_mitsuru at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-64441-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg02924.txt.bz2
Content-length: 2015

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd441

            Bug ID: 64441
           Summary: A match_results returns an incorrect sub_match if the
                    sub_match::matched is false
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kariya_mitsuru at hotmail dot com

Created attachment 34362
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4362&actioníit
g++ -v

Please see the following sample.

====================================== sample code
=====================================#include <iostream>
#include <regex>

int main()
{
    const char s[] = "abc";
    const std::regex re("(\\d+)|(\\w+)");

    std::cmatch m;
    std::regex_search(s, m, re);
    std::cout << std::boolalpha;
    for (size_t i = 0, n = m.size(); i < n; ++i) {
        auto&& sub = m[i];
        std::cout << i << ":" << sub.matched << ", str = '" << sub.str() << "',
"
            "range = [" << sub.first - s << ", " << sub.second - s << ")" <<
std::endl;
    }
}
===================================================================================================================== output ============================0:true, str = 'abc', range = [0, 3)
1:false, str = '', range = [-140734305427376, -140734305427376)
2:true, str = 'abc', range = [0, 3)
=================================================================
cf. http://melpon.org/wandbox/permlink/SBoMF5UKYYa38Y4N


The C++11 standard 28.10[re.results]/p.4 says, "Otherwise matched is false, and
members first and second point to the end of the sequence that was searched."

So, I think that the output should be

============================= output ============================0:true, str = 'abc', range = [0, 3)
1:false, str = '', range = [3, 3)
2:true, str = 'abc', range = [0, 3)
=================================================================

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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
  2014-12-30  3:01 ` [Bug c/64440] " pinskia at gcc dot gnu.org
  2014-12-30  7:53 ` chengniansun at gmail dot com
@ 2014-12-30 12:31 ` manu at gcc dot gnu.org
  2015-01-06 15:23 ` mpolacek at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu.org @ 2014-12-30 12:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Chengnian Sun from comment #2)
> Thanks for your reply. It seems GCC sometimes does consider "const int" for
> other types of warnings (but not for -Wdiv-by-zero). See the following, with
> -O3, GCC warns that the left shift count is negative.  
> 

I wonder how this happens? The warning is still given by the FE!

Nonetheless, clang is able to warn without optimization because it has some
constant propagation pass in the FE. GCC does not have such a thing and current
developers are not convinced that it is worth it.

I think there are several PRs open about this, and it doesn't seem useful to
have one PR for each possible warning that could be improved by this.
>From gcc-bugs-return-471924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 12:37:52 2014
Return-Path: <gcc-bugs-return-471924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26939 invoked by alias); 30 Dec 2014 12:37:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26867 invoked by uid 48); 30 Dec 2014 12:37:48 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/50139] in-tree GMP/PPL/CLooG is misconfigured
Date: Tue, 30 Dec 2014 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-50139-4-zfLJZILf9a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50139-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50139-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg02931.txt.bz2
Content-length: 781

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to nightstrike from comment #3)
> There's other relevant posts, but you get the idea.  Anyway, this should
> eventually be closed.

So be it. Thanks for noticing. 

(You can probably get a gcc.gnu.org bugzilla account, if you wish so).
>From gcc-bugs-return-471923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 12:37:23 2014
Return-Path: <gcc-bugs-return-471923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26177 invoked by alias); 30 Dec 2014 12:37:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26146 invoked by uid 48); 30 Dec 2014 12:37:19 -0000
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64442] -O1 modify output of a simple computation with rounding
Date: Tue, 30 Dec 2014 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mikpelinux at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64442-4-kddkuSlu8v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64442-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg02930.txt.bz2
Content-length: 330

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd442

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Are you compiling on 32-bit x86?  I can reproduce on m68k, but not on x86_64
(even with -m32) or on ARMv5.  I suspect you're seeing the effects of excess
precision of the x87 FPU (much like the m68k FPU).


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
                   ` (2 preceding siblings ...)
  2014-12-30 12:31 ` manu at gcc dot gnu.org
@ 2015-01-06 15:23 ` mpolacek at gcc dot gnu.org
  2015-01-06 16:07 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-01-06 15:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #3)
> (In reply to Chengnian Sun from comment #2)
> > Thanks for your reply. It seems GCC sometimes does consider "const int" for
> > other types of warnings (but not for -Wdiv-by-zero). See the following, with
> > -O3, GCC warns that the left shift count is negative.  
> > 
> 
> I wonder how this happens? The warning is still given by the FE!

By using decl_constant_value_for_optimization.
>From gcc-bugs-return-472320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 06 15:38:56 2015
Return-Path: <gcc-bugs-return-472320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24635 invoked by alias); 6 Jan 2015 15:38:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24606 invoked by uid 48); 6 Jan 2015 15:38:50 -0000
From: "maurits.de.jong at ericsson dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64509] _Generic throws error in unselected generic association
Date: Tue, 06 Jan 2015 15:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maurits.de.jong at ericsson dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64509-4-SLNkODOGQA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00314.txt.bz2
Content-length: 338

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd509

--- Comment #2 from Martien de Jong <maurits.de.jong at ericsson dot com> ---
That's just rephrasing my bugreport. The question is, should it type check
while parsing an expression that may not be realized? The entire idea of
switching on a type is to prevent and fix type errors, no?


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
                   ` (3 preceding siblings ...)
  2015-01-06 15:23 ` mpolacek at gcc dot gnu.org
@ 2015-01-06 16:07 ` mpolacek at gcc dot gnu.org
  2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
  2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-01-06 16:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-01-06
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
C++ FE warns for the div-by-zero testcase, and C FE can easily too, I think. 
Ditto for %.  Mine.


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
                   ` (4 preceding siblings ...)
  2015-01-06 16:07 ` mpolacek at gcc dot gnu.org
@ 2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
  2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-01-07  8:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jan  7 08:21:50 2015
New Revision: 219279

URL: https://gcc.gnu.org/viewcvs?rev=219279&root=gcc&view=rev
Log:
    PR c/64440
    * c-common.c (c_fully_fold_internal): Warn for division and modulo
    if orig_op1 isn't INTEGER_CST, op1 is INTEGER_CST and is zero.

    * gcc.dg/pr64440.c: New test.
    * c-c++-common/pr56607.c: Don't limit dg-warnings to C++.

Added:
    trunk/gcc/testsuite/gcc.dg/pr64440.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/pr56607.c


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

* [Bug c/64440] -Wdiv-by-zero false negative on const variables
  2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
                   ` (5 preceding siblings ...)
  2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
@ 2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-01-07  8:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-01-07  8:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-30  2:27 [Bug c/64440] New: -Wdiv-by-zero false negative on const variables chengniansun at gmail dot com
2014-12-30  3:01 ` [Bug c/64440] " pinskia at gcc dot gnu.org
2014-12-30  7:53 ` chengniansun at gmail dot com
2014-12-30 12:31 ` manu at gcc dot gnu.org
2015-01-06 15:23 ` mpolacek at gcc dot gnu.org
2015-01-06 16:07 ` mpolacek at gcc dot gnu.org
2015-01-07  8:22 ` mpolacek at gcc dot gnu.org
2015-01-07  8:22 ` mpolacek at gcc dot gnu.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).