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 tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it



------- Comment #7 from jakub at gcc dot gnu dot org  2008-10-15 06:44 -------
Subject: Bug 36881

Author: jakub
Date: Wed Oct 15 06:43:19 2008
New Revision: 141129

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141129
Log:
        PR tree-optimization/36881
        * tree-switch-conversion.c (check_final_bb): For flag_pic, check
        that each value doesn't need runtime relocations, for !flag_pic
        check that each value is just a valid initializer constant.

        * gcc.dg/tree-ssa/pr36881.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr36881.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-switch-conversion.c


-- 


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


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