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/34601] [4.3 regression] ICE with undefined enum



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-01-13 16:31 -------
Subject: Bug 34601

Author: rguenth
Date: Sun Jan 13 16:30:51 2008
New Revision: 131506

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

        PR middle-end/34601
        * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
        instead of TYPE_MODE to deal with calls from expand_one_error_var.

        * gcc.dg/noncompile/incomplete-4.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/noncompile/incomplete-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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