Macros are expanded in some Solaris pragmas, such as #pragma align.
However, this is currently disabled for C++.  The #pragma handling
should be changed so that macros are expanded when the pragma is
encountered, if the specification of the particular pragma requires
macro expansion, rather than this only working when pragmas are not
deferred (so for C and ObjC but not for C++).

-- 
           Summary: macros should be expanded in #pragma align for C++
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: *-*-solaris*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18638

Reply via email to