Bug 29055 - gcc.target/powerpc/darwin-bool-1.c fails on powerpc-apple-darwin8 at -m64
Summary: gcc.target/powerpc/darwin-bool-1.c fails on powerpc-apple-darwin8 at -m64
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 04:23 UTC by Jack Howarth
Modified: 2006-09-16 22:50 UTC (History)
3 users (show)

See Also:
Host: powerpc-apple-darwin8
Target: powerpc-apple-darwin8
Build: powerpc-apple-darwin8
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Howarth 2006-09-13 04:23:45 UTC
The testcase gcc.target/powerpc/darwin-bool-1.c fails when compiled on
Darwin PPC at -m64. It appears that sizeof(_Bool) returns 1 when the code
is compiled at -m64 rather than 4.
Comment 1 Andrew Pinski 2006-09-13 04:28:24 UTC
The testcase is invalid for -m64.
Comment 2 Jack Howarth 2006-09-13 13:52:52 UTC
So I assume I just need to create a patch that adds...

* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */

to the darwin-bool-1.c testcase?
Comment 3 Eric Christopher 2006-09-16 08:56:02 UTC
Subject: Bug 29055

Author: echristo
Date: Sat Sep 16 08:55:54 2006
New Revision: 116993

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116993
Log:
2006-09-16  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/29055
        * gcc.target/powerpc/darwin-bool-1.c: Skip -m64

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c

Comment 4 Andrew Pinski 2006-09-16 22:50:07 UTC
Fixed.