public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/5672: Compiler segmentation fault in static initialiser.
@ 2002-02-12 10:56 Neil.Turton
  0 siblings, 0 replies; only message in thread
From: Neil.Turton @ 2002-02-12 10:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5672
>Category:       target
>Synopsis:       Compiler segmentation fault in static initialiser.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 10:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Neil Turton
>Release:        gcc version 3.1 20020212 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
Red Hat 6.2
Linux 2.2.14-5.0smp
libc 2.1.3
Pentium III 800Mhz
>Description:
When the following code is compiled for the mn10200
target, the compiler reports a segmentation fault.

The configuration is:
../gcc/configure --with-gcc-version-trigger=/home/nturton/galileo/mn10200-gcc/gcc/gcc/version.c --host=i686-pc-linux-gnu --target=mn10200-elf --with-as=/bin/false --with-ld=/bin/false --enable-maintainer-mode --disable-nls --enable-languages=c --norecursion 

bash$ ./build/gcc/cc1 test/foo.c -o /dev/null -v
GNU CPP version 3.1 20020212 (experimental) (cpplib) (MN10200)
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/mn10200-elf/3.1/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/mn10200-elf/3.1/../../../../mn10200-elf/sys-include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/mn10200-elf/3.1/../../../../mn10200-elf/include"
#include "..." search starts here:
End of search list.
test/foo.c:3: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
typedef unsigned long addr_t;
int x[2];
addr_t fatal = (addr_t)&x+4;
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

only message in thread, other threads:[~2002-02-12 18:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12 10:56 target/5672: Compiler segmentation fault in static initialiser Neil.Turton

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