public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c
@ 2012-10-19  5:32 clintonmead at gmail dot com
  2012-10-24 10:59 ` [Bug tree-optimization/54982] " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: clintonmead at gmail dot com @ 2012-10-19  5:32 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54982
           Summary: Uninitialised variable store_flag in
                    tree-ssa-loop-im.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: clintonmead@gmail.com


>From the 20121014 snapshot, on line 2130 of 'tree-ssa-loop-im.c', the variable
'store_flag' is possibly uninitialised and this warning is turned into an error
that prevents the building of GCC.

I don't think it is a bug in the logic as 'store_flag' as if
'multi_threaded_model_p' is true 'store_flag' is initialised and used, whereas
if 'multi_threaded_model_p' is false whilst 'store_flag' is not initialised it
is also not used.


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

* [Bug tree-optimization/54982] Uninitialised variable store_flag in tree-ssa-loop-im.c
  2012-10-19  5:32 [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c clintonmead at gmail dot com
@ 2012-10-24 10:59 ` mpolacek at gcc dot gnu.org
  2012-12-09  2:31 ` [Bug tree-optimization/54982] false unitialized warning about " pinskia at gcc dot gnu.org
  2013-11-10 20:15 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2012-10-24 10:59 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2012-10-24 10:58:59 UTC ---
I don't see this.  How are you building gcc?


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

* [Bug tree-optimization/54982] false unitialized warning about store_flag in tree-ssa-loop-im.c
  2012-10-19  5:32 [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c clintonmead at gmail dot com
  2012-10-24 10:59 ` [Bug tree-optimization/54982] " mpolacek at gcc dot gnu.org
@ 2012-12-09  2:31 ` pinskia at gcc dot gnu.org
  2013-11-10 20:15 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-09  2:31 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-12-09
            Summary|Uninitialised variable      |false unitialized warning
                   |store_flag in               |about store_flag in
                   |tree-ssa-loop-im.c          |tree-ssa-loop-im.c
     Ever Confirmed|0                           |1
           Severity|trivial                     |normal

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 02:31:26 UTC ---
How did you configure GCC?
What version of GCC are you using to start wtih?


All sets/uses of store_flag are predicated by multi_threaded_model_p so the
warning is false.


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

* [Bug tree-optimization/54982] false unitialized warning about store_flag in tree-ssa-loop-im.c
  2012-10-19  5:32 [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c clintonmead at gmail dot com
  2012-10-24 10:59 ` [Bug tree-optimization/54982] " mpolacek at gcc dot gnu.org
  2012-12-09  2:31 ` [Bug tree-optimization/54982] false unitialized warning about " pinskia at gcc dot gnu.org
@ 2013-11-10 20:15 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No feed back in over 11 months so closing.


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

end of thread, other threads:[~2013-11-10 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19  5:32 [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c clintonmead at gmail dot com
2012-10-24 10:59 ` [Bug tree-optimization/54982] " mpolacek at gcc dot gnu.org
2012-12-09  2:31 ` [Bug tree-optimization/54982] false unitialized warning about " pinskia at gcc dot gnu.org
2013-11-10 20:15 ` pinskia 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).