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/41837] Using '-O -fipa-struct-reorg -fwhole-program -fprofile-generate' gives 'internal compiler error: Segmentation fault'



------- Comment #7 from jakub at gcc dot gnu dot org  2009-10-28 14:45 -------
Subject: Bug 41837

Author: jakub
Date: Wed Oct 28 14:45:03 2009
New Revision: 153670

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153670
Log:
        PR middle-end/41837
        * ipa-struct-reorg.c (find_field_in_struct_1): Return NULL if
        fields don't have DECL_NAME.

        * gcc.dg/pr41837.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr41837.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-struct-reorg.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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