public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38358]  New: Could not compile gcc using large include files
@ 2008-12-02  0:02 ahjiefreak at yahoo dot com
  2008-12-02  0:04 ` [Bug middle-end/38358] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: ahjiefreak at yahoo dot com @ 2008-12-02  0:02 UTC (permalink / raw)
  To: gcc-bugs

I am trying to compile a typical c file with include option turned on. The
include option includes .h file as part of the array element declaration for
the c file.

When I did compile:-

gcc c.c -include myfile.h -D STS
In file included from /usr/include/sys/cdefs.h:0,
                 from /usr/include/features.h:33,
                 from /usr/include/stdio.h:9,
                 from c.c:19:
/usr/include/bits/wordsize.h:1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

I have checked the c.c:19 and they are commentation without any code before and
after that line. My exact code only starts at line 40. I included the same .h
file but with smaller size of .h file. It works perfectly and compilable.This
file size is around 1-2MB. But the previous .h file which gives the above error
has 1GB of file size.

Is this a bug or do i need to specify any extra options to handle this special
case?


Please advise.


Thanks.


-- 
           Summary: Could not compile gcc using large include files
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ahjiefreak at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38358


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-38358-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2015-09-17 23:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02  0:02 [Bug c/38358] New: Could not compile gcc using large include files ahjiefreak at yahoo dot com
2008-12-02  0:04 ` [Bug middle-end/38358] " pinskia at gcc dot gnu dot org
2008-12-02  0:27 ` ahjiefreak at yahoo dot com
2008-12-02  0:30 ` pinskia at gcc dot gnu dot org
2008-12-02 11:11 ` rguenth at gcc dot gnu dot org
2008-12-02 13:09 ` ahjiefreak at yahoo dot com
     [not found] <bug-38358-4@http.gcc.gnu.org/bugzilla/>
2015-09-17 23:42 ` manu at gcc dot gnu.org

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