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 rtl-optimization/33822] [4.1/4.2/4.3 Regression] -g -O -mstrict-align causes an ICE in set_variable_part,



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2007-11-07 20:48 -------
Subject: Bug 33822

Author: ebotcazou
Date: Wed Nov  7 20:48:08 2007
New Revision: 129970

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129970
Log:
        PR rtl-optimization/33822
        * rtl.h (REG_OFFSET): Fix comment.
        * var-tracking.c (INT_MEM_OFFSET): New macro.
        (var_mem_set): Use it.
        (var_mem_delete_and_set): Likewise.
        (var_mem_delete): Likewise.
        (same_variable_part_p): Likewise.
        (vt_get_decl_and_offset): Likewise.
        (offset_valid_for_tracked_p): New predicate.
        (count_uses): Do not track locations with invalid offsets.
        (add_uses): Likewise.
        (add_stores): Likewise.


Added:
    trunk/gcc/testsuite/gcc.dg/out-of-bounds-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtl.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/var-tracking.c


-- 


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


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