https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117291
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at gcc dot gnu.org
--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> How do you generate this code from a code generator?
>
> I don't think this is a bug. If it was code in the wild, then I would say
> this might be something we should look into but since I suspect this was
> generated from a code generator then it is not as important.
I admit this is not code in the wild. I created this test case using a script
in an attempt to create a program on Power that had two functions (caller and
callee) in the same executable with different TOC values so as to test some
ideas/issues with -fpatchable-function-entry= when I encountered the SEGV.
As I said in my first comment, I wasn't sure it is actually a bug, but thought
I'd report it just so people are aware of the issue.