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 c/19977] overflow in non-static initializer should not be pedwarn



------- Comment #5 from manu at gcc dot gnu dot org  2007-01-02 20:07 -------
Subject: Bug 19977

Author: manu
Date: Tue Jan  2 20:07:44 2007
New Revision: 120355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120355
Log:
2007-01-02  Manuel Lopez-Ibanez <manu@gcc.gnu.org>

        PR c/19977
        * c-typeck.c (store_init_value): Don't emit pedantic overflow
        warning for non-static initializers.

testsuite/
        * gcc/testsuite/gcc.dg/overflow-warn-3.c: Remove XFAIL.
        * gcc/testsuite/gcc.dg/overflow-warn-4.c: Remove XFAIL.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/overflow-warn-3.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-4.c


-- 


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


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