[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 15 06:46:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list