public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/11498] New: asm can't be used to give a variable its own name
@ 2003-07-11  8:02 geoffk at gcc dot gnu dot org
  2003-07-11  8:02 ` [Bug middle-end/11498] " geoffk at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2003-07-11  8:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: asm can't be used to give a variable its own name
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: any

This doesn't work:

int foo(void)
{
  static int x asm ("x") = 3;
  return x++;
}

because of the hacky way that make_decl_rtl tries to determine if
DECL_ASSEMBLER_NAME has already been set.  It shouldn't be in that business at
all, that code should be in lhd_set_decl_assembler_name.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-07-26  2:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11  8:02 [Bug middle-end/11498] New: asm can't be used to give a variable its own name geoffk at gcc dot gnu dot org
2003-07-11  8:02 ` [Bug middle-end/11498] " geoffk at gcc dot gnu dot org
2003-07-11 10:22 ` pinskia at physics dot uc dot edu
2003-07-15  1:11 ` [Bug middle-end/11498] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
2003-07-15 13:23 ` pinskia at physics dot uc dot edu
2003-07-16 20:58 ` geoffk at gcc dot gnu dot org
2003-07-17 21:53 ` cvs-commit at gcc dot gnu dot org
2003-07-17 21:55 ` geoffk at gcc dot gnu dot org
2003-07-17 21:55 ` geoffk at gcc dot gnu dot org
2003-07-26  2:30 ` neroden at gcc dot gnu dot org

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