https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437
--- Comment #3 from zxuiji <gb2985 at gmail dot com> --- (In reply to zxuiji from comment #2) > (In reply to Andrew Pinski from comment #1) > > Can you attach the preprocessed source where the warning is and the exact > > command line you are using to invoke gcc? > > > > I suspect the issue is that the function can be overridden due to use of > > -fPIC or something smilar to that. > > Bugzilla wouldn't let me upload it, too big apparently, did it to my google > drive instead: > https://drive.google.com/file/d/16NiT5eWvj_B7QTz5E4zlST6sDCS67HWp/ > view?usp=sharing > > Found the function at line 12375, still the division I expected, would've > been shocked had it been otherwise given it's just division of a allocation > size by an element size Whoops, mistyped the line, 12735 sorry