This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]