public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64277] [4.9/5.0 Regression] Incorrect warning "array subscript is above array bounds"
Date: Tue, 23 Dec 2014 20:19:00 -0000	[thread overview]
Message-ID: <bug-64277-4-COJU7O3eEt@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64277-4@http.gcc.gnu.org/bugzilla/>

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

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

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

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I cannot reproduce this in GCC 5.0 with or without -msse3 (on
x86_64-linux-gnu). I always get:

test.c: In function ‘foo’:
test.c:12:14: warning: ‘f1’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
    f1[i] = f1[i] + 1;
              ^

which seems correct.

In any case, warning about f1[i] being above array bounds would be correct:
there is no check that "i < 10".
>From gcc-bugs-return-471665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 23 20:23:01 2014
Return-Path: <gcc-bugs-return-471665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19976 invoked by alias); 23 Dec 2014 20:23:00 -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 19946 invoked by uid 48); 23 Dec 2014 20:22:56 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64390] "-shared" does not resolve symbols from lto generated archives
Date: Tue, 23 Dec 2014 20:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: WAITING
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 cf_reconfirmed_on everconfirmed
Message-ID: <bug-64390-4-A9Q4tsbGgQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64390-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/msg02672.txt.bz2
Content-length: 489

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-12-23
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Can you try binutils 2.25?


  parent reply	other threads:[~2014-12-23 20:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 20:42 [Bug tree-optimization/64277] New: " aivchenk at gmail dot com
2014-12-12  9:36 ` [Bug tree-optimization/64277] " rguenth at gcc dot gnu.org
2014-12-23 17:35 ` izamyatin at gmail dot com
2014-12-23 20:19 ` manu at gcc dot gnu.org [this message]
2014-12-23 20:58 ` aivchenk at gmail dot com
2015-01-12  8:50 ` izamyatin at gmail dot com
2015-01-15  9:05 ` izamyatin at gmail dot com
2015-01-21 15:02 ` [Bug tree-optimization/64277] [4.9/5 " izamyatin at gmail dot com
2015-01-26 12:33 ` enkovich.gnu at gmail dot com
2015-01-26 12:33 ` enkovich.gnu at gmail dot com
2015-01-26 12:43 ` rguenth at gcc dot gnu.org
2015-01-26 13:34 ` rguenth at gcc dot gnu.org
2015-01-26 13:51 ` enkovich.gnu at gmail dot com
2015-01-26 15:08 ` enkovich.gnu at gmail dot com
2015-01-27  9:51 ` rguenth at gcc dot gnu.org
2015-01-27  9:52 ` [Bug tree-optimization/64277] [4.9 " rguenth at gcc dot gnu.org
2015-01-27 10:04 ` rguenth at gcc dot gnu.org
2015-01-27 11:04 ` rguenth at gcc dot gnu.org
2015-01-28 11:42 ` ienkovich at gcc dot gnu.org
2015-01-28 22:15 ` rth at gcc dot gnu.org
2015-02-19 14:14 ` rguenth at gcc dot gnu.org
2015-02-19 14:15 ` rguenth at gcc dot gnu.org
2015-02-24 13:05 ` rguenth at gcc dot gnu.org
2015-04-16 12:03 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64277-4-COJU7O3eEt@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).