From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19947 invoked by alias); 17 Aug 2014 14:45:18 -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 19903 invoked by uid 48); 17 Aug 2014 14:45:12 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62165] Misleading error messages when using "impossible" brace initializer list Date: Sun, 17 Aug 2014 14:45: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org 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: bug_status 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: 2014-08/txt/msg01163.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62165 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Yes, I agree the error is not very clear. It would be even more helpful if = it said why type is not an aggregate (in this case, because there is an equal initializer for a non-static member). >>From gcc-bugs-return-458667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Aug 17 14:53:45 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22819 invoked by alias); 17 Aug 2014 14:53:45 -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 22749 invoked by uid 48); 17 Aug 2014 14:53:35 -0000 From: "cand at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing Date: Sun, 17 Aug 2014 14:53: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cand at gmx 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: cf_known_to_fail 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: 2014-08/txt/msg01164.txt.bz2 Content-length: 991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 Lauri Kasanen changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.10.0 |5.0 --- Comment #7 from Lauri Kasanen --- Latest trunk (214073) is still broken. Using latest trunk, I tried all optimization sub-options in O2 to find the smallest hammer that fixes it. -O2 -fno-thread-jumps: crash -O2 -fno-align-functions: crash ... -O2 -fno-use-caller-save: crash The only combos that worked: -O2 -fno-inline-small-functions: works -O2 -fno-strict-aliasing: works Moving to -O1 with those: -O1 -finline-small-functions: works -O1 -fstrict-aliasing: works -O1 -fstrict-aliasing -finline-small-functions: crash This does point to the code being wrong somehow, but in that case, -Wall -Wextra should say something, and this would be a missing warning bug in gcc.