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/44024] missed optimization



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-05-09 18:17 -------
Subject: Bug 44024

Author: rguenth
Date: Sun May  9 18:17:33 2010
New Revision: 159205

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

        PR middle-end/44024
        * fold-const.c (tree_single_nonzero_warnv_p): Properly
        handle &FUNCTION_DECL.

        * gcc.dg/pr44024.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr44024.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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