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]

Re: [PATCH] Fix PR80334


Hi Richard,

>> > Any suggestion how to mitigate that?  Possible solution includes
>> > adding { target { ! ... } } to dg-do run.
>> 
>> No idea.  However, according to gcc-testresults there are other
>> failures: s390-ibm-inux-gnu and s390x-ibm-linux-gnu so far.
>> 
>> This might argue against just excluding a random list of failing targets.
>
> Hmm.  Does using __BIGGEST_ALIGNMENT__, thus
>
> int
> main()
> {
>   alignas(__BIGGEST_ALIGNMENT__) B b[3];
> ...
>
> work for you?

it does: the test now PASSes on sparc-sun-solaris2.12 and continues to
do so in i386-pc-solaris2.12, both 32 and 64-bit.

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


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