public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65360] New: Compiler error, while using gcc xml to parse a .c and a .h file at the same time
@ 2015-03-09 10:31 pierre.sassoulas at fr dot thalesgroup.com
  0 siblings, 0 replies; only message in thread
From: pierre.sassoulas at fr dot thalesgroup.com @ 2015-03-09 10:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65360

            Bug ID: 65360
           Summary: Compiler error, while using gcc xml to parse a .c and
                    a .h file at the same time
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pierre.sassoulas at fr dot thalesgroup.com

Created attachment 34988
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34988&action=edit
The small test project for gccxml and the command line

gcc -v :
Utilisation des specs internes.
Target: x86_64-redhat-linux
Configuré avec: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Modèle de thread: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) 

I'm using the ab651a2aa866351bdd089a4bf1d57f6a9bec2a66 commit of
https://github.com/gccxml/gccxml to make a test for gcc_xml with a small
project (with a single .h and .c file). When I give both the .h and the .c, I
get a compiler error.

Command :
./gccxml_install/bin/gccxml -fno-strict-aliasing -fwrapv -I
test_duo_lib-src/lib -o duo_lib-src_compilé test_duo_lib-src/src/main.c
test_duo_lib-src/lib/mylib.h -fxml=resultat_test_duo_lib-src.xml

Result :
<command-line>:0: internal compiler error: in push_srcloc, at toplev.c:970
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I can't give the .i (-save-temp is not a recognised command). I can't attach
the gccxml build either it's heavy and configured by cmake with static path.
>From gcc-bugs-return-479775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 09 10:33:03 2015
Return-Path: <gcc-bugs-return-479775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23351 invoked by alias); 9 Mar 2015 10:33:03 -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 23273 invoked by uid 48); 9 Mar 2015 10:32:59 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65360] Compiler error, while using gcc xml to parse a .c and a .h file at the same time
Date: Mon, 09 Mar 2015 10:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.4.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: pinskia 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: <bug-65360-4-QnVEJXTAuu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65360-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65360-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-03/txt/msg00919.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide360

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Please report this bug in gcc xml since we don't support that here.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-09 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09 10:31 [Bug c/65360] New: Compiler error, while using gcc xml to parse a .c and a .h file at the same time pierre.sassoulas at fr dot thalesgroup.com

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).