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/29272] [4.2 Regression] memcpy optimization causes wrong-code



------- Comment #13 from jakub at gcc dot gnu dot org  2006-10-10 09:47 -------
Subject: Bug 29272

Author: jakub
Date: Tue Oct 10 09:46:59 2006
New Revision: 117599

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117599
Log:
        PR middle-end/29272
        * builtins.c (var_decl_component_p): New function.
        (fold_builtin_memset, fold_builtin_memory_op): Restrict
        single entry optimization to variables and components thereof.

        * gcc.c-torture/execute/20060930-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/20060930-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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