Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mschif...@universe-factory.net
Target Milestone: ---
Created attachment 43609
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43609&action=edit
Reproducer C code
Compiling the following piece of C code:
v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84790
--- Comment #1 from Matthias Schiffer ---
Issue still present in gcc version 8.0.1 20180310 (experimental) (GCC). Again,
output it identical to that of GCC 5 and 7.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84790
--- Comment #2 from Matthias Schiffer ---
The problem seems to be that the gp init sequence
li $2,%hi(_gp_disp)
addiu $3,$pc,%lo(_gp_disp)
sll $2,16
addu$2,$3
is generated very late and does not ap