From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3603 invoked by alias); 21 Mar 2009 08:48:46 -0000 Received: (qmail 3582 invoked by uid 48); 21 Mar 2009 08:48:32 -0000 Date: Sat, 21 Mar 2009 08:48:00 -0000 Subject: [Bug ada/39515] New: Malformed parent spec causes bomb in child compilation X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "simon at pushface dot org" 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 X-SW-Source: 2009-03/txt/msg01481.txt.bz2 foo.ads contained a bad comment (starting %- instead of --). Compiling foo-main.adb resulted in this bomb: $ gnatmake -c -u -f foo-main.adb gcc -c foo-main.adb +===========================GNAT BUG DETECTED==============================+ | 4.3.3 (i386-apple-darwin9.6.0) Assert_Failure sinfo.adb:2728 | | Error detected at foo.ads:3:1 | | 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 gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ 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. list may be incomplete compilation abandoned gnatmake: "foo-main.adb" compilation error $ gcc -v Using built-in specs. Target: i386-apple-darwin9.6.0 Configured with: ../gcc-4.3.3/configure --prefix=/opt/gcc-4.3.3 --with-gmp=/opt/gnu --with-mpfr=/opt/gnu --disable-multilib --enable-languages=c,ada Thread model: posix gcc version 4.3.3 (GCC) -- Summary: Malformed parent spec causes bomb in child compilation Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon at pushface dot org GCC build triplet: i386-apple-darwin9.6.0 GCC host triplet: i386-apple-darwin9.6.0 GCC target triplet: i386-apple-darwin9.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39515