public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: woodfin@intersystems.com
To: gcc-gnats@gcc.gnu.org
Subject: c/10344: Internal compiler error on large struct
Date: Mon, 07 Apr 2003 22:46:00 -0000	[thread overview]
Message-ID: <20030407224117.3077.qmail@sources.redhat.com> (raw)


>Number:         10344
>Category:       c
>Synopsis:       Internal compiler error on large struct
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 07 22:46:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tom Woodfin
>Release:        gcc version 3.2 20020927 (prerelease)
>Organization:
>Environment:
Cygwin on Windows XP SP1. P4 Xeon with Hyperthreading enabled.
>Description:
gcc seg faults when compiling a return statement which calls an identity function on a static struct containing a large array.


>How-To-Repeat:
The code attached causes a gcc seg fault while compiling the line noted. A substantially smaller array in the space struct compiles (and runs) successfully. A larger one crashes. In a particular magic range around 1050000 (at least on this machine), compilation seems to go into some kind of loop.

Command line was:
 gcc -v -save-temps teststruct.c >& teststruct.log


Not repeatable on gcc version 2.95.3 20010315 (SuSE)

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-gzip-compressed; name="teststruct.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="teststruct.tgz"

H4sIANb9kT4AA+1X62/bNhDPV+mvINIOs9Ho4UedzK0LNA+0ATInSNLHMAwaTVEyA4rSRCq2N+x/
31EPW3a8xcCWdB90CCLyxx+PxzvekVZUKqnSjCibx+Hek4jbcd3BYLDnum7n8HUv/8Kf/mrpD/ow
djjo93uHg0HfBX5v0O/uIfdpzFmXTCqcIrR3G0foSxz7ARNbeeNY0Oew55nlmmKfiRDJhBKJghS8
4GQydTibOCEhlv6ywdHASohFFuGMCadnd52cbp7EImBhllIfzZiaDpEjqEopd2RK8tlAtXoOqWjI
sqjAE04tjkWY4ZDKETkg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3QLu2pivg7FMQpGFnYrN8gtvl077/68XmqNR55/7v9
h+//nttr3v/PIS9QB+3XUwTqpobe6terfj2/qwDI0QhD8YKHLK3A9Ylm0YTfEhgy4Q8TIQJvYeRj
hX/uuK91qH95Y/75ZoNI4mRRZGtrDZ/kWDtXBK/0LBUlBDrMDR3LhG8VfKnTmaA1DqRkFKc+w/y4
VLPUWzNhk9XWq33rKD2d1O+Bp1rjsfw/7DzM/87rJv+fQww7gIvX2Mhkw9Y/leGDObzIUNe0Qx5P
OPJWiQKDPg2MGvLGsCXhRhe+apFQo6dbVADLrLGGppFkcsqN7+gkMY0ovtdNmRygAlgOzk0D7l9u
vOy6ekxW5KOWJrZz/nypYDLXAAYArm5udLorll+xXpZFSINkNRXD1JZeoL2EfID6GxgB7KjC9K8X
w4toRJLFFhuw768ZnsRJtaeqCSgUH+Nl37S5Lq3I26w8tntQGlz5uljvH/z8rU9TI4000kgjjTTS
SCONNNJII4000kgjjTTyf5K/APP61pYAKAAA


                 reply	other threads:[~2003-04-07 22:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030407224117.3077.qmail@sources.redhat.com \
    --to=woodfin@intersystems.com \
    --cc=gcc-gnats@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: link
Be 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).