This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14580] New: [3.5 Regression] symbol emitted instead of a non_lazy_symbol
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2004 14:40:21 -0000
- Subject: [Bug target/14580] New: [3.5 Regression] symbol emitted instead of a non_lazy_symbol
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is a recent regression and it causes libjava not to build.
Here is a simple testcase:
#include <sys/types.h>
#include <sys/mman.h>
template <typename T_implPtr, typename T_implLen>
static inline int
munmap_adaptor(int (*munmap)(T_implPtr caddr, T_implLen sizet),
void* caddr, size_t sizet)
{
return munmap ((T_implPtr) caddr, (T_implLen) sizet);
}
void *implPtr;
size_t implLen;
void
unmapImpl ()
{
munmap_adaptor(munmap, implPtr, implLen);
}
int main()
{
unmapImpl();
}
--
Summary: [3.5 Regression] symbol emitted instead of a
non_lazy_symbol
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: wrong-code, build
Severity: critical
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: andreast at gcc dot gnu dot org,austern at apple dot
com,gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14580