[LLVMbugs] [Bug 9631] New: clang misses "-fpack-struct" GCC command line option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 5 06:00:29 PDT 2011


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

           Summary: clang misses "-fpack-struct" GCC command line option
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: gmarkhor at gmail.com
                CC: llvmbugs at cs.uiuc.edu


GCC supports -fpack-struct option, which is described at
http://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options

It globally sets the maximum alignment for struct members. However, clang does
not know about it.
Please implement that :) Since #pragma pack is already inside, it will not take
much work.

-- 
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