This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25140] New: aliases, including weakref, break alias analysis
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2005 17:03:24 -0000
- Subject: [Bug middle-end/25140] New: aliases, including weakref, break alias analysis
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
- Follow-Ups:
- [Bug middle-end/25140] aliases, including weakref, break alias analysis
- From: pinskia at gcc dot gnu dot org
- [Bug middle-end/25140] aliases, including weakref, break alias analysis
- From: aoliva at gcc dot gnu dot org
- [Bug middle-end/25140] aliases, including weakref, break alias analysis
- From: geoffk at geoffk dot org
- [Bug middle-end/25140] aliases, including weakref, break alias analysis
- From: aoliva at gcc dot gnu dot org
- [Bug middle-end/25140] aliases, including weakref, break alias analysis
- From: geoffk at geoffk dot org