This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14580] New: [3.5 Regression] symbol emitted instead of a non_lazy_symbol


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]