From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120538 invoked by alias); 30 Sep 2015 08:41: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 120510 invoked by uid 48); 30 Sep 2015 08:41:01 -0000 From: "marcin.slusarz at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67764] -Wconversion generates false warnings for bitmask+cast expressions Date: Wed, 30 Sep 2015 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marcin.slusarz at intel dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 2015-09/txt/msg02356.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67764 --- Comment #2 from Marcin =C5=9Alusarz -= -- That's still gcc bug. >>From gcc-bugs-return-498379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Sep 30 08:58:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103446 invoked by alias); 30 Sep 2015 08:58:07 -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 103171 invoked by uid 48); 30 Sep 2015 08:58:03 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67777] unsigned wchar_t and signed wchar_t should cause compiler errors but do not. Date: Wed, 30 Sep 2015 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 2015-09/txt/msg02357.txt.bz2 Content-length: 366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67777 --- Comment #1 from Jonathan Wakely --- This is a GNU extension, use -Wpedantic or -Werror=3Dpedantic to get a diagnostic. The diagnostic is not enormously helpful though: w.cc:1:17: warning: long, short, signed or unsigned used invalidly for =E2=80=98parameter=E2=80=99 [-Wpedantic] >>From gcc-bugs-return-498380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Sep 30 09:00:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106384 invoked by alias); 30 Sep 2015 09:00:57 -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 106134 invoked by uid 48); 30 Sep 2015 09:00:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67777] unsigned wchar_t and signed wchar_t should cause compiler errors but do not. Date: Wed, 30 Sep 2015 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg02358.txt.bz2 Content-length: 334 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67777 --- Comment #2 from Jonathan Wakely --- (In reply to Trevor Hickey from comment #0) > Why can we add signed/unsigned qualifiers to wchar_t? It produces a type of the same size but with the opposite signedness, like std::make_signed/std::make_unsigned.