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 lto/42528] ICE with -flto and -fsigned-char



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-01-08 16:58 -------
Subject: Bug 42528

Author: rguenth
Date: Fri Jan  8 16:57:59 2010
New Revision: 155740

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155740
Log:
2010-01-08  Richard Guenther  <rguenther@suse.de>

        PR lto/42528
        * c.opt (fsigned-char): Also let LTO handle this option.
        (funsigned-char): Likewise.

        lto/
        * lto-lang.c (lto_handle_option): Handle -f[un]signed-char.
        (lto_init): Do not init char_type_node in a standard way
        but according to flag_signed_char.

        * gcc.dg/lto/20100103-1_0.c: New testcase.
        * gcc.dg/lto/20100103-2_0.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/20100103-1_0.c
    trunk/gcc/testsuite/gcc.dg/lto/20100103-2_0.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c.opt
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto-lang.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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