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 #6 from jakub at gcc dot gnu dot org  2008-09-15 09:21 -------
I'd prefer it just to call initializer_constant_valid_p (val, TREE_TYPE (val))
== null_pointer_node for flag_pic (and != NULL_TREE for !flag_pic).  What is in
#c4 would need at least some write after write barriers, would enlarge code too
much and might be worthwhile just in very hot basic blocks.


-- 


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]