This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc internal failure during optimization delete_trivially_dead_insns
- From: ftwilliam <ftwilliam at gmail dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 13 Apr 2015 11:44:29 -0500
- Subject: Re: gcc internal failure during optimization delete_trivially_dead_insns
- Authentication-results: sourceware.org; auth=none
- References: <CAJif2g91EcwatBdgC=fS3sMcR7vm7dso8VEiTPp7VnGwt-8=oQ at mail dot gmail dot com> <CAJif2g9oXCfpGaANhQjwJY3fqMEwxnTUDwZqjoCZjPCfL2jGCA at mail dot gmail dot com> <5522D46A dot 7090402 at redhat dot com> <CAJif2g_74_jL_p+9gt1Ttngg7XB6EcNL6q-XLPC5Fuc8yxg4Xw at mail dot gmail dot com> <CAJif2g_d1F9EzD3byzgRsHSHe0AF-gyx0app+q-t9SuwTroBSA at mail dot gmail dot com> <552357E0 dot 8070507 at redhat dot com> <CAJif2g-Y5KNOEL5Mv0tRx80UDLXNOP9hOSMm438Vuka9UqR5hA at mail dot gmail dot com> <55241B51 dot 5020805 at redhat dot com> <CAJif2g9-aoN+P0WOaq4adjfOsR_aOjTmDRxjZTq4Wtbmb3RDoQ at mail dot gmail dot com> <55243986 dot 5020905 at redhat dot com> <CAJif2g9dN2OrTX4oG6uNx58RSt8e8sMsZBm_9Stb=C0y=tuvgA at mail dot gmail dot com> <5526E2EA dot 9010409 at redhat dot com> <CAJif2g9gBdF8HmjbhBjvEioO4v-o6HJcre5UKRmPA-7_xpd=ng at mail dot gmail dot com> <CAJif2g95OQZHLhZbMZa0rPgEnRPKvGhOY034k1c4vedVXHrxaQ at mail dot gmail dot com> <CAJif2g86zQJYQOh3uWPkBu0X35iZhMJqm0VFL5x6q8Ksus+O0g at mail dot gmail dot com> <552B42C2 dot 1050603 at redhat dot com>
Hi Jeff,
Thank you very much for your help.
Defining EH_RETURN_DATA_REGNO solved the issue.
I am now getting a different error; I tried googling around without
success, and I am newbie at GCC internals.
I am opening a new thread which will be titled "SIGSEGV at
df_ref_record()", to which a patch against trunk will be attached.
I would very much appreciate your help.
On Sun, Apr 12, 2015 at 11:14 PM, Jeff Law <law@redhat.com> wrote:
> On 04/10/2015 07:41 PM, ftwilliam wrote:
>>
>> Hi Jeff,
>>
>> My apology again; please use instead this patch.
>
> You've got an insn with a bogus register number:
>
> (insn 38 39 24 7 (set (reg:SI 27)
> (reg:SI -1)) 18 {*movsi}
> (nil))
> $3 = void
>
>
> -1 is not a valid register number.
>
> This probably due to EH_RETURN_DATA_REGNO not being properly defined for
> your port.
>
>
> jeff
>