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/17506] [4.0/4.1/4.2 regression] warning about uninitialized variable points to wrong location



------- Comment #28 from amylaar at gcc dot gnu dot org  2006-08-29 15:53 -------
Subject: Bug 17506

Author: amylaar
Date: Tue Aug 29 15:52:54 2006
New Revision: 116564

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116564
Log:
gcc:

2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
            J"orn Rennecke  <joern.rennecke@st.com>

        PR tree-optimization/17506
        * tree-ssa.c (warn_uninit): If warning about a location outside of
        the current function, note where the variable was declared.

testsuite:

2006-08-29  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
            Kazu Hirata  <kazu@codesourcery.com>

        PR tree-optimization/17506
        * gcc.dg/pr17506.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr17506.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa.c


-- 


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


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