public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/37202] FAIL: gcc.dg/visibility-1[4-9].c
Date: Sun, 21 Sep 2008 18:33:00 -0000	[thread overview]
Message-ID: <20080921183143.30527.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37202-12313@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from danglin at gcc dot gnu dot org  2008-09-21 18:31 -------
This is also failing on hppa-unknown-linux-gnu.  It uses the define in
elfos.h.  assemble_external is not called.  It looks like output_operand
is wrong:

output_operand (rtx x, int code ATTRIBUTE_UNUSED)
{
  if (x && GET_CODE (x) == SUBREG)
    x = alter_subreg (&x);

  /* X must not be a pseudo reg.  */
  gcc_assert (!x || !REG_P (x) || REGNO (x) < FIRST_PSEUDO_REGISTER);

  PRINT_OPERAND (asm_out_file, x, code);
  if (x && MEM_P (x) && GET_CODE (XEXP (x, 0)) == SYMBOL_REF)
    {
      tree t;
      x = XEXP (x, 0);
      t = SYMBOL_REF_DECL (x);
      if (t)
        assemble_external (t);
    }
}

Breakpoint 4, output_operand (x=0x40146480, code=72)
    at ../../gcc/gcc/final.c:3365
3365      if (x && GET_CODE (x) == SUBREG)
(gdb) p debug_rtx (x)
(symbol_ref:SI ("foo") [flags 0x42] <var_decl 0x400e70b0 foo>)


-- 


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


  parent reply	other threads:[~2008-09-21 18:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 15:24 [Bug testsuite/37202] New: " dominiq at lps dot ens dot fr
2008-08-22 15:48 ` [Bug testsuite/37202] " espindola at google dot com
2008-08-22 16:18 ` dominiq at lps dot ens dot fr
2008-08-25  5:24 ` eric dot weddington at atmel dot com
2008-08-29  3:47 ` pinskia at gcc dot gnu dot org
2008-09-21 18:33 ` danglin at gcc dot gnu dot org [this message]
2008-09-21 18:55 ` danglin at gcc dot gnu dot org
2008-09-21 19:17 ` pinskia at gmail dot com
2008-09-21 19:38 ` dominiq at lps dot ens dot fr
2008-09-21 21:47 ` howarth at nitro dot med dot uc dot edu
2008-11-05 13:31 ` dominiq at lps dot ens dot fr
2008-11-11 15:34 ` howarth at nitro dot med dot uc dot edu
2008-11-11 23:15 ` mrs at apple dot com
2008-11-12 17:50 ` janis at gcc dot gnu dot org
2008-12-27  5:50 ` pinskia at gcc dot gnu dot org

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