public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
@ 2009-04-16 1:45 jingyu at google dot com
2009-04-19 11:37 ` [Bug testsuite/39781] " ramana at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jingyu at google dot com @ 2009-04-16 1:45 UTC (permalink / raw)
To: gcc-bugs
These two tests require that platform supports pragma pack(push).
For example, gcc.dg/cpp_Pragma6.c:
/* PR c/27747 */
/* This is supposed to succeed only if
the target defines HANDLE_PRAGMA_PACK_PUSH_POP
and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */
/* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-*
m68k-*-* sh*-[us]*-elf m32c-*-* } } } } */
#define push bar
#define foo _Pragma ("pack(push)")
foo
int i;
#pragma pack(pop)
However, config/arm does not define "HANDLE_PRAGMA_PACK_PUSH_POP". So GCC gives
the following warning which breaks the dejaGNU test.
"warning: #pragma pack(push[, id], ) is not supported on this target"
The same failure is also observed on the report:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg01473.html
Suggest to filter arm-*-* out of the test target list.
$arm-eabi-gcc -v
Using built-in specs.
Target: arm-eabi
Configured with:
/usr/local/google/nightly/sources/arm_toolchain/gcc-4.4/configure
--prefix=/usr/local/google/tmp/gcc4.4_dejagnu/install --target=arm-eabi
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--with-gmp=/usr/local/google/tmp/gcc4.4_dejagnu/install
--with-mpfr=/usr/local/google/tmp/gcc4.4_dejagnu/install --enable-multilib
--with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++
Thread model: single
gcc version 4.4.0 20090415 (prerelease) (GCC)
--
Summary: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jingyu at google dot com
GCC build triplet: x86_64-linux-gnu, i686-linux-gnu
GCC host triplet: x86_64-linux-gnu, i686-linux-gnu
GCC target triplet: arm-unknown-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/39781] Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
2009-04-16 1:45 [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c jingyu at google dot com
@ 2009-04-19 11:37 ` ramana at gcc dot gnu dot org
2009-04-23 0:05 ` jingyu at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-04-19 11:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ramana at gcc dot gnu dot org 2009-04-19 11:37 -------
Patch submitted here.
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01406.html
--
ramana at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-19 11:37:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/39781] Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
2009-04-16 1:45 [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c jingyu at google dot com
2009-04-19 11:37 ` [Bug testsuite/39781] " ramana at gcc dot gnu dot org
@ 2009-04-23 0:05 ` jingyu at gcc dot gnu dot org
2009-04-23 0:31 ` jingyu at gcc dot gnu dot org
2009-04-23 0:34 ` jingyu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jingyu at gcc dot gnu dot org @ 2009-04-23 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jingyu at gcc dot gnu dot org 2009-04-23 00:05 -------
Subject: Bug 39781
Author: jingyu
Date: Thu Apr 23 00:05:03 2009
New Revision: 146629
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146629
Log:
PR testsuite/39781
* config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/39781] Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
2009-04-16 1:45 [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c jingyu at google dot com
2009-04-19 11:37 ` [Bug testsuite/39781] " ramana at gcc dot gnu dot org
2009-04-23 0:05 ` jingyu at gcc dot gnu dot org
@ 2009-04-23 0:31 ` jingyu at gcc dot gnu dot org
2009-04-23 0:34 ` jingyu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jingyu at gcc dot gnu dot org @ 2009-04-23 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jingyu at gcc dot gnu dot org 2009-04-23 00:31 -------
Subject: Bug 39781
Author: jingyu
Date: Thu Apr 23 00:31:13 2009
New Revision: 146634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146634
Log:
PR testsuite/39781
* config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/arm/arm.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/39781] Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c
2009-04-16 1:45 [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c jingyu at google dot com
` (2 preceding siblings ...)
2009-04-23 0:31 ` jingyu at gcc dot gnu dot org
@ 2009-04-23 0:34 ` jingyu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jingyu at gcc dot gnu dot org @ 2009-04-23 0:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jingyu at gcc dot gnu dot org 2009-04-23 00:34 -------
Add HANDLE_PRAGMA_PACK_PUSH_POP to arm.
Tests are done for both gcc trunk and gcc-4.4.
These two failures become pass.
Patch was submitted to trunk and gcc-4.4.
--
jingyu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39781
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-23 0:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-16 1:45 [Bug testsuite/39781] New: Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c jingyu at google dot com
2009-04-19 11:37 ` [Bug testsuite/39781] " ramana at gcc dot gnu dot org
2009-04-23 0:05 ` jingyu at gcc dot gnu dot org
2009-04-23 0:31 ` jingyu at gcc dot gnu dot org
2009-04-23 0:34 ` jingyu at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).