[LLVMbugs] [Bug 3887] New: llvm-gcc/gcc/java/lang.c: force_align_functions_log

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 26 06:28:54 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3887

           Summary: llvm-gcc/gcc/java/lang.c: force_align_functions_log
           Product: tools
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ksherlock at gmail.com
                CC: llvmbugs at cs.uiuc.edu


llvm-gcc/gcc/java/lang.c:378: error: "force_align_functions_log" undeclared
(first use in this function)

flags.h:

/* APPLE LOCAL begin mainline aligned functions 5933878 */
/* Removed extern force_align_functions_log.  */
/* APPLE LOCAL end mainline aligned functions 5933878 */

The variable is still referenced in java/lang.c

  /* Force minimum function alignment if g++ uses the least significant
     bit of function pointers to store the virtual bit. This is required
     to keep vtables compatible.  */
  if (TARGET_PTRMEMFUNC_VBIT_LOCATION == ptrmemfunc_vbit_in_pfn
      && force_align_functions_log < 1)
    force_align_functions_log = 1;


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list