https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121144
Bug ID: 121144
Summary: wrong code generated with -fPIC -O3
Product: gcc
Version: 13.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: Colin.NAKACHE at cea dot fr
Target Milestone: ---
Created attachment 61895
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61895&action=edit
code to reproduce the bug
Wrong code generated with gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 :
gcc main.c -o main -fPIC -O3