[Bug c/92902] New: gcc 9.2 puts "jump tables" in the .text section

2019-12-10 Thread gcc at tribudubois dot net
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at tribudubois dot net Target Milestone: --- gcc 9.2 (and maybe other versions) is putting jump table directly in the text section. On most processors I guess this is not an issue as the text section is usuall

[Bug target/92902] jump tables are put into the text section

2019-12-14 Thread gcc at tribudubois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #18 from Jean-Christophe Dubois --- (In reply to Mikael Pettersson from comment #17) > My though reading this is that most RICSs have problems synthesizing large > literals, so putting a jump table in .text might increase the

[Bug target/92902] jump tables are put into the text section

2019-12-14 Thread gcc at tribudubois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #19 from Jean-Christophe Dubois --- (In reply to Andrew Pinski from comment #16) > (In reply to Jean-Christophe Dubois from comment #15) > > Am I missing something? > > YES. Most likely it will not be loaded in the instruction

[Bug target/92902] jump tables are put in the .text section

2019-12-11 Thread gcc at tribudubois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #4 from Jean-Christophe Dubois --- Created attachment 47475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47475=edit assembly file with jump tables in the text section

[Bug target/92902] jump tables are put in the .text section

2019-12-11 Thread gcc at tribudubois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #5 from Jean-Christophe Dubois --- I guess JUMP_TABLES_IN_TEXT_SECTION is supposed to mean that the "jump tables" should not be put in the text section. However something is wrong then because gcc 9 (and maybe previous) is putting

[Bug target/92902] jump tables are put into the text section

2019-12-12 Thread gcc at tribudubois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #15 from Jean-Christophe Dubois --- Thanks for the feedback and the support. Now maybe this is not the good place to ask question but I am wondering: Most of today's processors have separate data and instruction cache. Isn't it sub