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 middle-end/42803] [4.4/4.5 Regression] c++ compilation hang



------- Comment #8 from jakub at gcc dot gnu dot org  2010-01-20 11:28 -------
Subject: Bug 42803

Author: jakub
Date: Wed Jan 20 11:27:49 2010
New Revision: 156070

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156070
Log:
        PR middle-end/42803
        * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
        argument, call initializer_constant_valid_p_1 instead of
        initializer_constant_valid_p, pass CACHE to it, return NULL
        immediately if first call returns NULL.
        (initializer_constant_valid_p_1): New function.
        (initializer_constant_valid_p): Use it.

        * g++.dg/parse/limits-initializer1.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/limits-initializer1.C
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/varasm.c


-- 


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


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