public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Edelsohn <dje.gcc@gmail.com>
To: Iain Sandoe <iain@sandoe.co.uk>,
	 "Gade, Naresh (Coral Springs)" <naresh.gade@fiserv.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCC V10.3 compiler issue.
Date: Fri, 23 Sep 2022 04:02:50 -0400	[thread overview]
Message-ID: <CAGWvnynsQ1GW7N0gOU=KXZbsvN6OBch973pm8ec2_R9p5Q9jRA@mail.gmail.com> (raw)
In-Reply-To: <29A0282C-3E2A-48DC-81EE-F0B981A5DD4E@sandoe.co.uk>

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

On Fri, Sep 23, 2022 at 3:39 AM Iain Sandoe <iain@sandoe.co.uk> wrote:

> Hello Naresh,
>
> > On 23 Sep 2022, at 01:40, Gade, Naresh (Coral Springs)
> <naresh.gade@Fiserv.com> wrote:
>
> > We have downloaded GCC V10.3 compiler on our AIX server but we noticed a
> weird thing about the size of object files for certain source files.
> >
> > When tried to dump the object file, we noticed the DATA segment in the
> file is a large chunk of NULLS and it is eating lot of memory space.
>

GCC changed default behavior to use -fno-common.  This probably is
initialized zeroes.  You can try adding -fcommon to revert to the original
behavior, but please ensure that you understand the impact of that semantic.

Thanks, David

      reply	other threads:[~2022-09-23  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <MW5PR10MB585199A1111EC88D94EA1D3C82519@MW5PR10MB5851.namprd10.prod.outlook.com>
2022-09-23  7:39 ` Iain Sandoe
2022-09-23  8:02   ` David Edelsohn [this message]

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='CAGWvnynsQ1GW7N0gOU=KXZbsvN6OBch973pm8ec2_R9p5Q9jRA@mail.gmail.com' \
    --to=dje.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=iain@sandoe.co.uk \
    --cc=naresh.gade@fiserv.com \
    /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).