This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [MSP430] [PR80993] Prevent lto removing interrupt handlers
- From: Nick Clifton <nickc at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at somniumtech dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Aug 2017 14:23:41 +0100
- Subject: Re: [PATCH] [MSP430] [PR80993] Prevent lto removing interrupt handlers
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4286926B2B
- References: <fb84a9b6-661f-6e8c-bb12-1a538f3144df@somniumtech.com>
Hi Jozef,
> As reported in PR80993, enabling lto causes interrupt handlers to be
> removed. This patch marks interrupt handlers as used, preventing them
> from being optimized out.
>
> If the attached patch is acceptable, I would appreciate if someone could
> commit it for me, as I do not have write access.
Approved and applied. Thanks for fixing this bug.
Cheers
Nick