From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28873 invoked by alias); 24 Mar 2015 09:26:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28838 invoked by uid 48); 24 Mar 2015 09:26:17 -0000 From: "charlet at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/65524] gnatbind generates decrementing the unexisting elab-counter into finalize_library Date: Tue, 24 Mar 2015 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: charlet at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg02495.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65524 Arnaud Charlet changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Arnaud Charlet --- Using a custom runtime change isn't supported by GCC FSF. I suspect the fix if any would be to geenrate the _elabs routine rather than trying to patch the binder, but as you are using a customized runtime, there might be other issues at play and the simplest is for you to remove the use of a 'is null' subprogram.