This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34981] New: [4.2/4.3 Regression] Lazily-bound function called twice
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2008 10:14:21 -0000
- Subject: [Bug target/34981] New: [4.2/4.3 Regression] Lazily-bound function called twice
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
bar()'s lazy-binding stub can be called twice for the following testcase
when compiled at -O2 on mips64-linux-gnu:
void bar (void);
void
foo (int n)
{
while (n--)
{
bar ();
bar ();
}
}
--
Summary: [4.2/4.3 Regression] Lazily-bound function called twice
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rsandifo at gcc dot gnu dot org
GCC target triplet: mips64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34981