From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30118 invoked by alias); 30 Jul 2013 14:36:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30043 invoked by uid 55); 30 Jul 2013 14:36:01 -0000 From: "richard.koolhans at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/58020] Code for handling IEEE exceptions Date: Tue, 30 Jul 2013 14:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: richard.koolhans at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg01490.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58020 --- Comment #6 from richard.koolhans at gmail dot com --- Bonjour Dominique- Le reste sera l'anglais! Voil=C3=A0 pour mon cours de fran=C3=A7ais. I see your bug report. There are two matters to track down here. The first one is the diagnostic of 'PR58027'. This may require you to report a line number. That would be great. Testing that I have done is with the gfortran compiler on Krogh's machine and my own with the Intel compiler. I do not have access to the machine you are using. The second matter is the difference in a line of output. That is the printing of the 4 digit approximation to \pi. The internal constant \pi itself comes from the stored value in the x87. The output of the number comes from the routine messy. I expect the hardware value is correct. So one machine writes 3.141 wit messy, and the other 3.142. I appreciate the feedback. Hope we can find the issues and clear them up. Richard >>From gcc-bugs-return-426984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 30 14:50:51 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21691 invoked by alias); 30 Jul 2013 14:50:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21628 invoked by uid 48); 30 Jul 2013 14:50:48 -0000 From: "bluescarni at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58030] New: Mismatched tags in std::hash friends Date: Tue, 30 Jul 2013 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: bluescarni at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg01491.txt.bz2 Content-length: 1668 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58030 Bug ID: 58030 Summary: Mismatched tags in std::hash friends Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: bluescarni at gmail dot com I am testing out clang in conjunction with GCC 4.8.1's libstdc++ in c++11 mode. I routinely get these warnings when compiling with -Wall and -Wextra: --- /home/yardbird/repos/piranha/src/rational.hpp:1753:1: warning: 'hash' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct hash ^ /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1/bits/stl_bvector.h:523:31: note: did you mean struct here? template friend class hash; ^ /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1/bitset:763:33: note: did you mean struct here? template friend class hash; ^ /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1/bits/stl_bvector.h:523:31: note: did you mean struct here? template friend class hash; ^ --- Indeed, these friendship declarations in bitset and stl_bvector.h use 'class' instead of 'struct' when referring to std::hash. It is my understanding that this behaviour does not constitute a violation of the standard... still it irks my compiler warnings OCD :) Any chance this could be fixed sometimes?