public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/25140]  New: aliases, including weakref, break alias analysis
@ 2005-11-28 17:03 geoffk at gcc dot gnu dot org
  2005-11-28 17:06 ` [Bug middle-end/25140] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2005-11-28 17:03 UTC (permalink / raw)
  To: gcc-bugs

The following program:

extern void abort (void);
int x = 0;
extern int y __attribute((weakref("x")));

int main(void)
{ 
  x = 1;
  y = 2;
  if (x != 2)
    abort ();
  return 0;
}

when compiled with -O2 on powerpc-darwin, unconditionally calls abort().  It
should not.


-- 
           Summary: aliases, including weakref, break alias analysis
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org
  GCC host triplet: *-*-*


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


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <bug-25140-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-02-17 12:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-28 17:03 [Bug middle-end/25140] New: aliases, including weakref, break alias analysis geoffk at gcc dot gnu dot org
2005-11-28 17:06 ` [Bug middle-end/25140] " pinskia at gcc dot gnu dot org
2005-11-28 18:40 ` aoliva at gcc dot gnu dot org
2005-11-28 19:22 ` geoffk at geoffk dot org
2005-11-29 13:55 ` aoliva at gcc dot gnu dot org
2005-11-30  1:01 ` geoffk at geoffk dot org
2009-09-26 11:29 ` rguenth at gcc dot gnu dot org
2009-09-26 11:51 ` geoffk at gcc dot gnu dot org
2009-09-26 12:01 ` rguenth at gcc dot gnu dot org
2009-09-26 12:15 ` geoffk at gcc dot gnu dot org
2010-05-09 16:50 ` rguenth at gcc dot gnu dot org
2010-08-13 20:11 ` bigotp at acm dot org
     [not found] <bug-25140-4@http.gcc.gnu.org/bugzilla/>
2014-02-17 12:25 ` rguenth at gcc dot gnu.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).