public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/66162] New: Bug box compiling Ada.Finalization with -gnatc Date: Fri, 15 May 2015 15:52:00 -0000 [thread overview] Message-ID: <bug-66162-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66162 Bug ID: 66162 Summary: Bug box compiling Ada.Finalization with -gnatc Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: simon at pushface dot org Target Milestone: --- Created attachment 35549 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35549&action=edit Reproducer (to be gnatchopped) I’ve built GCC 5.1.0 for arm-eabi (over x86_64-apple-darwin13), and while adding finalization to my RTS I got the following bug box while compiling a-finali.ads. This doesn’t happen when compiling fully (fails, of course): $ gprbuild -c -u -f -P build_runtime.gpr a-finali.adb build_runtime.gpr:1:09: warning: there are no Asm_Cpp sources in this project arm-eabi-gcc -c -gnatpgn -gnatqQ -nostdinc -ffunction-sections -fdata-sections -g -Og a-finali.ads cannot generate code for file a-finali.ads (package spec) gprbuild: *** compilation phase failed FAILURE: gprbuild -c -u -f -gnatc -p -P/Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/build_runtime.gpr /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/a-finali.ads build_runtime.gpr:1:09: warning: there are no Asm_Cpp sources in this project arm-eabi-gcc -c -gnatpgn -gnatqQ -nostdinc -ffunction-sections -fdata-sections -g -Og -gnatc a-finali.ads +===========================GNAT BUG DETECTED==============================+ | 5.1.0 (arm-eabi) Constraint_Error erroneous memory access | | Error detected at a-finali.ads:70:4 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/system.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/a-finali.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/ada.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/s-finroo.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/a-tags.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/s-stoele.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/interfac.ads /Users/simon/stm32f4-gnat-rts/stm32f429i-disco-rtos/adainclude/a-stream.ads compilation abandoned gprbuild: *** compilation phase failed >From gcc-bugs-return-486359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 15 15:58:25 2015 Return-Path: <gcc-bugs-return-486359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89885 invoked by alias); 15 May 2015 15:58:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89699 invoked by uid 48); 15 May 2015 15:58:16 -0000 From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65903] [5/6 Regression] Line continuation followed by comment character in string fails to compile Date: Fri, 15 May 2015 15:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65903-4-xsKi8S4zLz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65903-4@http.gcc.gnu.org/bugzilla/> References: <bug-65903-4@http.gcc.gnu.org/bugzilla/> 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-05/txt/msg01199.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?ide903 --- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Laurent Chardon from comment #4) > Thanks for the fix. If I may suggest a modification of the testcase in order > to check also when there are no blanks between the & and !. I know in > Fortran it shouldn't matter, but I don't see any harm in making sure... Good idea, will do. Just waiting for approval to commit.
next reply other threads:[~2015-05-15 15:52 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-05-15 15:52 simon at pushface dot org [this message] 2015-05-17 10:39 ` [Bug ada/66162] " simon at pushface dot org 2015-05-17 12:57 ` ebotcazou at gcc dot gnu.org 2015-05-17 14:37 ` simon at pushface dot org 2015-05-17 15:22 ` [Bug ada/66162] segfault on code using controlled types in -gnatc mode ebotcazou at gcc dot gnu.org 2015-06-02 11:36 ` simon at pushface dot org 2015-06-02 16:49 ` ebotcazou at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-66162-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).