public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Ada bootstrap
Date: Fri, 15 Jan 2010 08:27:00 -0000	[thread overview]
Message-ID: <20100115082715.10932.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42068-279@http.gcc.gnu.org/bugzilla/>



------- Comment #14 from ebotcazou at gcc dot gnu dot org  2010-01-15 08:27 -------
> sorry for replying late, I was missed this problem somehow in my bugzilla
> folder. The test in question verify that variables that are common or weak are
> also either public or external.

No doubt about that.  The problem is, this was installed without mention in the
ChangeLog so looks quite unintentional.  If this is intentional, you should fix
the ChangeLog.

> I will have time to try to reproduce the problem only tomorrow or during
> weekend (it will be bit tricky as I know of no machine known to fail here I
> can access easily),

Please read comment #5.

> but it seems to me that if Ada produce variable failing this test, it is
> frontend problem uncovered by the sanity check.

See utils.c:create_var_decl_1

  /* Ada doesn't feature Fortran-like COMMON variables so we shouldn't
     try to fiddle with DECL_COMMON.  However, on platforms that don't
     support global BSS sections, uninitialized global variables would
     go in DATA instead, thus increasing the size of the executable.  */
  if (!flag_no_common
      && TREE_CODE (var_decl) == VAR_DECL
      && !have_global_bss_p ())
    DECL_COMMON (var_decl) = 1;


-- 


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


  parent reply	other threads:[~2010-01-15  8:27 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 17:50 [Bug bootstrap/42068] New: [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX " ro at gcc dot gnu dot org
2009-11-17 16:13 ` [Bug bootstrap/42068] " rguenth at gcc dot gnu dot org
2009-11-19 12:27 ` ebotcazou at gcc dot gnu dot org
2009-11-19 12:31 ` ebotcazou at gcc dot gnu dot org
2009-11-27 11:20 ` rguenth at gcc dot gnu dot org
2009-12-10 21:56 ` ebotcazou at gcc dot gnu dot org
2009-12-11 17:25 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2009-12-26 19:44 ` ebotcazou at gcc dot gnu dot org
2009-12-26 21:18 ` rupp at gnat dot com
2010-01-06 22:44 ` [Bug middle-end/42068] " ebotcazou at gcc dot gnu dot org
2010-01-06 22:45 ` [Bug middle-end/42068] [4.5 regression] ICE in function_and_variable_visibility breaks " ebotcazou at gcc dot gnu dot org
2010-01-06 22:48 ` ebotcazou at gcc dot gnu dot org
2010-01-11 11:27 ` ebotcazou at gcc dot gnu dot org
2010-01-11 22:12 ` simon at pushface dot org
2010-01-13  8:46 ` ebotcazou at gcc dot gnu dot org
2010-01-13 15:03 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-01-15  0:33 ` hubicka at gcc dot gnu dot org
2010-01-15  8:27 ` ebotcazou at gcc dot gnu dot org [this message]
2010-01-16 12:30 ` hubicka at ucw dot cz
2010-01-16 14:54 ` hubicka at gcc dot gnu dot org
2010-01-16 14:54 ` hubicka at gcc dot gnu dot org
2010-01-16 15:11 ` ebotcazou at gcc dot gnu dot org
2010-01-18 12:20 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-01-18 12:58 ` hubicka at ucw dot cz
2010-01-18 15:42 ` hubicka at gcc dot gnu dot org
2010-01-18 15:47 ` [Bug middle-end/42068] [4.5 regression] ICE in function_and_variable_visibility with static common vars hubicka at gcc dot gnu dot org
2010-01-18 15:49 ` rguenth at gcc dot gnu dot org
2010-01-18 17:19 ` hubicka at gcc dot gnu dot org
2010-01-18 20:42 ` simon at pushface dot org
2010-01-18 20:54 ` simon at pushface dot org
2010-01-19 10:48 ` hubicka at ucw dot cz
2010-01-19 12:36 ` simon at pushface dot org
2010-01-20 16:37 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-01-21 16:57 ` hubicka at ucw dot cz
2010-01-21 17:12 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2010-01-21 17:37 ` rupp at gnat dot com
2010-01-22 14:52 ` hubicka at ucw dot cz
2010-03-07 20:50 ` hubicka at gcc dot gnu dot org
2010-03-08 11:57 ` rguenth at gcc dot gnu dot org
2010-03-08 11:59 ` rguenth at gcc dot gnu dot org
2010-03-08 12:03 ` [Bug ada/42068] [4.5 regression] ICE in function_and_variable_visibility ebotcazou at gcc dot gnu dot org
2010-03-09  5:21 ` rupp at gnat dot com

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=20100115082715.10932.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).