From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100776 invoked by alias); 21 Oct 2015 20:15:27 -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 100066 invoked by uid 48); 21 Oct 2015 20:15:22 -0000 From: "ghoort1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661 Date: Wed, 21 Oct 2015 20:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ghoort1 at gmail dot com X-Bugzilla-Status: NEW 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-10/txt/msg01767.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68010 --- Comment #6 from Andrey Chistyakov --- I simplified the Marcus' code: Ghoort@blade /cygdrive/c/Projects/bug $ cat c2.cpp namespace boost {} template struct C { }; template class StructDecoder : C { public: StructDecoder() { namespace bs =3D boost; using namespace bs; } }; void NFGParserparse() { StructDecoder q_syslog_desc; } Ghoort@blade /cygdrive/c/Projects/bug $ g++ -c -g c2.cpp c2.cpp: In constructor =C2=ABStructDecoder::StructDecoder() [with = Skipper =3D int]=C2=BB: c2.cpp:12:3: internal compiler error: =D0=B2 tree_to_shwi, =D0=B2 tree.h:36= 61 } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >>From gcc-bugs-return-500213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 21 20:22:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8637 invoked by alias); 21 Oct 2015 20:22:12 -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 8592 invoked by uid 48); 21 Oct 2015 20:22:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/68043] New: many undocumented options, missing punctuation Date: Wed, 21 Oct 2015 20:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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: 2015-10/txt/msg01768.txt.bz2 Content-length: 1708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68043 Bug ID: 68043 Summary: many undocumented options, missing punctuation Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- As discussed in the thread at the link below, gcc's online help (the output of gcc --help -v) includes a large number of undocumented options (197 in 5.1.0). For example, the section listing language-related options starts with the following and 44 or so more undocumented options: The following options are language-related: --all-warnings This switch lacks documentation --ansi This switch lacks documentation --assert This switch lacks documentation ... All of the options in the section above and a good number of others are synonyms for other options that are, in fact, documented. This bug tracks an enhancement to use this "aliasing" knowledge to avoid printing "This switch lacks documentation" for such options and improve the experience using the compiler. In addition, as was also noted in the mailing list discussion, many of the one-sentence descriptions of the options are not properly ended with a period, making printing additional (generated) sentences difficult. To make that possible, the other aspect of this bug is to track fixing the sources of the descriptions (i.e., the various .opt files) to properly terminate each sentence. https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01395.html