This is the mail archive of the gcc-patches@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]

gcc.dg/align-1.c


The test gcc.dg/align-1.c added with this change

2003-03-31  Jason Merrill  <jason at redhat dot com>

        PR java/10145
        * stor-layout.c (update_alignment_for_field): Respect
        DECL_USER_ALIGN for zero-length bitfields, too.
        * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
        fields.

does not even compile.  Default gcc.dg options are -ansi -pedantic-errors 
which means that we can't use long long or // comments.  I think you need 
to set dg-options.

BTW, there was no ChangeLog entry for the addition of this test.

R.


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