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/52999] [4.7/4.8 Regression] ICE, segmentation fault in c_tree_printer


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-23 16:16:54 UTC ---
The PA specific thing there is that PA puts rtx constant pool into .data.rel.ro
section, something that doesn't happen on i?86/x86_64/ppc/ppc64 etc. to my
knowledge.  Which is why there is no section->named.decl (thus the diagnostics
ICE), as well as that in the absence of user variables without section
attribute that should go into .data.rel.ro (like const int *foo = &bar; where
bar isn't hidden) the compiler puts anything into .data.rel.ro section.  rtld.c
carefully doesn't have such variables, and uses .data.rel.ro section attribute
on variables that are writable and written before relocation processing, but
never after.


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