Bug 69294 - [6 Regression] std::isinf and std::isnan declaration conflict
Summary: [6 Regression] std::isinf and std::isnan declaration conflict
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 6.0
: P3 normal
Target Milestone: 6.0
Assignee: Jonathan Wakely
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-15 13:47 UTC by David Edelsohn
Modified: 2016-01-15 23:03 UTC (History)
3 users (show)

See Also:
Host:
Target: powerpc-ibm-aix*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2016-01-15 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edelsohn 2016-01-15 13:47:28 UTC
FAIL: 26_numerics/headers/cmath/48891.cc (test for excess errors)
Excess errors:
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891
.cc:26:12: error: 'constexpr bool std::isinf(double)' conflicts with a previous 
declaration
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891
.cc:27:12: error: 'constexpr bool std::isnan(double)' conflicts with a previous 
declaration
Comment 1 David Edelsohn 2016-01-15 13:47:53 UTC
confirmed.
Comment 2 Jonathan Wakely 2016-01-15 13:53:36 UTC
The underlying bug has always been present on AIX, but until I added this new test it wasn't noticed.
Comment 3 Jonathan Wakely 2016-01-15 23:01:02 UTC
Author: redi
Date: Fri Jan 15 23:00:30 2016
New Revision: 232455

URL: https://gcc.gnu.org/viewcvs?rev=232455&root=gcc&view=rev
Log:
PR libstdc++/69294 Check for isinf and isnan on AIX

	PR libstdc++/69294
	* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
	and isnan on AIX. Quote variables.
	* configure: Regenerate.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/acinclude.m4
    trunk/libstdc++-v3/configure
Comment 4 Jonathan Wakely 2016-01-15 23:03:37 UTC
Fixed