Bug 43458 - c99_classification_macros_c.cc fails on hppa*-*-hpux*
Summary: c99_classification_macros_c.cc fails on hppa*-*-hpux*
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 01:18 UTC by John David Anglin
Modified: 2010-04-09 00:32 UTC (History)
1 user (show)

See Also:
Host:
Target: hppa*-*-hpux*
Build:
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 John David Anglin 2010-03-21 01:18:56 UTC
Executing on host: /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc -B/test/gnu/gcc
/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++
-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -B/o
pt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.5.0/hppa2.0
w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/includ
e -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/sys-include -B/test/gnu/
gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -g -O2 -D_GLIBCXX_ASSE
RT -fmessage-length=0 -g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/
objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/
gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/li
bstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/g
nu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/
26_numerics/headers/cmath/c99_classification_macros_c.cc   -D__GLIBCXX__=9999999
9 -S  -o c99_classification_macros_c.s    (timeout = 600)
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:40:16: error: macro "isgreater" requires 2 arguments, but only
 1 given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:42:21: error: macro "isgreaterequal" requires 2 arguments, but
 only 1 given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:44:13: error: macro "isless" requires 2 arguments, but only 1 
given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:46:18: error: macro "islessequal" requires 2 arguments, but on
ly 1 given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:48:20: error: macro "islessgreater" requires 2 arguments, but 
only 1 given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:50:18: error: macro "isunordered" requires 2 arguments, but on
ly 1 given
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:28:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:28:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:28:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:30:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:30:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:30:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:32:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:32:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:32:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:34:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:34:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:34:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:36:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:36:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:36:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:38:6: error: expected unqualified-id before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:38:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:38:6: error: expected ')' before 'sizeof'
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:40:6: error: variable or field 'isgreater' declared void
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:40:6: warning: extended initializer lists only available with 
-std=c++0x or -std=gnu++0x
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:44:6: error: variable or field 'isless' declared void
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:44:6: warning: extended initializer lists only available with 
-std=c++0x or -std=gnu++0x
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:48:6: error: variable or field 'islessgreater' declared void
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classific
ation_macros_c.cc:48:6: warning: extended initializer lists only available with 
-std=c++0x or -std=gnu++0x
compiler exited with status 1
Comment 1 Paolo Carlini 2010-03-21 01:50:00 UTC
This is expected, given our implementation and the current status vs C99 macros. For now just tweak the dg- lines, include hppa*-*-hpux*. At some point we'll want to clean-up the whole thing.
Comment 2 John David Anglin 2010-03-29 23:51:28 UTC
Subject: Bug 43458

Author: danglin
Date: Mon Mar 29 23:51:05 2010
New Revision: 157806

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157806
Log:
	PR target/43458
	* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Xfail hppa*-*-hpux*.


Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc

Comment 3 John David Anglin 2010-04-09 00:26:54 UTC
Subject: Bug 43458

Author: danglin
Date: Fri Apr  9 00:26:41 2010
New Revision: 158144

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158144
Log:
	PR target/43458
	* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Xfail hppa*-*-hpux*.


Modified:
    branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_4-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc

Comment 4 John David Anglin 2010-04-09 00:32:12 UTC
Fixed on 4.4, 4.5 and trunk.
Comment 5 John David Anglin 2010-04-10 00:37:13 UTC
Subject: Bug 43458

Author: danglin
Date: Sat Apr 10 00:37:02 2010
New Revision: 158184

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158184
Log:
	PR target/43458
	* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Xfail hppa*-*-hpux*.


Modified:
    branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_3-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc