https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 --- Comment #11 from Peter Bergner --- Fixed on trunk. I'll check how far back we need to back port this to and fix it there too. >From gcc-bugs-return-606639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 18:49:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107900 invoked by alias); 6 Jun 2018 18:49:34 -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 107702 invoked by uid 55); 6 Jun 2018 18:49:14 -0000 From: "charlie at sallyandcharlie dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that span more than one line. Date: Wed, 06 Jun 2018 18:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: charlie at sallyandcharlie dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P4 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: 2018-06/txt/msg00434.txt.bz2 Content-length: 1326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065 --- Comment #4 from Charlie --- Thank you. I ran "MinGW Installation Manager" and it installed gfortran v 6.3.0-1 That version appears to work fine for my namelist array problem. I'm not sure how to upgrade beyond 6.3.0-1 to the versions mentioned in the "known to work" section (6.4.1, 7.3.1, 8.1.1, 9.0) but my immediate problem is certainly fixed. Thanks Again, Charlie -----Original Message----- From: kargl at gcc dot gnu.org [mailto:gcc-bugzilla@gcc.gnu.org] Sent: Wednesday, June 6, 2018 10:52 AM To: charlie@sallyandcharlie.com Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that span more than one line. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Known to work| |6.4.1, 7.3.1, 8.1.1, 9.0 Resolution|--- |WORKSFORME --- Comment #3 from kargl at gcc dot gnu.org --- Resolving as WORKSFORME. Thanks for the bug report. I do encourage you to upgrade to a newer version of gfortran if you can. >From gcc-bugs-return-606640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 19:39:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22374 invoked by alias); 6 Jun 2018 19:39:09 -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 22284 invoked by uid 48); 6 Jun 2018 19:39:05 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85577] list-initialization chooses initializer-list constructor Date: Wed, 06 Jun 2018 19:39: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org 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: cc 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: 2018-06/txt/msg00435.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Can the testcase be turned into a runtime test? I couldn't figure it out (how to construct A). >From gcc-bugs-return-606641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 19:51:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69032 invoked by alias); 6 Jun 2018 19:51:09 -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 68847 invoked by uid 55); 6 Jun 2018 19:51:04 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap Date: Wed, 06 Jun 2018 19:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: blocker X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00436.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057 --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #6 from Martin Liška --- > Sorry for the breakage, patch candidate sent here: > https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00285.html Now successfully bootstrapped without regressions on i386-pc-solaris2.11 and sparc-sun-solaris2.11. Rainer >From gcc-bugs-return-606642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 19:56:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79137 invoked by alias); 6 Jun 2018 19:56:17 -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 78969 invoked by uid 48); 6 Jun 2018 19:56:12 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82930] [C++17] ICE: in is_normal_capture_proxy, at cp/lambda.c:288 with structured binding in a lambda function with auto typed arguments Date: Wed, 06 Jun 2018 19:56: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 cc resolution 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: 2018-06/txt/msg00437.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82930 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed in r257761. >From gcc-bugs-return-606643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 20:04:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98011 invoked by alias); 6 Jun 2018 20:04:01 -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 97864 invoked by uid 48); 6 Jun 2018 20:03:56 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83996] [6/7 Regression] ICE with zero-sized array Date: Wed, 06 Jun 2018 20:04: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00438.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83996 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed. >From gcc-bugs-return-606644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 20:42:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47129 invoked by alias); 6 Jun 2018 20:42: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 46951 invoked by uid 48); 6 Jun 2018 20:42:45 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86063] [6/7/8/9 Regression] g++ ICE at tree check: expected tree_list, have expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391 Date: Wed, 06 Jun 2018 20:42: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: 7.3.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: 2018-06/txt/msg00439.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86063 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org >From gcc-bugs-return-606645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 20:43:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48438 invoked by alias); 6 Jun 2018 20:43:03 -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 48225 invoked by uid 48); 6 Jun 2018 20:42:58 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85958] Make const qualifier error clear Date: Wed, 06 Jun 2018 20:43: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: 8.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 2018-06/txt/msg00440.txt.bz2 Content-length: 2116 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 --- Comment #10 from Jonny Grant --- (In reply to Jonathan Wakely from comment #7) > (In reply to Jonny Grant from comment #5) > > I personally feel "bind" is not a word any programming course teaches, we > > say "passing parameters" or "passing arguments". > > You pass arguments, which initialize parameters. Initialization of > references is called binding. Our C++ lectures always said "pass by reference". A quick search online seems to say similar. Although I appreciate compiler developers will always use more formally accurate terms. https://stackoverflow.com/questions/373419/whats-the-difference-between-passing-by-reference-vs-passing-by-value > > > > In addition, I feel we don't think we really need the word "reference" > > If the parameter type wasn't a reference there would be no problem. Omitting > the reason it fails seems unhelpful. My reasoning for not listing the word "reference" is that "int&" includes the symbol & which means reference. But a little duplication is ok.. only one word. > > Therefore, I suggest the following: > > > > $ g++ -o main main.cpp -Wall -Werror -Wconversion > > main.cpp: In function ‘int main()’: > > main.cpp:11:25: error: cannot pass ‘const int’ to non-const ‘int&’ > > No this is nonsense. You are not passing something to a reference, you are > passing it to the function. The object cannot be bound to the reference > because of the cv-qualifiers. Ok, point taken you are right. So this I suggest: main.cpp:11:25: error: cannot pass ‘const int’ by non-const ‘int&’ Or with the "reference" word: main.cpp:11:25: error: cannot pass ‘const int’ by non-const ‘int&’ reference. Although i do like W E Brown suggestion, I took out the "type": "can't initialize parameter reference 'int&' with argument 'const int'" > I'm keen to make the language clearer, but not by making it simply wrong > about what's happening! great! :) >From gcc-bugs-return-606646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 20:52:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87106 invoked by alias); 6 Jun 2018 20:52:29 -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 86957 invoked by uid 48); 6 Jun 2018 20:52:23 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85577] list-initialization chooses initializer-list constructor Date: Wed, 06 Jun 2018 20:52: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org 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: 2018-06/txt/msg00441.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577 --- Comment #3 from Jonathan Wakely --- To construct an A you'd need to add: A() = default; But this might actually be INVALID, due to Core DR 2137. I'll look into it tomorrow. >From gcc-bugs-return-606647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 21:11:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26720 invoked by alias); 6 Jun 2018 21:11:52 -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 26479 invoked by uid 55); 6 Jun 2018 21:11:48 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85657] Make __ibm128 a separate type, even if long double uses the IBM double-double format Date: Wed, 06 Jun 2018 21:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner 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: 2018-06/txt/msg00442.txt.bz2 Content-length: 1872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85657 --- Comment #4 from Michael Meissner --- Author: meissner Date: Wed Jun 6 21:11:15 2018 New Revision: 261246 URL: https://gcc.gnu.org/viewcvs?rev=261246&root=gcc&view=rev Log: [gcc] 2018-06-06 Michael Meissner * config/rs6000/rs6000.c (rs6000_passes_ieee128): New boolean to track if we pass or return IEEE 128-bit floating point. (ieee128_mangling_gcc_8_1): New boolean to say whether to generate C++ mangling that is compatible with GCC 8.1. (TARGET_ASM_GLOBALIZE_DECL_NAME): Override target hook. (init_cumulative_args): Note if we pass or return IEEE 128-bit floating point types. (rs6000_function_arg_advance_1): Likewise. (rs6000_mangle_type): Optionally generate mangled names that match what GCC 8.1 generated for IEEE 128-bit floating point types. (rs6000_globalize_decl_name): If we have an external function that passes or returns IEEE 128-bit types, generate a weak reference from the mangled name used in GCC 8.1 to the current mangled name. [gcc] 2018-06-05 Michael Meissner * config/rs6000/rs6000.c (rs6000_init_builtins): Make __ibm128 use the long double type if long double is IBM extended double. Make __float128 use the long double type if long double is IEEE 128-bit. [gcc/testsuite] 2018-06-05 Michael Meissner PR target/85657 * g++.dg/pr85657.C: Only test whether __ibm128 and long double can be used in templates. Don't check for them in overloaded functions. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/pr85657.C >From gcc-bugs-return-606648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 21:31:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85412 invoked by alias); 6 Jun 2018 21:31:01 -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 85211 invoked by uid 48); 6 Jun 2018 21:30:55 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate Date: Wed, 06 Jun 2018 21:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: 2018-06/txt/msg00443.txt.bz2 Content-length: 1100 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #4 from Thomas Koenig --- This looks good: --- frontend-passes.c (Revision 261245) +++ frontend-passes.c (Arbeitskopie) @@ -57,6 +57,8 @@ static bool has_dimen_vector_ref (gfc_expr *); static int matmul_temp_args (gfc_code **, int *,void *data); static int index_interchange (gfc_code **, int*, void *); +static bool is_fe_temp (gfc_expr *e); + #ifdef CHECKING_P static void check_locus (gfc_namespace *); #endif @@ -254,6 +256,9 @@ realloc_string_callback (gfc_code **c, int *walk_s || !expr1->ts.deferred) return 0; + if (is_fe_temp (expr1)) + return 0; + expr2 = gfc_discard_nops (co->expr2); if (expr2->expr_type == EXPR_VARIABLE) >From gcc-bugs-return-606649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 21:42:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104551 invoked by alias); 6 Jun 2018 21:42: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 104402 invoked by uid 55); 6 Jun 2018 21:42:01 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate Date: Wed, 06 Jun 2018 21:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-06/txt/msg00444.txt.bz2 Content-length: 805 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Wed Jun 6 21:41:29 2018 New Revision: 261248 URL: https://gcc.gnu.org/viewcvs?rev=261248&root=gcc&view=rev Log: 2018-06-06 Thomas Koenig PR fortran/85641 * frontend-passes.c (is_fe_temp): Add prototype. (realloc_string_callback): Early return for frontend-generated temporary. 2018-06-06 Thomas Koenig PR fortran/85641 * gfortran.dg/realloc_on_assign_30.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_30.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 22:54:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25943 invoked by alias); 6 Jun 2018 22:54:53 -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 25760 invoked by uid 55); 6 Jun 2018 22:54:49 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85657] Make __ibm128 a separate type, even if long double uses the IBM double-double format Date: Wed, 06 Jun 2018 22:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner 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: 2018-06/txt/msg00445.txt.bz2 Content-length: 1642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85657 --- Comment #5 from Michael Meissner --- Author: meissner Date: Wed Jun 6 22:54:17 2018 New Revision: 261253 URL: https://gcc.gnu.org/viewcvs?rev=261253&root=gcc&view=rev Log: [gcc] 2018-06-06 Michael Meissner PR target/85657 * config/rs6000/rs6000-builtin.def (BU_IBM128_2): New helper macro for __ibm128 built-in functions. (PACK_IF): Add __ibm128 pack/unpack functions. (UNPACK_IF): Likewise. * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Do not enable long double built-in functions if long double is IEEE 128-bit floating point. (rs6000_invalid_builtin): Update long double built-in function error message. (rs6000_expand_builtin): For PACK_IF and UNPACK_IF built-in functions, adjust the built-in function to use the long double built-in function if __ibm128 and long double are the same type. * doc/extend.texi (PowerPC builtins): Update documention for __builtin_{,un}pack_longdouble. Add documentation for __builtin_{,un}pack_ibm128. [gcc/testsuite] 2018-06-06 Michael Meissner PR target/85657 * gcc.target/powerpc/pr85657-4.c: New tests. * gcc.target/powerpc/pr85657-5.c: Likewise. * gcc.target/powerpc/pr85657-6.c: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000-builtin.def trunk/gcc/config/rs6000/rs6000.c trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 00:01:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27399 invoked by alias); 7 Jun 2018 00:01:17 -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 23066 invoked by uid 48); 7 Jun 2018 00:01:06 -0000 From: "zhonghao at pku dot org.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86074] New: gcc fails to compile a code sample Date: Thu, 07 Jun 2018 00:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhonghao at pku dot org.cn 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 attachments.created Message-ID: 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: 2018-06/txt/msg00446.txt.bz2 Content-length: 819 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86074 Bug ID: 86074 Summary: gcc fails to compile a code sample Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhonghao at pku dot org.cn Target Milestone: --- Created attachment 44242 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44242&action=edit memory leak The code sample comes from https://bugs.llvm.org/show_bug.cgi?id=20335 The latest llvm can compile the attached code sample, but gcc produces many errors. BTW, the llvm bug report says that the attached code triggers memory leak. Please check whether it also triggers memory leak on GCC. >From gcc-bugs-return-606652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 00:06:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76420 invoked by alias); 7 Jun 2018 00:06:32 -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 70489 invoked by uid 48); 7 Jun 2018 00:06:26 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86075] New: dead store elimination defeats strlen optimization after memset zero followed by strcpy Date: Thu, 07 Jun 2018 00:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00447.txt.bz2 Content-length: 2396 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86075 Bug ID: 86075 Summary: dead store elimination defeats strlen optimization after memset zero followed by strcpy Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC emits optimally efficient code for the first of the two equivalent functions below but generates very inefficient code for the latter. First, it zeroes out the entire array even though only a small part of it is used. Worse, (and ironically) because it eliminates the store to a[3] as dead early on (in fre1) and before the strlen pass runs, the strlen optimization isn't performed, and so the entire dead body of the function isn't eliminated. Since unnecessarily zeroing-out storage just before storing strings in it is common practice, detecting and handling it could lead to significant improvements. The solution for the missing strlen optimization in this case could be as simple as enhancing the strlen pass to track not just string lengths but also sizes of zeroed-out blocks of storage used for strings. $ cat c.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout c.c void f (void) { char a[4096]; __builtin_memcpy (a, "123", 3); a[3] = 0; if (__builtin_strlen (a) != 3) // folded __builtin_abort (); } void g (void) { char a[4096] = ""; // all bytes zeroed out __builtin_memcpy (a, "123", 3); a[3] = 0; // eliminated if (__builtin_strlen (a) != 3) // not folded __builtin_abort (); } ;; Function f (f, funcdef_no=0, decl_uid=1956, cgraph_uid=0, symbol_order=0) f () { [local count: 1073741825]: return; } ;; Function g (g, funcdef_no=1, decl_uid=1960, cgraph_uid=1, symbol_order=1) g () { char a[4096]; long unsigned int _1; [local count: 1073741825]: a = ""; __builtin_memcpy (&a, "123", 3); _1 = __builtin_strlen (&a); if (_1 != 3) goto ; [0.00%] else goto ; [99.96%] [count: 0]: __builtin_abort (); [local count: 1073312327]: a ={v} {CLOBBER}; return; } >From gcc-bugs-return-606653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 01:10:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44669 invoked by alias); 7 Jun 2018 01:10:19 -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 44546 invoked by uid 48); 7 Jun 2018 01:10:14 -0000 From: "paul.hua.gm at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86067] [MIPS] ICE: scal-to-vec1.c:86:1: error: unrecognizable insn with -march=loongson3a Date: Thu, 07 Jun 2018 01:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.hua.gm at gmail dot com X-Bugzilla-Status: WAITING 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: 2018-06/txt/msg00448.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86067 --- Comment #2 from Paul Hua --- (In reply to Richard Biener from comment #1) > Which GCC version did you use? the trunk version (r261200) It's also ICEed on gcc-7 and gcc-8. >From gcc-bugs-return-606654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 01:26:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7957 invoked by alias); 7 Jun 2018 01:26:20 -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 7811 invoked by uid 48); 7 Jun 2018 01:26:15 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/86070] [7 regression] gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077 Date: Thu, 07 Jun 2018 01:26: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: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed 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: 2018-06/txt/msg00449.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86070 Jerry DeLisle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-06-07 Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jerry DeLisle --- Mine, not sure why that patch would break it. I had to manually apply to 7 branch so maybe I flubbed it. >From gcc-bugs-return-606656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 02:19:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95321 invoked by alias); 7 Jun 2018 02:19:42 -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 93672 invoked by uid 48); 7 Jun 2018 02:19:37 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86076] [9 Regression] ICE: verify_gimple failed (error: location references block not in block tree) Date: Thu, 07 Jun 2018 02:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 2018-06/txt/msg00451.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86076 --- Comment #1 from Arseny Solokha --- int __attribute__ ((noinline)) lv (int tm) { (void) tm; return 0; } void o7 (int uu) { while (uu < 1) while (uu != 0) { short int ca; ca = lv (0); (void) ca; ++uu; } lv (lv (0)); } >From gcc-bugs-return-606655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 02:19:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86562 invoked by alias); 7 Jun 2018 02:19:02 -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 85326 invoked by uid 48); 7 Jun 2018 02:18:57 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86076] New: [9 Regression] ICE: verify_gimple failed (error: location references block not in block tree) Date: Thu, 07 Jun 2018 02:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-06/txt/msg00450.txt.bz2 Content-length: 1587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86076 Bug ID: 86076 Summary: [9 Regression] ICE: verify_gimple failed (error: location references block not in block tree) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-9.0.0-alpha20180603 snapshot (r261132) ICEs when compiling the following snippet w/ -O2 (-O3, -Ofast) -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1: % gcc-9.0.0-alpha20180603 -O2 -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1 -c gjp2o2cc.c gjp2o2cc.c: In function 'o7': gjp2o2cc.c:10:1: error: location references block not in block tree o7 (int uu) ^~ lv.constprop _2 = lv.constprop (); during GIMPLE pass: ompexpssa gjp2o2cc.c:10:1: internal compiler error: verify_gimple failed 0xce3469 verify_gimple_in_cfg(function*, bool) /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tree-cfg.c:5401 0xbbebaf execute_function_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/passes.c:1994 0xbbfafe execute_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/passes.c:2048 >From gcc-bugs-return-606657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 04:22:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28425 invoked by alias); 7 Jun 2018 04:22:13 -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 28267 invoked by uid 55); 7 Jun 2018 04:22:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap Date: Thu, 07 Jun 2018 04:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: blocker X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00452.txt.bz2 Content-length: 1251 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057 --- Comment #9 from Martin Liška --- Author: marxin Date: Thu Jun 7 04:21:35 2018 New Revision: 261260 URL: https://gcc.gnu.org/viewcvs?rev=261260&root=gcc&view=rev Log: Fix libgcov-driver-system bootstrap failure (PR bootstrap/86057). 2018-06-07 Martin Liska PR bootstrap/86057 * libgcov-driver-system.c (replace_filename_variables): Use memcpy instead of mempcpy. (allocate_filename_struct): Do not allocate filename, allocate prefix and set it. (gcov_exit_open_gcda_file): Allocate memory for gf->filename here and properly copy content into it. * libgcov-driver.c (struct gcov_filename): Remove max_length field, change prefix from size_t into char *. (compute_summary): Do not calculate longest filename. (gcov_do_dump): Release memory of gf.filename after each file. * libgcov-util.c (compute_summary): Use new signature of compute_summary. (calculate_overlap): Likewise. Modified: trunk/libgcc/ChangeLog trunk/libgcc/libgcov-driver-system.c trunk/libgcc/libgcov-driver.c trunk/libgcc/libgcov-util.c >From gcc-bugs-return-606658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 04:23:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73144 invoked by alias); 7 Jun 2018 04:23:50 -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 55155 invoked by uid 48); 7 Jun 2018 04:23:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap Date: Thu, 07 Jun 2018 04:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: blocker X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00453.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Martin Liška --- Fixed. >From gcc-bugs-return-606659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 05:06:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93528 invoked by alias); 7 Jun 2018 05:06:42 -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 93444 invoked by uid 48); 7 Jun 2018 05:06:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86076] [7/8/9 Regression] ICE: verify_gimple failed (error: location references block not in block tree) Date: Thu, 07 Jun 2018 05:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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: bug_status cf_reconfirmed_on cc short_desc everconfirmed cf_known_to_fail 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: 2018-06/txt/msg00454.txt.bz2 Content-length: 1101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86076 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 CC| |marxin at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Summary|[9 Regression] ICE: |[7/8/9 Regression] ICE: |verify_gimple failed |verify_gimple failed |(error: location references |(error: location references |block not in block tree) |block not in block tree) Ever confirmed|0 |1 Known to fail| |7.1.0, 8.1.0, 9.0 --- Comment #2 from Martin Liška --- Confirmed, note that I see it also on GCC 7 and 8 branches. Started with an unrelated commit I guess: r241329. >From gcc-bugs-return-606660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 05:10:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99473 invoked by alias); 7 Jun 2018 05:10:15 -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 99300 invoked by uid 48); 7 Jun 2018 05:10:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86074] gcc fails to compile a code sample Date: Thu, 07 Jun 2018 05:10: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_status cf_reconfirmed_on cc everconfirmed 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: 2018-06/txt/msg00455.txt.bz2 Content-length: 2842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86074 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-06-07 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org, | |nathan at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Note that ICC 18 also rejects with: (33): error: function template "operator==" has already been defined friend bool operator==(SimpleAllocator const & lhs, SimpleAllocator const & rhs) ^ detected during: instantiation of class "SimpleAllocator [with T=char]" at line 88 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/bits/alloc_traits.h" instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=SimpleAllocator]" at line 52 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/ext/alloc_traits.h" instantiation of class "__gnu_cxx::__alloc_traits<_Alloc> [with _Alloc=SimpleAllocator]" at line 75 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/bits/basic_string.h" instantiation of class "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> [with _CharT=char, _Traits=std::char_traits, _Alloc=SimpleAllocator]" at line 56 (39): error: function template "operator!=" has already been defined friend bool operator!=(SimpleAllocator const & lhs, SimpleAllocator const & rhs) ^ detected during: instantiation of class "SimpleAllocator [with T=char]" at line 88 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/bits/alloc_traits.h" instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=SimpleAllocator]" at line 52 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/ext/alloc_traits.h" instantiation of class "__gnu_cxx::__alloc_traits<_Alloc> [with _Alloc=SimpleAllocator]" at line 75 of "/opt/compiler-explorer/gcc-6.3.0/bin/../include/c++/6.3.0/bits/basic_string.h" instantiation of class "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> [with _CharT=char, _Traits=std::char_traits, _Alloc=SimpleAllocator]" at line 56 compilation aborted for (code 2) Compiler returned: 2 Is it really a valid code snippet? >From gcc-bugs-return-606661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 05:16:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109086 invoked by alias); 7 Jun 2018 05:16:37 -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 108861 invoked by uid 48); 7 Jun 2018 05:16:33 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86074] gcc fails to compile a code sample Date: Thu, 07 Jun 2018 05:16: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 2018-06/txt/msg00456.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86074 --- Comment #2 from Andrew Pinski --- Moving the definition of the operator== and operator!= out from the template class, then the code works. >From gcc-bugs-return-606663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 05:58:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90615 invoked by alias); 7 Jun 2018 05:58:55 -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 90517 invoked by uid 48); 7 Jun 2018 05:58:51 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86074] gcc fails to compile a code sample Date: Thu, 07 Jun 2018 05: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00458.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86074 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Nathan Sidwell --- Yeah, it's invalid. The template friend operator== function's signature does not depend on the enclosing template at all. so, when instantiated in say simpleAllocator and simpleAllocator, will collide. >From gcc-bugs-return-606662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 05:58:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89410 invoked by alias); 7 Jun 2018 05:58:35 -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 89314 invoked by uid 48); 7 Jun 2018 05:58:31 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pending/86077] New: gcc does not recognize --param key=value when surrounded by single quotes Date: Thu, 07 Jun 2018 05:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pending X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00457.txt.bz2 Content-length: 957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86077 Bug ID: 86077 Summary: gcc does not recognize --param key=value when surrounded by single quotes Product: gcc Version: 5.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pending Assignee: unassigned at gcc dot gnu.org Reporter: ptdrnvqd at 10mail dot org Target Milestone: --- gcc 5.5.0 when trying to build tensorflow using bazel if i specify flags, it for some of the commands automatically wraps them in single quotes, thus errors like gcc: error: unrecognized command line option '--param max-inline-insns-single=500' copy-find-replace-pasting the command to remove the single-quotes removes the error but there are so many files!, rather unfeasible to do this manually i don't if this is bazel's fault more or gcc, could it be fixed here? >From gcc-bugs-return-606664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 06:21:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76719 invoked by alias); 7 Jun 2018 06:21:09 -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 76611 invoked by uid 48); 7 Jun 2018 06:21:05 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pending/86077] gcc does not recognize --param key=value when surrounded by single quotes Date: Thu, 07 Jun 2018 06:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pending X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00459.txt.bz2 Content-length: 661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86077 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- this is standard unix option processing. That is --param and key=value are two different arguments. This should be fixed in bazel really. There are other arguments like --param really. -Xlinker, -Xassembler, and -Xpreprocessor . >From gcc-bugs-return-606665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 06:26:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91671 invoked by alias); 7 Jun 2018 06:26:19 -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 91556 invoked by uid 48); 7 Jun 2018 06:26:15 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/86078] New: Documentation: missing param default values Date: Thu, 07 Jun 2018 06:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00460.txt.bz2 Content-length: 2499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86078 Bug ID: 86078 Summary: Documentation: missing param default values Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: ptdrnvqd at 10mail dot org Target Milestone: --- in https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html or https://gcc.gnu.org/onlinedocs/gcc-5.5.0/gcc/Optimize-Options.html or whatever number, the params section at the bottom does not link/reference source-code e.g. https://github.com/gcc-mirror/gcc/blob/master/gcc/params.def it contains max,min and default values, along with description, includes default values not mentioned in documentation, along with disagreements e.g. sched-state-edge-prob-cutoff&selsched-insns-to-rename in docs(gcc6+) changes name, err correction, but not reflected|updated in older doc versions could this be automated/scripted (link to source-code) to reduce human errors? missing default doc max-crossjump-edges=100 max-delay-slot-insn-search=100 max-delay-slot-live-search=333 max-gcse-memory=50*1024*1024 (2015) max-gcse-memory=128*1024*1024 (2018) max-modulo-backtrack-attempts=40 iv-consider-all-candidates-bound=30(2015) iv-consider-all-candidates-bound=40(2018) iv-max-considered-uses=250 scev-max-expr-size=100 scev-max-expr-complexity=10 max-partial-antic-length=100 devirt-type-list-size(4.6),ipa-cp-value-list-size(4.7+)=8 max-slsr-cand-scan=50(4.8+) ipa-max-agg-items=16(4.9+) ipa-max-aa-steps=25000(5+) max-ssa-name-query-depth=3(6+) max-speculative-devirt-maydefs=50(6+) max-stores-to-merge=64(7+) dse-max-object-size=256(7+) Not mentioned @docs except SourceCode max-tracked-strlens=10000 what impact do they have, anyway to emit debug info to show whether compilation hit limits? to generalize, for benchmarks should an average of params be used? should gcc params better reflect the host-compile-machine instead of a one-size-fits all (compiling on mobile|desktop|workstation|server, new|old) another question: when compiling using link-time-optimization-LTO, since it's bunched into a single unit would it hit the limits sooner and should it be compensated for against any mechanism for compile more/less aggressively based on usage patters, how much (CPU-time|usage/day) a program uses (relevance) >From gcc-bugs-return-606666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 06:36:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36735 invoked by alias); 7 Jun 2018 06:36: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36633 invoked by uid 48); 7 Jun 2018 06:36:14 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86078] Documentation: missing param default values Date: Thu, 07 Jun 2018 06:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: keywords component 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: 2018-06/txt/msg00461.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86078 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation Component|web |middle-end --- Comment #1 from Andrew Pinski --- params are not designed for every day user of GCC. They are designed to make it is easier to debug GCC heuristics and tune them easier. >From gcc-bugs-return-606667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:02:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38186 invoked by alias); 7 Jun 2018 07:02:39 -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 37971 invoked by uid 55); 7 Jun 2018 07:02:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85935] [8/9 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287 Date: Thu, 07 Jun 2018 07:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00462.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 --- Comment #2 from Richard Biener --- Author: rguenth Date: Thu Jun 7 07:01:56 2018 New Revision: 261263 URL: https://gcc.gnu.org/viewcvs?rev=261263&root=gcc&view=rev Log: 2018-06-07 Richard Biener PR tree-optimization/85935 * graphite-scop-detection.c (find_params_in_bb): Analyze condition operands with respect to the correct loop. Assert the analysis doesn't fail. * gcc.dg/graphite/pr85935.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr85935.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-scop-detection.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:04:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41918 invoked by alias); 7 Jun 2018 07:04:38 -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 41737 invoked by uid 55); 7 Jun 2018 07:04:33 -0000 From: "hqzhou at nju dot edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85885] internal compiler error, gimplify.c related Date: Thu, 07 Jun 2018 07:04: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: 7.2.1 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: hqzhou at nju dot edu.cn X-Bugzilla-Status: WAITING 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: 2018-06/txt/msg00463.txt.bz2 Content-length: 1445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85885 --- Comment #2 from Huiqun Zhou --- Hi, I've tried several version of gcc, here is a brief report: My OS: CentOS 7 update 5 Target code: lammps 16Mar2018 gcc version result 4.8.5 fail 6.3.1 success 7.2.1 fail 7.3.1 fail 8.1.0 uncertain With gcc 8.1.0, I got a lot of other errors, and failed to make certain whether the compilation passed the reported error. Thanks! Huiqun Zhou @Earth Sciences, Nanjing University ------------------ Original ------------------ From: "rguenth at gcc dot gnu.org"; Date: Wed, May 23, 2018 07:23 PM To: "hqzhou"; Subject: [Bug c++/85885] internal compiler error, gimplify.c related https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85885 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-05-23 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Please try newer GCC and please attach preprocessed source as indicated by https://gcc.gnu.org/bugs.html >From gcc-bugs-return-606669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:12:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16798 invoked by alias); 7 Jun 2018 07:12: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16656 invoked by uid 48); 7 Jun 2018 07:12:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85935] [8 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287 Date: Thu, 07 Jun 2018 07:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail 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: 2018-06/txt/msg00464.txt.bz2 Content-length: 666 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |9.0 Summary|[8/9 Regression] [graphite] |[8 Regression] [graphite] |ICE in extract_affine, at |ICE in extract_affine, at |graphite-sese-to-poly.c:287 |graphite-sese-to-poly.c:287 Known to fail| |8.1.0 --- Comment #3 from Richard Biener --- Fixed on trunk sofar. >From gcc-bugs-return-606670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:28:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45464 invoked by alias); 7 Jun 2018 07:28:49 -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 41367 invoked by uid 48); 7 Jun 2018 07:28:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability Date: Thu, 07 Jun 2018 07:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00465.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964 --- Comment #15 from Richard Biener --- On both trunk and branch the tracer induced issue is fixed and the backwards threading compile-time-hog remains (which may very well be a dup of PR69580). >From gcc-bugs-return-606671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:41:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3791 invoked by alias); 7 Jun 2018 07:41: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 3704 invoked by uid 55); 7 Jun 2018 07:41:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69615] 0 to limit signed range checks don't always use unsigned compare Date: Thu, 07 Jun 2018 07:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: 2018-06/txt/msg00466.txt.bz2 Content-length: 798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69615 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Jun 7 07:41:18 2018 New Revision: 261264 URL: https://gcc.gnu.org/viewcvs?rev=261264&root=gcc&view=rev Log: PR tree-optimization/69615 * tree-ssa-reassoc.c (optimize_range_tests_var_bound): If rhs2 is lhs of a cast from a same precision integral SSA_NAME in a bb dominated by first_bb, retry with rhs2 set to the rhs1 of the cast. Don't emit cast to utype if rhs2 has already a compatible type. * gcc.dg/tree-ssa/pr69615.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr69615.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-reassoc.c >From gcc-bugs-return-606672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 07:46:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38156 invoked by alias); 7 Jun 2018 07:46:50 -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 34660 invoked by uid 48); 7 Jun 2018 07:45:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84353] [8/9 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206 Date: Thu, 07 Jun 2018 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00467.txt.bz2 Content-length: 1262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84353 --- Comment #5 from Richard Biener --- I'm testing a cleanup/fix in this area but ultimatively we have no way of code-generating this 1:1 so unless we invent more magic pattern-matching a code-generating failure and thus late abort is the correct thing to do. We might want to revisit the fact that we punt on this by ICEing with -fchecking... Getting more testcase for this is nice though. Getting some brains inventing patterns we could detect to code-generate expressions like if (((-P_9 + 18446744073709551615) % 18446744073709551616) + P_1 <= 18446744073709551614 || ((-P_9 + 18446744073709551615) % 18446744073709551616) + P_1 >= 18446744073709551616) with a data type that cannot represent the above would be nice as well. Note that even a simple P_9 + P_9 might not be representable but wrap/overflow in the type we code-generate in (which is fixed! to be the "largest" integer type the target supports). So in reality some range information is needed which we _may_ be able to recover. Still there will be obviously corner-cases where we have to give up unless ISL can make guarantees on the value-space of IVs and parameter expressions it generates. >From gcc-bugs-return-606673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:04:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108832 invoked by alias); 7 Jun 2018 08:04:49 -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 108691 invoked by uid 48); 7 Jun 2018 08:04:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86078] Documentation: missing param default values Date: Thu, 07 Jun 2018 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: bug_status cf_reconfirmed_on everconfirmed 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: 2018-06/txt/msg00468.txt.bz2 Content-length: 902 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86078 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- There is -Wdisabled-optimization, unfortunately it is used in only 3 places where we give up due to some limits. Note not in all cases such warnings are warranted - it's often a concious decision to limit algorithms to linear growth and warning when you hit limits to enforce that would lead to the false impression that if you lift the limit you will get more optimization. I'm thinking of the alias stmt walkers for example. >From gcc-bugs-return-606674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:05:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110536 invoked by alias); 7 Jun 2018 08:05:25 -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 110438 invoked by uid 48); 7 Jun 2018 08:05:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/86077] gcc does not recognize --param key=value when surrounded by single quotes Date: Thu, 07 Jun 2018 08:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 2018-06/txt/msg00469.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86077 --- Comment #2 from Richard Biener --- You can use alternative syntax --param=max-inline-insns-sinle=500 (note the space being replaced with a =). >From gcc-bugs-return-606675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:07:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114857 invoked by alias); 7 Jun 2018 08:07:50 -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 114715 invoked by uid 48); 7 Jun 2018 08:07:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86076] [7/8/9 Regression] ICE: verify_gimple failed (error: location references block not in block tree) Date: Thu, 07 Jun 2018 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority target_milestone 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: 2018-06/txt/msg00470.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86076 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openmp Priority|P3 |P2 Target Milestone|--- |7.4 --- Comment #3 from Richard Biener --- Looks like some issue with autopar outlining. Note such cases are a recipie for GC issues since the referenced BLOCK isn't kept live by references from locations. The BLOCK in the other function can get removed/GCed. Those issues are hard to track down which is why we have this verifier... >From gcc-bugs-return-606676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:09:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2516 invoked by alias); 7 Jun 2018 08:09:55 -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 2397 invoked by uid 48); 7 Jun 2018 08:09:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86075] dead store elimination defeats strlen optimization after memset zero followed by strcpy Date: Thu, 07 Jun 2018 08:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: bug_status cf_reconfirmed_on everconfirmed 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: 2018-06/txt/msg00471.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86075 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- But then the strlen pass should see the zeroing and then notice the memcpy will produce a 0-terminated string. The user might have written this w/o the a[3] = 0 in place after all. So IMHO not a DSE fault but possibly a dup of another strlen missed optimization. >From gcc-bugs-return-606677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:20:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31911 invoked by alias); 7 Jun 2018 08:20:54 -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 31790 invoked by uid 48); 7 Jun 2018 08:20:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86073] -O3 arm generates calls to memset even for known at the compile time very small sizes (<=3) Date: Thu, 07 Jun 2018 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: bug_status cf_reconfirmed_on everconfirmed 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: 2018-06/txt/msg00472.txt.bz2 Content-length: 917 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86073 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Probably arm misses the setup to handle this via can_store_by_pieces or set_storage_via_setmem. What arm subarchitecture are you creating code for? On x86 with -m32 the 'size' loop isn't recognized as memset at the GIMPLE level (it isn't a memset after all) and we expand the 'pro' loop as memset call but not the 'rem' loop. Note that pro seems to be MAX(size, & 3) so it isn't really <= 3. Thus, x86 is working fine but arm isn't. >From gcc-bugs-return-606678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:27:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43927 invoked by alias); 7 Jun 2018 08:27:10 -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 43820 invoked by uid 48); 7 Jun 2018 08:27:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86072] Poor codegen with atomics Date: Thu, 07 Jun 2018 08:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: bug_status cf_reconfirmed_on everconfirmed 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: 2018-06/txt/msg00473.txt.bz2 Content-length: 1233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86072 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Andrew is right. Still confirmed. Somebody has to decide if it's worth optimizing them and has to sit down and exactly specify what kind of optimizations are valid. I guess it's worth optimizing them if these cases appear in real-world code (and then we'd like to see examples). As for validity not optimizing them leads to (wanted/required) side-effects like being a barrier for a lot of compiler optimizations. Which may mor may not be designed that way. I'm sitting on patches teaching points-to about atomics, specifically making them not escape points or uses/clobbers for all memory. Esp. the latter I'm not sure is a good idea to improve, because there's nothing in the compiler making atomics "special", they are just modeled as function calls. >From gcc-bugs-return-606679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:28:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46198 invoked by alias); 7 Jun 2018 08:28:16 -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 46055 invoked by uid 48); 7 Jun 2018 08:28:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/86070] [7 regression] gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077 Date: Thu, 07 Jun 2018 08:28: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: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work target_milestone 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: 2018-06/txt/msg00474.txt.bz2 Content-length: 400 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86070 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Known to work| |7.3.0 Target Milestone|--- |7.4 >From gcc-bugs-return-606680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:31:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55869 invoked by alias); 7 Jun 2018 08:31:49 -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 54462 invoked by uid 48); 7 Jun 2018 08:31:43 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459 Date: Thu, 07 Jun 2018 08:31: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-06/txt/msg00475.txt.bz2 Content-length: 958 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #5 from Christophe Lyon --- Hi, With the patch, I can see that FAIL: g++.dg/cpp0x/range-for9.C -std=c++98 The log contains: /gcc/testsuite/g++.dg/cpp0x/range-for9.C: In function 'void test()': /gcc/testsuite/g++.dg/cpp0x/range-for9.C:8:18: error: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 /gcc/testsuite/g++.dg/cpp0x/range-for9.C:8:18: error: forming reference to reference type 'int (&)[3]' compiler exited with status 1 PASS: g++.dg/cpp0x/range-for9.C -std=c++98 (test for errors, line 8) FAIL: g++.dg/cpp0x/range-for9.C -std=c++98 (test for excess errors) >From gcc-bugs-return-606681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:50:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86162 invoked by alias); 7 Jun 2018 08:50:52 -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 86009 invoked by uid 48); 7 Jun 2018 08:50:43 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] New: preprocessor fails to splice lines Date: Thu, 07 Jun 2018 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at novell 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: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00476.txt.bz2 Content-length: 1181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 Bug ID: 86079 Summary: preprocessor fails to splice lines Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: jbeulich at novell dot com Target Milestone: --- While gcc 4.3 looks to still handle this correctly, at least all versions from 4.7 onwards (I don't have the intermediate versions readily available to check) fail to splice lines where the first one ends in an escaped newline, at least in the common case. Note the inconsistency with unsigned \ int \\ u \\\ ; where the second and third lines are being spliced by "gcc -E", but none of the others. This is a clear violation of the standard's translation phase 2, making it impossible to e.g. preprocess something like https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/asm-x86/alternative-asm.h;h=0b6151634a01e9662ae4100dcaf3c0736885eb87;hb=refs/heads/staging into code usable by the .s files produced by the compiler. >From gcc-bugs-return-606682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 08:56:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104902 invoked by alias); 7 Jun 2018 08:56:47 -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 104609 invoked by uid 48); 7 Jun 2018 08:56:42 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at novell 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: 2018-06/txt/msg00477.txt.bz2 Content-length: 150 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #1 from jbeulich at novell dot com --- Interesting - with -P the problem goes away. >From gcc-bugs-return-606683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:02:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15076 invoked by alias); 7 Jun 2018 09:02:37 -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 14912 invoked by uid 48); 7 Jun 2018 09:02:32 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-06/txt/msg00478.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #2 from Andreas Schwab --- I don't see any difference in the preprocessor out with or without -P apart from the line comments. >From gcc-bugs-return-606684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:05:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26063 invoked by alias); 7 Jun 2018 09:05:34 -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 25965 invoked by uid 48); 7 Jun 2018 09:05:28 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-06/txt/msg00479.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #3 from Andreas Schwab --- Did you use -xassembler-with-cpp? Without that it's INVALID. >From gcc-bugs-return-606685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:34:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13152 invoked by alias); 7 Jun 2018 09:34:58 -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 12716 invoked by uid 48); 7 Jun 2018 09:34:53 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at novell 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: 2018-06/txt/msg00480.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #4 from jbeulich at novell dot com --- (In reply to Andreas Schwab from comment #3) > Did you use -xassembler-with-cpp? Without that it's INVALID. No, I did not, and the example given also is plain C code (minus the too many backslashes, which I've added just for demonstrating the issue - if you reduce them to one per line, I think you'll see the difference). >From gcc-bugs-return-606686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:37:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39163 invoked by alias); 7 Jun 2018 09:37:13 -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 39060 invoked by uid 48); 7 Jun 2018 09:37:07 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49213] [OOP] gfortran rejects structure constructor expression Date: Thu, 07 Jun 2018 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone 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: 2018-06/txt/msg00481.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #28 from janus at gcc dot gnu.org --- I guess I should take another look here. Seems I found some useful patchlets back in the day. Hope they still work ... >From gcc-bugs-return-606687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:38:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41293 invoked by alias); 7 Jun 2018 09:38: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41145 invoked by uid 48); 7 Jun 2018 09:38:18 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-06/txt/msg00482.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #5 from Andreas Schwab --- It's not plain C since the stray backslashes are invalid. >From gcc-bugs-return-606688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:39:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44031 invoked by alias); 7 Jun 2018 09:39:50 -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 43927 invoked by uid 48); 7 Jun 2018 09:39:45 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49213] [OOP] gfortran rejects structure constructor expression Date: Thu, 07 Jun 2018 09:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00483.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 --- Comment #29 from janus at gcc dot gnu.org --- Another very related test case: program p type tContainer class(*), allocatable :: x end type integer, parameter :: i = 0 type(tContainer) :: cont ! compiler error: Can't convert INTEGER(4) to CLASS(*) cont = tContainer(i) ! linker error: undefined reference to `__copy_INTEGER_4_.3804' cont%x = i end >From gcc-bugs-return-606689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:43:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50818 invoked by alias); 7 Jun 2018 09:43:44 -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 50697 invoked by uid 48); 7 Jun 2018 09:43:40 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-06/txt/msg00484.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #6 from Andreas Schwab --- In C mode, with line numbers, the newlines are required to preserve the line number of the tokens. >From gcc-bugs-return-606690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:46:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56883 invoked by alias); 7 Jun 2018 09:46:25 -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 56346 invoked by uid 48); 7 Jun 2018 09:46:20 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at novell 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: 2018-06/txt/msg00485.txt.bz2 Content-length: 394 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #7 from jbeulich at novell dot com --- (In reply to Andreas Schwab from comment #5) > It's not plain C since the stray backslashes are invalid. As said - try with the stray ones removed, i.e. unsigned \ int \ u \ ; This _is_ valid C from all I know, and pre-processes to unsigned int u ; instead of unsigned int u ; >From gcc-bugs-return-606691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:47:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62549 invoked by alias); 7 Jun 2018 09:47:17 -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 61861 invoked by uid 48); 7 Jun 2018 09:47:11 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at novell 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: 2018-06/txt/msg00486.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #8 from jbeulich at novell dot com --- (In reply to Andreas Schwab from comment #6) > In C mode, with line numbers, the newlines are required to preserve the line > number of the tokens. I don't think preserving line numbers is more important than conforming to the standard. >From gcc-bugs-return-606692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:50:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83886 invoked by alias); 7 Jun 2018 09:50:58 -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 82805 invoked by uid 48); 7 Jun 2018 09:50:54 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-06/txt/msg00487.txt.bz2 Content-length: 275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 --- Comment #9 from Andreas Schwab --- There is no conformance bug because the standard does not specify a textual representation of the preprocessor phases. Also, your input is INVALID C anyway. >From gcc-bugs-return-606693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 09:55:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102702 invoked by alias); 7 Jun 2018 09:55:09 -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 102441 invoked by uid 48); 7 Jun 2018 09:55:01 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/86079] preprocessor fails to splice lines Date: Thu, 07 Jun 2018 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00488.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #10 from Andreas Schwab --- Also, please read footnote 6 in 5.1.1.2. There is no requirement that the translation phases correspondent to any part of what the implementation actually does. >From gcc-bugs-return-606694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:10:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101139 invoked by alias); 7 Jun 2018 10:10:37 -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 100768 invoked by uid 55); 7 Jun 2018 10:10:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85588] [6/7 Regression] -fwrapv miscompilation Date: Thu, 07 Jun 2018 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-06/txt/msg00489.txt.bz2 Content-length: 1785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 --- Comment #11 from Richard Biener --- Author: rguenth Date: Thu Jun 7 10:10:00 2018 New Revision: 261269 URL: https://gcc.gnu.org/viewcvs?rev=261269&root=gcc&view=rev Log: 2018-06-07 Richard Biener Backport from mainline 2018-05-04 Richard Biener PR middle-end/85588 * fold-const.c (negate_expr_p): Restrict negation of operand zero of a division to when we know that can happen without overflow. (fold_negate_expr_1): Likewise. * gcc.dg/torture/pr85588.c: New testcase. * gcc.dg/torture/pr57656.c: Use dg-additional-options. 2018-05-02 Richard Biener PR middle-end/85567 * gimplify.c (gimplify_save_expr): When in SSA form allow SAVE_EXPRs to compute to SSA vars. * gcc.dg/torture/pr85567.c: New testcase. 2018-05-02 Richard Biener PR tree-optimization/85597 * tree-vect-stmts.c (vectorizable_operation): For ternary SLP do not use split vect_get_vec_defs call but call vect_get_slp_defs directly. * gcc.dg/vect/pr85597.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85567.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85588.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/vect/pr85597.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/fold-const.c branches/gcc-7-branch/gcc/gimplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr57656.c branches/gcc-7-branch/gcc/tree-vect-stmts.c >From gcc-bugs-return-606696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:10:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101288 invoked by alias); 7 Jun 2018 10:10:37 -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 100781 invoked by uid 55); 7 Jun 2018 10:10:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85597] [6/7 Regression] internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:229 Date: Thu, 07 Jun 2018 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-06/txt/msg00491.txt.bz2 Content-length: 1784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85597 --- Comment #6 from Richard Biener --- Author: rguenth Date: Thu Jun 7 10:10:00 2018 New Revision: 261269 URL: https://gcc.gnu.org/viewcvs?rev=261269&root=gcc&view=rev Log: 2018-06-07 Richard Biener Backport from mainline 2018-05-04 Richard Biener PR middle-end/85588 * fold-const.c (negate_expr_p): Restrict negation of operand zero of a division to when we know that can happen without overflow. (fold_negate_expr_1): Likewise. * gcc.dg/torture/pr85588.c: New testcase. * gcc.dg/torture/pr57656.c: Use dg-additional-options. 2018-05-02 Richard Biener PR middle-end/85567 * gimplify.c (gimplify_save_expr): When in SSA form allow SAVE_EXPRs to compute to SSA vars. * gcc.dg/torture/pr85567.c: New testcase. 2018-05-02 Richard Biener PR tree-optimization/85597 * tree-vect-stmts.c (vectorizable_operation): For ternary SLP do not use split vect_get_vec_defs call but call vect_get_slp_defs directly. * gcc.dg/vect/pr85597.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85567.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85588.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/vect/pr85597.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/fold-const.c branches/gcc-7-branch/gcc/gimplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr57656.c branches/gcc-7-branch/gcc/tree-vect-stmts.c >From gcc-bugs-return-606695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:10:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101231 invoked by alias); 7 Jun 2018 10:10:37 -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 100772 invoked by uid 55); 7 Jun 2018 10:10:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85567] [7 Regression] internal compiler error: in gimplify_modify_expr, at gimplify.c:5797 when using sincos() Date: Thu, 07 Jun 2018 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-06/txt/msg00490.txt.bz2 Content-length: 1784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85567 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Jun 7 10:10:00 2018 New Revision: 261269 URL: https://gcc.gnu.org/viewcvs?rev=261269&root=gcc&view=rev Log: 2018-06-07 Richard Biener Backport from mainline 2018-05-04 Richard Biener PR middle-end/85588 * fold-const.c (negate_expr_p): Restrict negation of operand zero of a division to when we know that can happen without overflow. (fold_negate_expr_1): Likewise. * gcc.dg/torture/pr85588.c: New testcase. * gcc.dg/torture/pr57656.c: Use dg-additional-options. 2018-05-02 Richard Biener PR middle-end/85567 * gimplify.c (gimplify_save_expr): When in SSA form allow SAVE_EXPRs to compute to SSA vars. * gcc.dg/torture/pr85567.c: New testcase. 2018-05-02 Richard Biener PR tree-optimization/85597 * tree-vect-stmts.c (vectorizable_operation): For ternary SLP do not use split vect_get_vec_defs call but call vect_get_slp_defs directly. * gcc.dg/vect/pr85597.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85567.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr85588.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/vect/pr85597.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/fold-const.c branches/gcc-7-branch/gcc/gimplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr57656.c branches/gcc-7-branch/gcc/tree-vect-stmts.c >From gcc-bugs-return-606697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:20:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47719 invoked by alias); 7 Jun 2018 10:20:06 -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 47520 invoked by uid 48); 7 Jun 2018 10:20:01 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] New: Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: 2018-06/txt/msg00492.txt.bz2 Content-length: 1624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 Bug ID: 86080 Summary: Using FLTO ends up in huge package size (jansson zeromq zlib) Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vinibali1 at gmail dot com Target Milestone: --- Created attachment 44243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44243&action=edit jansson.7z Hello there! I used to play with the compiler options of GCC. These days I was recompiling the packages of my machine using the PKGBUILD files provided by the Arch community and I just found a few packages became bigger when using the flto=4 parameter. 0s 0s flto 02 02 flto jansson 142,00 KiB 419,00 KiB 163,00 KiB 433,00 KiB zeromq 2,15 MiB 8,04 MiB 2,46 MiB 7,30 MiB zlib 293,00 KiB 717,00 KiB 327,00 KiB 752,00 KiB For compiled packages and screenshots please look at the attachment. AMD AthlonII X4 605e Linux 4.16.13-2-zen gcc 8.1.1+20180531-1 CFLAGS="-march=x86-64 -mtune=generic -[0s,O2] [-flto=4,] -pipe -fstack-protector-strong -fno-plt" PKGBUILDs https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/jansson https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/zeromq https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/zlib Thank you >From gcc-bugs-return-606698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:20:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49432 invoked by alias); 7 Jun 2018 10:20: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 49334 invoked by uid 48); 7 Jun 2018 10:20:53 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:20: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: attachments.created 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: 2018-06/txt/msg00493.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 --- Comment #1 from Balazs Vinarz --- Created attachment 44244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44244&action=edit zlib.7z >From gcc-bugs-return-606700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:21:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51777 invoked by alias); 7 Jun 2018 10:21:43 -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 51657 invoked by uid 48); 7 Jun 2018 10:21:39 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:21: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: attachments.created 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: 2018-06/txt/msg00495.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 --- Comment #3 from Balazs Vinarz --- Created attachment 44246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44246&action=edit zeromq.png >From gcc-bugs-return-606699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:21:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50863 invoked by alias); 7 Jun 2018 10:21:30 -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 50738 invoked by uid 48); 7 Jun 2018 10:21:25 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:21: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: attachments.created 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: 2018-06/txt/msg00494.txt.bz2 Content-length: 233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 --- Comment #2 from Balazs Vinarz --- Created attachment 44245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44245&action=edit jansson.png >From gcc-bugs-return-606701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:22:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52776 invoked by alias); 7 Jun 2018 10:22:00 -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 52701 invoked by uid 48); 7 Jun 2018 10:21:55 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:22: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: attachments.created 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: 2018-06/txt/msg00496.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 --- Comment #4 from Balazs Vinarz --- Created attachment 44247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44247&action=edit zlib.png >From gcc-bugs-return-606703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:23:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56912 invoked by alias); 7 Jun 2018 10:23:37 -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 56797 invoked by uid 48); 7 Jun 2018 10:23:32 -0000 From: "vinibali1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:23: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vinibali1 at gmail 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: 2018-06/txt/msg00498.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 --- Comment #5 from Balazs Vinarz --- Link for the zeromq.7z: https://drive.google.com/open?id=15GwJ8EnlxYzFUHtzf30mf4gxqC74l1p6 >From gcc-bugs-return-606702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:23:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55184 invoked by alias); 7 Jun 2018 10:23:01 -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 55051 invoked by uid 48); 7 Jun 2018 10:22:56 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86072] Poor codegen with atomics Date: Thu, 07 Jun 2018 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: amonakov at gcc dot gnu.org 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: cc 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: 2018-06/txt/msg00497.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86072 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov --- As for the segfault mentioned in comment 0, this is not a compiler bug: it's the assembler segfaulting, and it segfaults even with an empty source, so it's probably an issue/misconfiguration on the godbolt.org side. >From gcc-bugs-return-606704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:40:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10470 invoked by alias); 7 Jun 2018 10:40:25 -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 10387 invoked by uid 48); 7 Jun 2018 10:40:19 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pending/86081] New: expecting integer value - internal compiler error: Aborted Date: Thu, 07 Jun 2018 10:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pending X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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 attachments.created Message-ID: 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: 2018-06/txt/msg00499.txt.bz2 Content-length: 15170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86081 Bug ID: 86081 Summary: expecting integer value - internal compiler error: Aborted Product: gcc Version: 5.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pending Assignee: unassigned at gcc dot gnu.org Reporter: ptdrnvqd at 10mail dot org Target Milestone: --- Created attachment 44248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44248&action=edit preprocessed file (*.i*) , -save-temps not into programming enough to know what happened gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04) command: (cd /home/lmint-sgt2_usrnam-01/.cache/bazel/_bazel_lmint-sgt2_usrnam-01/4b7ce482992596b3314a677549b0daa3/execroot/org_tensorflow && \ > exec env - \ > ANDROID_BUILD_TOOLS_VERSION=28.0.0 \ > ANDROID_NDK_API_LEVEL=17 \ > ANDROID_NDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk/ndk-bundle \ > ANDROID_SDK_API_LEVEL=27 \ > ANDROID_SDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk \ > COMPUTECPP_TOOLKIT_PATH=/home/lmint-sgt2_usrnam-01/Downloads/programs/ComputeCpp-CE-0.8.0-Ubuntu-16.04-x86_64 \ > HOST_CXX_COMPILER=/usr/bin/g++ \ > HOST_C_COMPILER=/usr/bin/gcc \ > PATH=/home/lmint-sgt2_usrnam-01/.nix-profile/bin:/home/lmint-sgt2_usrnam-01/.cargo/bin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \ > PWD=/proc/self/cwd \ > PYTHON_BIN_PATH=/usr/bin/python3 \ > PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages \ > TF_DOWNLOAD_CLANG=0 \ > TF_NEED_COMPUTECPP=1 \ > TF_NEED_CUDA=0 \ > TF_NEED_OPENCL_SYCL=1 \ > /usr/bin/gcc -U_FORTIFY_SOURCE -v -save-temps -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -MD -MF bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.d -fPIC -iquote external/gif_archive -iquote bazel-out/k8-opt/genfiles/external/gif_archive -iquote external/bazel_tools -iquote bazel-out/k8-opt/genfiles/external/bazel_tools -isystem external/gif_archive/lib -isystem bazel-out/k8-opt/genfiles/external/gif_archive/lib -isystem bazel-out/k8-opt/bin/external/gif_archive/lib -ffunction-sections -fdata-sections -Wl,--gc-sections -O3 -mtune=native -march=native -m64 -maccumulate-outgoing-args -m8bit-idiv -minline-stringops-dynamically -fipa-pta -fgraphite-identity -ftree-loop-distribution -fvariable-expansion-in-unroller -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload --param omega-eliminate-redundant-constraints=1 -floop-interchange -floop-strip-mine -floop-block -floop-nest-optimize -pipe -g0 -s -Wl,-z,relro,-z,now -ftree-vectorize -v -Wl,-O1 -Wl,--relax -ffunction-sections -fdata-sections -Wl,--gc-sections -O3 -mtune=native -march=native -m64 -maccumulate-outgoing-args -m8bit-idiv -minline-stringops-dynamically -fipa-pta -fgraphite-identity -ftree-loop-distribution -fvariable-expansion-in-unroller -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -floop-nest-optimize -pipe -g0 -s -Wl,-z,relro,-z,now -ftree-vectorize -v -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -c external/gif_archive/lib/gif_font.c -o bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.o) output: gcc: warning: -pipe ignored because -save-temps specified Using built-in specs. COLLECT_GCC=/usr/bin/gcc Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04) COLLECT_GCC_OPTIONS='-U' '_FORTIFY_SOURCE' '-v' '-save-temps' '-fstack-protector' '-Wall' '-B' '/usr/bin' '-B' '/usr/bin' '-Wunused-but-set-parameter' '-Wno-free-nonheap-object' '-fno-omit-frame-pointer' '-g0' '-O2' '-D' '_FORTIFY_SOURCE=1' '-D' 'NDEBUG' '-MD' '-MF' 'bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.d' '-fPIC' '-iquote' 'external/gif_archive' '-iquote' 'bazel-out/k8-opt/genfiles/external/gif_archive' '-iquote' 'external/bazel_tools' '-iquote' 'bazel-out/k8-opt/genfiles/external/bazel_tools' '-isystem' 'external/gif_archive/lib' '-isystem' 'bazel-out/k8-opt/genfiles/external/gif_archive/lib' '-isystem' 'bazel-out/k8-opt/bin/external/gif_archive/lib' '-O3' '-mtune=native' '-march=native' '--param' 'omega-eliminate-redundant-constraints=1' '-floop-interchange' '-floop-strip-mine' '-floop-block' '-pipe' '-g0' '-s' '-v' '-ffunction-sections' '-fdata-sections' '-O3' '-mtune=native' '-march=native' '-m64' '-maccumulate-outgoing-args' '-m8bit-idiv' '-minline-stringops-dynamically' '-fipa-pta' '-fgraphite-identity' '-ftree-loop-distribution' '-fvariable-expansion-in-unroller' '-freorder-blocks-and-partition' '-fgcse-sm' '-fgcse-las' '-fgcse-after-reload' '-floop-nest-optimize' '-pipe' '-g0' '-s' '-ftree-vectorize' '-v' '-fno-canonical-system-headers' '-Wno-builtin-macro-redefined' '-D' '__DATE__=redacted' '-D' '__TIMESTAMP__=redacted' '-D' '__TIME__=redacted' '-c' '-o' 'bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.o' /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -E -quiet -v -v -v -imultiarch x86_64-linux-gnu -MD bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.d -MF bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.d -MQ bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.o -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=1 -D NDEBUG -D __DATE__=redacted -D __TIMESTAMP__=redacted -D __TIME__=redacted -iquote external/gif_archive -iquote bazel-out/k8-opt/genfiles/external/gif_archive -iquote external/bazel_tools -iquote bazel-out/k8-opt/genfiles/external/bazel_tools -isystem external/gif_archive/lib -isystem bazel-out/k8-opt/genfiles/external/gif_archive/lib -isystem bazel-out/k8-opt/bin/external/gif_archive/lib external/gif_archive/lib/gif_font.c -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell -m64 -maccumulate-outgoing-args -m8bit-idiv -minline-stringops-dynamically -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -Wno-builtin-macro-redefined -fstack-protector -fno-omit-frame-pointer -fPIC -floop-interchange -floop-strip-mine -floop-block -ffunction-sections -fdata-sections -fipa-pta -fgraphite-identity -ftree-loop-distribution -fvariable-expansion-in-unroller -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -floop-nest-optimize -ftree-vectorize -fno-canonical-system-headers -O2 -O3 -O3 -fpch-preprocess -Wformat-security -o gif_font.i ignoring nonexistent directory "bazel-out/k8-opt/genfiles/external/gif_archive/lib" ignoring nonexistent directory "bazel-out/k8-opt/bin/external/gif_archive/lib" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include" ignoring nonexistent directory "bazel-out/k8-opt/genfiles/external/gif_archive" ignoring nonexistent directory "bazel-out/k8-opt/genfiles/external/bazel_tools" #include "..." search starts here: external/gif_archive external/bazel_tools #include <...> search starts here: external/gif_archive/lib /usr/lib/gcc/x86_64-linux-gnu/5/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS='-U' '_FORTIFY_SOURCE' '-v' '-save-temps' '-fstack-protector' '-Wall' '-B' '/usr/bin' '-B' '/usr/bin' '-Wunused-but-set-parameter' '-Wno-free-nonheap-object' '-fno-omit-frame-pointer' '-g0' '-O2' '-D' '_FORTIFY_SOURCE=1' '-D' 'NDEBUG' '-MD' '-MF' 'bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.d' '-fPIC' '-iquote' 'external/gif_archive' '-iquote' 'bazel-out/k8-opt/genfiles/external/gif_archive' '-iquote' 'external/bazel_tools' '-iquote' 'bazel-out/k8-opt/genfiles/external/bazel_tools' '-isystem' 'external/gif_archive/lib' '-isystem' 'bazel-out/k8-opt/genfiles/external/gif_archive/lib' '-isystem' 'bazel-out/k8-opt/bin/external/gif_archive/lib' '-O3' '-mtune=native' '-march=native' '--param' 'omega-eliminate-redundant-constraints=1' '-floop-interchange' '-floop-strip-mine' '-floop-block' '-pipe' '-g0' '-s' '-v' '-ffunction-sections' '-fdata-sections' '-O3' '-mtune=native' '-march=native' '-m64' '-maccumulate-outgoing-args' '-m8bit-idiv' '-minline-stringops-dynamically' '-fipa-pta' '-fgraphite-identity' '-ftree-loop-distribution' '-fvariable-expansion-in-unroller' '-freorder-blocks-and-partition' '-fgcse-sm' '-fgcse-las' '-fgcse-after-reload' '-floop-nest-optimize' '-pipe' '-g0' '-s' '-ftree-vectorize' '-v' '-fno-canonical-system-headers' '-Wno-builtin-macro-redefined' '-D' '__DATE__=redacted' '-D' '__TIMESTAMP__=redacted' '-D' '__TIME__=redacted' '-c' '-o' 'bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.o' /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -fpreprocessed gif_font.i -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell -quiet -dumpbase gif_font.c -m64 -maccumulate-outgoing-args -m8bit-idiv -minline-stringops-dynamically -auxbase-strip bazel-out/k8-opt/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/gif_font.pic.o -g0 -g0 -g0 -O2 -O3 -O3 -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -Wno-builtin-macro-redefined -version -fstack-protector -fno-omit-frame-pointer -fPIC -floop-interchange -floop-strip-mine -floop-block -ffunction-sections -fdata-sections -fipa-pta -fgraphite-identity -ftree-loop-distribution -fvariable-expansion-in-unroller -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -floop-nest-optimize -ftree-vectorize -fno-canonical-system-headers --param omega-eliminate-redundant-constraints=1 -Wformat-security -o gif_font.s GNU C11 (Ubuntu 5.5.0-12ubuntu1~16.04) version 5.5.0 20171010 (x86_64-linux-gnu) compiled by GNU C version 5.5.0 20171010, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (Ubuntu 5.5.0-12ubuntu1~16.04) version 5.5.0 20171010 (x86_64-linux-gnu) compiled by GNU C version 5.5.0 20171010, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a17d0cd9aea7093f02a2e3f3b1a39337 isl_constraint.c:627: expecting integer value external/gif_archive/lib/gif_font.c: In function 'GifDrawBox': external/gif_archive/lib/gif_font.c:177:1: internal compiler error: Aborted GifDrawBox(SavedImage *Image, ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >From gcc-bugs-return-606705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:43:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15127 invoked by alias); 7 Jun 2018 10:43: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 15056 invoked by uid 48); 7 Jun 2018 10:43:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib) Date: Thu, 07 Jun 2018 10:43: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: 8.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00500.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #6 from Richard Biener --- The packages contain static archives. In that case those, when compiled with -flto, will contain LTO bytecode and not object code. You want to make sure to use -fno-lto on static archive builds. >From gcc-bugs-return-606706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:46:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22105 invoked by alias); 7 Jun 2018 10:46:53 -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 21984 invoked by uid 48); 7 Jun 2018 10:46:49 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pending/86081] expecting integer value - internal compiler error: Aborted Date: Thu, 07 Jun 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pending X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: 2018-06/txt/msg00501.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86081 --- Comment #1 from ptdrnvqd at 10mail dot org --- either might be a factor: -floop-interchange -floop-strip-mine -floop-block >From gcc-bugs-return-606707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 10:49:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25648 invoked by alias); 7 Jun 2018 10:49:21 -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 25446 invoked by uid 48); 7 Jun 2018 10:49:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pending/86081] expecting integer value - internal compiler error: Aborted Date: Thu, 07 Jun 2018 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pending X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 cf_known_to_work resolution cf_known_to_fail 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: 2018-06/txt/msg00502.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86081 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |6.1.0 Resolution|--- |FIXED Known to fail| |5.5.0 --- Comment #2 from Richard Biener --- This has been fixed in GCC 6. A workaround is to not use -floop-block. Note that GCC 5 is no longer maintained. >From gcc-bugs-return-606708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 11:26:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106890 invoked by alias); 7 Jun 2018 11:26:23 -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 106848 invoked by uid 48); 7 Jun 2018 11:26:19 -0000 From: "pffang at vip dot qq.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 11:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pffang at vip dot qq.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: cc 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: 2018-06/txt/msg00503.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 Fang Pengfei changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pffang at vip dot qq.com --- Comment #1 from Fang Pengfei --- Yes, I found the same problem. The function _xgetbv cann't produce correct machine code when optimization on. >From gcc-bugs-return-606709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 11:57:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11047 invoked by alias); 7 Jun 2018 11:57:34 -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 10798 invoked by uid 55); 7 Jun 2018 11:57:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86 Date: Thu, 07 Jun 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-06/txt/msg00504.txt.bz2 Content-length: 998 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #13 from Richard Biener --- Author: rguenth Date: Thu Jun 7 11:56:25 2018 New Revision: 261272 URL: https://gcc.gnu.org/viewcvs?rev=261272&root=gcc&view=rev Log: 2018-06-07 Richard Biener Backport from mainline 2018-03-19 Jakub Jelinek PR sanitizer/84761 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ): Define if not defined. (DL_INTERNAL_FUNCTION): Don't define. (InitTlsSize): For __i386__ if not compiled against glibc 2.27+ determine at runtime whether to use regparm(3), stdcall calling convention for older glibcs or normal calling convention for newer glibcs for call to _dl_get_tls_static_info. Modified: branches/gcc-7-branch/libsanitizer/ChangeLog branches/gcc-7-branch/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc >From gcc-bugs-return-606710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 11:58:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13299 invoked by alias); 7 Jun 2018 11:58:37 -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 13088 invoked by uid 48); 7 Jun 2018 11:58:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86 Date: Thu, 07 Jun 2018 11:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail 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: 2018-06/txt/msg00505.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.3.1, 8.1.0 Known to fail| |7.3.0 --- Comment #14 from Richard Biener --- Fixed on the GCC 7 branch as well. >From gcc-bugs-return-606711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 12:01:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22962 invoked by alias); 7 Jun 2018 12:00:44 -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 15563 invoked by uid 48); 7 Jun 2018 11:59:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85567] [7 Regression] internal compiler error: in gimplify_modify_expr, at gimplify.c:5797 when using sincos() Date: Thu, 07 Jun 2018 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail 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: 2018-06/txt/msg00506.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85567 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |7.3.1 Resolution|--- |FIXED Known to fail| |7.3.0 --- Comment #6 from Richard Biener --- Fixed. >From gcc-bugs-return-606712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 12:16:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76962 invoked by alias); 7 Jun 2018 12:16:26 -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 75645 invoked by uid 48); 7 Jun 2018 12:15:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 12:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: cc 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: 2018-06/txt/msg00507.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |uros at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- This has been fixed with r260135 on the trunk. https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00515.html Uros, are you going to backport at least the _xgetbv fix? >From gcc-bugs-return-606713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 12:18:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10244 invoked by alias); 7 Jun 2018 12:18:53 -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 10085 invoked by uid 48); 7 Jun 2018 12:18:45 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 12:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail 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: 2018-06/txt/msg00508.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 --- Comment #3 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #2) > This has been fixed with r260135 on the trunk. > https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00515.html > Uros, are you going to backport at least the _xgetbv fix? Uh, yes - it looks I forgot to commit the backport. >From gcc-bugs-return-606714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 12:19:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45550 invoked by alias); 7 Jun 2018 12:19:53 -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 41939 invoked by uid 48); 7 Jun 2018 12:19:49 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed 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: 2018-06/txt/msg00509.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 Uroš Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-06-07 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com Target Milestone|--- |8.2 Ever confirmed|0 |1 >From gcc-bugs-return-606715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 13:04:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83248 invoked by alias); 7 Jun 2018 13:04:47 -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 82690 invoked by uid 48); 7 Jun 2018 13:04:42 -0000 From: "rv at rasmusvillemoes dot dk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86068] __cpp_transactional_memory is 210500 Date: Thu, 07 Jun 2018 13:04: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: trans-mem X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rv at rasmusvillemoes dot dk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-06/txt/msg00510.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86068 --- Comment #2 from Rasmus Villemoes --- The page https://gcc.gnu.org/projects/cxx-status.html probably needs to be updated to say __cpp_transactional_memory >= 201500. >From gcc-bugs-return-606716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 13:38:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73191 invoked by alias); 7 Jun 2018 13:38: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 62242 invoked by uid 48); 7 Jun 2018 13:38:08 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84342] Location views breaks cross builds of arm including gnueabihf Date: Thu, 07 Jun 2018 13:38: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: 8.0 X-Bugzilla-Keywords: build, wrong-debug X-Bugzilla-Severity: critical X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-06/txt/msg00511.txt.bz2 Content-length: 1583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84342 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramana at gcc dot gnu.org --- Comment #11 from Ramana Radhakrishnan --- (In reply to Jakub Jelinek from comment #10) > GCC 8.1 has been released. (In reply to Jeffrey A. Law from comment #9) > Alex: I realize that's the point of the hook. But I'm pretty sure there's > no way to fix the ARM port given the point at which lengths are set and the > point at which ccfsm is valid are at two different times. We'd either need > a revamp of ccfsm or some layering violations to allow dwarf2out to access > the underlying routines for length query and bypass the cache. > > It's my view this BZ is resolved. But if you want to keep it open to track > the incorrect lengths in the ARM port, that's fine. But it's certainly no > longer a regression for gcc-8. In which case should this still retain the P1 status ? The builds are ok since Alex's patch and we need to look at this at some point of time. Richard E and I have been talking about whether ccfsm actually makes sense in 2018 and whether we should just rip it out anyway and make sure that the rtl optimizers get it right rather than carry this in the far future. It's only used in A32 state, it's probably not got a huge amount going for it and maybe we should just rip it out. >From gcc-bugs-return-606717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:01:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83368 invoked by alias); 7 Jun 2018 14:01:24 -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 82957 invoked by uid 55); 7 Jun 2018 14:01:09 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures Date: Thu, 07 Jun 2018 14:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner 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: 2018-06/txt/msg00512.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 --- Comment #12 from Peter Bergner --- Author: bergner Date: Thu Jun 7 13:59:37 2018 New Revision: 261275 URL: https://gcc.gnu.org/viewcvs?rev=261275&root=gcc&view=rev Log: Backport from mainline 2018-06-06 Peter Bergner PR target/63177 * /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9. Don't handle -mcpu=power8 if -mpower9-vector is also used. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/rs6000/rs6000.h >From gcc-bugs-return-606718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:02:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86975 invoked by alias); 7 Jun 2018 14:02:44 -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 86131 invoked by uid 55); 7 Jun 2018 14:02:31 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures Date: Thu, 07 Jun 2018 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner 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: 2018-06/txt/msg00513.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 --- Comment #13 from Peter Bergner --- Author: bergner Date: Thu Jun 7 14:01:57 2018 New Revision: 261276 URL: https://gcc.gnu.org/viewcvs?rev=261276&root=gcc&view=rev Log: Backport from mainline 2018-06-06 Peter Bergner PR target/63177 * /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9. Don't handle -mcpu=power8 if -mpower9-vector is also used. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000.h >From gcc-bugs-return-606719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:03:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91131 invoked by alias); 7 Jun 2018 14:03: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 90912 invoked by uid 48); 7 Jun 2018 14:03:45 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85318] -Wc90-c99-compat does not warn about for loop initial declarations Date: Thu, 07 Jun 2018 14:03: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: 7.3.1 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to 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: 2018-06/txt/msg00514.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85318 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org >From gcc-bugs-return-606720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:04:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92418 invoked by alias); 7 Jun 2018 14:04:16 -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 92185 invoked by uid 55); 7 Jun 2018 14:04:08 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures Date: Thu, 07 Jun 2018 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner 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: 2018-06/txt/msg00515.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 --- Comment #14 from Peter Bergner --- Author: bergner Date: Thu Jun 7 14:03:35 2018 New Revision: 261277 URL: https://gcc.gnu.org/viewcvs?rev=261277&root=gcc&view=rev Log: Backport from mainline 2018-06-06 Peter Bergner PR target/63177 * /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9. Don't handle -mcpu=power8 if -mpower9-vector is also used. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/rs6000/rs6000.h >From gcc-bugs-return-606722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:16:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92691 invoked by alias); 7 Jun 2018 14:16:53 -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 90883 invoked by uid 48); 7 Jun 2018 14:16:47 -0000 From: "dev-zero at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85536] ICE on procedure pointer assignment for subroutine with procedure pointer argument Date: Thu, 07 Jun 2018 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dev-zero at gentoo dot org 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: 2018-06/txt/msg00517.txt.bz2 Content-length: 3373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85536 --- Comment #2 from Tiziano Müller --- Ok, I got around to generate a backtrace from gfortran: [...] Starting program: /home/tiziano/tmp/gfortran/gcc/f951 ice_minimal_rep.f90 -quiet -dumpbase ice_minimal_rep.f90 -mtune=generic -march=x86-64 -auxbase ice_minimal_rep -fintrinsic-modules-path finclude -o /tmp/ccQdv1nJ.s Program received signal SIGSEGV, Segmentation fault. 0x0000000000844729 in compare_type (s1=0x2d78570, s2=0x2d78570) at ../../gcc/gcc/fortran/interface.c:744 744 return gfc_compare_types (&s1->ts, &s2->ts) || s2->ts.type == BT_ASSUMED; (gdb) bt #0 0x0000000000844729 in compare_type (s1=0x2d78570, s2=0x2d78570) at ../../gcc/gcc/fortran/interface.c:744 #1 0x00000000008457e3 in gfc_check_dummy_characteristics (s1=0x2d78570, s2=0x2d78570, type_must_agree=true, errmsg=0x7ffffbfff210 "", err_len=200) at ../../gcc/gcc/fortran/interface.c:1294 #2 0x0000000000846b91 in gfc_compare_interfaces (s1=0x2d78570, s2=0x2d78570, name2=0x7ffff6fe4370 "nextparser", generic_flag=0, strict_flag=1, errmsg=0x7ffffbfff210 "", err_len=200, p1=0x0, p2=0x0) at ../../gcc/gcc/fortran/interface.c:1755 #3 0x0000000000845cb3 in gfc_check_dummy_characteristics (s1=0x2d78570, s2=0x2d78570, type_must_agree=true, errmsg=0x7ffffbfff3c0 "", err_len=200) at ../../gcc/gcc/fortran/interface.c:1384 #4 0x0000000000846b91 in gfc_compare_interfaces (s1=0x2d78570, s2=0x2d78570, name2=0x7ffff6fe4370 "nextparser", generic_flag=0, strict_flag=1, errmsg=0x7ffffbfff3c0 "", err_len=200, p1=0x0, p2=0x0) at ../../gcc/gcc/fortran/interface.c:1755 #5 0x0000000000845cb3 in gfc_check_dummy_characteristics (s1=0x2d78570, s2=0x2d78570, type_must_agree=true, errmsg=0x7ffffbfff570 "", err_len=200) at ../../gcc/gcc/fortran/interface.c:1384 #6 0x0000000000846b91 in gfc_compare_interfaces (s1=0x2d78570, s2=0x2d78570, name2=0x7ffff6fe4370 "nextparser", generic_flag=0, strict_flag=1, errmsg=0x7ffffbfff570 "", err_len=200, p1=0x0, p2=0x0) at ../../gcc/gcc/fortran/interface.c:1755 #7 0x0000000000845cb3 in gfc_check_dummy_characteristics (s1=0x2d78570, s2=0x2d78570, type_must_agree=true, errmsg=0x7ffffbfff720 "", err_len=200) at ../../gcc/gcc/fortran/interface.c:1384 #8 0x0000000000846b91 in gfc_compare_interfaces (s1=0x2d78570, s2=0x2d78570, name2=0x7ffff6fe4370 "nextparser", generic_flag=0, strict_flag=1, errmsg=0x7ffffbfff720 "", err_len=200, p1=0x0, p2=0x0) at ../../gcc/gcc/fortran/interface.c:1755 #9 0x0000000000845cb3 in gfc_check_dummy_characteristics (s1=0x2d78570, s2=0x2d78570, type_must_agree=true, errmsg=0x7ffffbfff8d0 "", err_len=200) at ../../gcc/gcc/fortran/interface.c:1384 [...] which seems to be an endless loop between gfc_check_dummy_characteristics and gfc_compare_interfaces. What I find interesting is the fact that ifort (18.0.2) chokes the same way on the same example: $ ifort -o ice_minimal_rep ice_minimal_rep.f90 ice_minimal_rep.f90(19): internal error: Please visit 'http://www.intel.com/software/products/support' for assistance. end program ^ [ Aborting due to internal error. ] compilation aborted for ice_minimal_rep.f90 (code 1) >From gcc-bugs-return-606721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:16:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43053 invoked by alias); 7 Jun 2018 14:16:01 -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 33738 invoked by uid 48); 7 Jun 2018 14:15:54 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures Date: Thu, 07 Jun 2018 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00516.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #15 from Peter Bergner --- Fixed everywhere. >From gcc-bugs-return-606723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:19:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80525 invoked by alias); 7 Jun 2018 14:19:34 -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 74795 invoked by uid 48); 7 Jun 2018 14:19:29 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines Date: Thu, 07 Jun 2018 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: 2018-06/txt/msg00518.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org --- Comment #5 from Peter Bergner --- Hmmm, it must be the extra use of rs6000_offsettable_memref_p() that disables the update forms. I'll have a look. >From gcc-bugs-return-606724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 14:32:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121866 invoked by alias); 7 Jun 2018 14:32:54 -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 115775 invoked by uid 48); 7 Jun 2018 14:32:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85577] list-initialization chooses initializer-list constructor Date: Thu, 07 Jun 2018 14:32: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00519.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Jonathan Wakely --- (In reply to Marek Polacek from comment #2) > Can the testcase be turned into a runtime test? I couldn't figure it out > (how to construct A). The point of the test is that GCC calls the vector(initializer_list) constructor (which I deleted so that we get an error if it's used, i.e. it wasn't meant to be a runtime test, just compile-time). I thought that v{std::move(v)} should have called the vector move constructor, but actually https://wg21.link/cwg2137 says that GCC is right here (and Clang and EDG don't implement that DR yet, in Clang's case because it was found to create other problems). But GCC seems to be doing the right thing here. >From gcc-bugs-return-606725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 15:14:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70991 invoked by alias); 7 Jun 2018 15:14:00 -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 70900 invoked by uid 48); 7 Jun 2018 15:13:56 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86082] New: user-defined literals are not converted to the execution charset Date: Thu, 07 Jun 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krebbel 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00520.txt.bz2 Content-length: 1445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 Bug ID: 86082 Summary: user-defined literals are not converted to the execution charset Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- template void q(); template <> void q<'1','2','3'>() {} template void operator""_test() { q (); } int main () { 123_test; } builds fine with 'g++ t.cpp' but triggers a link error compiled with 'g++ t.cpp -fexec-charset=IBM1047' In the specialization of q the string literals '1', '2', '3' get converted to the target character set as expected. However, the call generated in the body of the operator does still use the source character set: 10: 0000000000000000 2 FUNC GLOBAL DEFAULT 2 void q<(char)-15, (char)-14, (char)-13>() 11: 0000000000000002 16 FUNC GLOBAL DEFAULT 2 main 12: 0000000000000000 12 FUNC WEAK DEFAULT 6 void operator"" _test<(char)49, (char)50, (char)51>() 13: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND void q<(char)49, (char)50, (char)51>() When converting a user-defined literal into string literals also a conversion into the execution charset is required. >From gcc-bugs-return-606726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 15:15:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78152 invoked by alias); 7 Jun 2018 15:15:52 -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 77908 invoked by uid 48); 7 Jun 2018 15:15:46 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86082] user-defined literals are not converted to the execution charset Date: Thu, 07 Jun 2018 15:15: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krebbel 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: cf_gcctarget cf_gcchost cf_gccbuild 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: 2018-06/txt/msg00521.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 Andreas Krebbel changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64 Host| |x86_64 Build| |x86_64 --- Comment #1 from Andreas Krebbel --- fails at least since r228905 >From gcc-bugs-return-606728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 15:58:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94575 invoked by alias); 7 Jun 2018 15:58: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 94450 invoked by uid 48); 7 Jun 2018 15:58:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86042] [8/9 Regression] missing strlen optimization after second strcpy Date: Thu, 07 Jun 2018 15:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-06/txt/msg00523.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #5 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00403.html >From gcc-bugs-return-606727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 15:58:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93659 invoked by alias); 7 Jun 2018 15:58:01 -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 93532 invoked by uid 48); 7 Jun 2018 15:57:55 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86043] strlen after memcpy partially overwriting a string not optimized Date: Thu, 07 Jun 2018 15:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed 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: 2018-06/txt/msg00522.txt.bz2 Content-length: 620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86043 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-06-07 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00403.html >From gcc-bugs-return-606729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 16:37:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118662 invoked by alias); 7 Jun 2018 16:37:38 -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 118449 invoked by uid 55); 7 Jun 2018 16:37:34 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 16:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00524.txt.bz2 Content-length: 970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Thu Jun 7 16:37:01 2018 New Revision: 261283 URL: https://gcc.gnu.org/viewcvs?rev=261283&root=gcc&view=rev Log: PR target/85684 * config/i386/i386.c (ix86_expand_builtin) : Generate SImode target register for null target. : Ditto. : Optimize LSHIFTRT generation. * config/i386/xsaveintrin.h (_xgetbv): Add missing return. testsuite/ChangeLog: PR target/85684 * gcc.target/i386/xgetsetbv.c: Check also variable arguments. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/config/i386/xsaveintrin.h branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/xgetsetbv.c >From gcc-bugs-return-606730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 16:39:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122060 invoked by alias); 7 Jun 2018 16:39:30 -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 121927 invoked by uid 48); 7 Jun 2018 16:39:26 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85684] output of instrinsic _xgetbv is wrongly overwritten Date: Thu, 07 Jun 2018 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00525.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85684 Uroš Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Uroš Bizjak --- Fixed for 8.2+. >From gcc-bugs-return-606731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 17:14:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96060 invoked by alias); 7 Jun 2018 17:14:00 -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 95940 invoked by uid 48); 7 Jun 2018 17:13:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86083] New: handle non-constant assignments in strlen Date: Thu, 07 Jun 2018 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00526.txt.bz2 Content-length: 2007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86083 Bug ID: 86083 Summary: handle non-constant assignments in strlen Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- As discussed in pr57230, the strlen optimizing pass manages to track string lengths across non-nul constant character stores, it doesn't do the same for non-constant stores even if their value is known to be non-nul (i.e., it's in some range that excludes nul). It's a trivial enhancement to have the pass consider value ranges and implement the tracking in the non-constant case so that the bodies of both functions below are eliminated and not just that of f(). $ cat c.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout c.c void f (void) { char a[] = "123"; a[1] = '4'; if (__builtin_strlen (a) != 3) // folded __builtin_abort (); } void g (unsigned i) { char a[] = "123"; a[1] = '0' + (i % 10); if (__builtin_strlen (a) != 3) // not folded __builtin_abort (); } ;; Function f (f, funcdef_no=0, decl_uid=1956, cgraph_uid=0, symbol_order=0) f () { [local count: 1073741825]: return; } ;; Function g (g, funcdef_no=1, decl_uid=1960, cgraph_uid=1, symbol_order=1) g (unsigned int i) { char a[4]; unsigned int _1; unsigned char _2; unsigned char _3; char _4; long unsigned int _5; [local count: 1073741825]: a = "123"; _1 = i_8(D) % 10; _2 = (unsigned char) _1; _3 = _2 + 48; _4 = (char) _3; a[1] = _4; _5 = __builtin_strlen (&a); if (_5 != 3) goto ; [0.00%] else goto ; [99.96%] [count: 0]: __builtin_abort (); [local count: 1073312327]: a ={v} {CLOBBER}; return; } >From gcc-bugs-return-606732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 17:34:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127099 invoked by alias); 7 Jun 2018 17:34:20 -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 126923 invoked by uid 55); 7 Jun 2018 17:34:16 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate Date: Thu, 07 Jun 2018 17:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-06/txt/msg00527.txt.bz2 Content-length: 927 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Thu Jun 7 17:33:44 2018 New Revision: 261285 URL: https://gcc.gnu.org/viewcvs?rev=261285&root=gcc&view=rev Log: 2018-06-07 Thomas Koenig PR fortran/85641 Backport from trunk. * frontend-passes.c (is_fe_temp): Add prototype. (realloc_string_callback): Early return for frontend-generated temporary. 2018-06-07 Thomas Koenig PR fortran/85641 Backport from trunk. * gfortran.dg/realloc_on_assign_30.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_30.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/frontend-passes.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-606733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 17:53:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54409 invoked by alias); 7 Jun 2018 17:53:48 -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 54314 invoked by uid 55); 7 Jun 2018 17:53:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 Date: Thu, 07 Jun 2018 17:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: 2018-06/txt/msg00528.txt.bz2 Content-length: 726 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jun 7 17:53:11 2018 New Revision: 261286 URL: https://gcc.gnu.org/viewcvs?rev=261286&root=gcc&view=rev Log: 2018-06-07 Steven G. Kargl PR fortran/86045 * simplify.c (gfc_simplify_mod): Re-arrange code to test whether 'P' is zero and issue an error if it is. 2018-06-07 Steven G. Kargl PR fortran/86045 * gfortran.dg/pr86045.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr86045.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 17:55:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56799 invoked by alias); 7 Jun 2018 17:55:00 -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 56702 invoked by uid 48); 7 Jun 2018 17:54:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84884] [DR 2244] [C++17] protected constructor and aggregate initialization of base Date: Thu, 07 Jun 2018 17:55: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org 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: bug_status cf_reconfirmed_on cc everconfirmed 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: 2018-06/txt/msg00529.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84884 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 >From gcc-bugs-return-606735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:03:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106790 invoked by alias); 7 Jun 2018 18:03:36 -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 101632 invoked by uid 48); 7 Jun 2018 18:03:32 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86084] New: trunk/gcc/config/m32c/m32c.c:4368: suspicious comparison ? Date: Thu, 07 Jun 2018 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-06/txt/msg00530.txt.bz2 Content-length: 808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86084 Bug ID: 86084 Summary: trunk/gcc/config/m32c/m32c.c:4368: suspicious comparison ? Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Target: m32c trunk/gcc/config/m32c/m32c.c:4368:2: warning: logical ‘or’ of equal expressions [-Wlogical-op] Source code is if (GET_CODE (operands[0]) == MEM || GET_CODE (operands[0]) == MEM) Maybe better code if (GET_CODE (operands[0]) == MEM || GET_CODE (operands[1]) == MEM) >From gcc-bugs-return-606736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:14:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39044 invoked by alias); 7 Jun 2018 18:14:13 -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 38858 invoked by uid 55); 7 Jun 2018 18:14:07 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate Date: Thu, 07 Jun 2018 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-06/txt/msg00531.txt.bz2 Content-length: 927 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Thu Jun 7 18:13:33 2018 New Revision: 261289 URL: https://gcc.gnu.org/viewcvs?rev=261289&root=gcc&view=rev Log: 2018-06-07 Thomas Koenig PR fortran/85641 Backport from trunk. * frontend-passes.c (is_fe_temp): Add prototype. (realloc_string_callback): Early return for frontend-generated temporary. 2018-06-07 Thomas Koenig PR fortran/85641 Backport from trunk. * gfortran.dg/realloc_on_assign_30.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_30.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/frontend-passes.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-606737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:16:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41905 invoked by alias); 7 Jun 2018 18:15:39 -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 41630 invoked by uid 48); 7 Jun 2018 18:15:28 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85641] [7/8/9 Regression] ICE with string concatenate Date: Thu, 07 Jun 2018 18:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00532.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Thomas Koenig --- Fixed on call branches, closing. Thanks for the bug report! >From gcc-bugs-return-606738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:16:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42378 invoked by alias); 7 Jun 2018 18:16:02 -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 41774 invoked by uid 48); 7 Jun 2018 18:15:32 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68241] [meta-bug] [F03] Deferred-length character Date: Thu, 07 Jun 2018 18:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org 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: bug_status resolution 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: 2018-06/txt/msg00533.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 85641, which changed state. Bug 85641 Summary: [7/8/9 Regression] ICE with string concatenate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85641 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-606739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:18:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48326 invoked by alias); 7 Jun 2018 18:18:26 -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 48080 invoked by uid 55); 7 Jun 2018 18:18:21 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 Date: Thu, 07 Jun 2018 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: 2018-06/txt/msg00534.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jun 7 18:17:49 2018 New Revision: 261290 URL: https://gcc.gnu.org/viewcvs?rev=261290&root=gcc&view=rev Log: 2018-06-07 Steven G. Kargl PR fortran/86045 * simplify.c (gfc_simplify_mod): Re-arrange code to test whether 'P' is zero and issue an error if it is. 2018-06-07 Steven G. Kargl PR fortran/86045 * gfortran.dg/pr86045.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr86045.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/simplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-606740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:40:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80807 invoked by alias); 7 Jun 2018 18:40:06 -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 80648 invoked by uid 55); 7 Jun 2018 18:40:02 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 Date: Thu, 07 Jun 2018 18:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: 2018-06/txt/msg00535.txt.bz2 Content-length: 848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045 --- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jun 7 18:39:30 2018 New Revision: 261291 URL: https://gcc.gnu.org/viewcvs?rev=261291&root=gcc&view=rev Log: 2018-06-07 Steven G. Kargl PR fortran/86045 Backport from trunk. * simplify.c (gfc_simplify_mod): Re-arrange code to test whether 'P' is zero and issue an error if it is. 2018-06-07 Steven G. Kargl PR fortran/86045 Backport from trunk. * gfortran.dg/pr86045.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr86045.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/simplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-606741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:42:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91400 invoked by alias); 7 Jun 2018 18:42:34 -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 88863 invoked by uid 48); 7 Jun 2018 18:42:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 Date: Thu, 07 Jun 2018 18:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status resolution target_milestone 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: 2018-06/txt/msg00536.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.4 --- Comment #9 from kargl at gcc dot gnu.org --- Fixed on 7-branch, 8-branch, and trunk. Thanks for the bug report. >From gcc-bugs-return-606742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 18:44:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121788 invoked by alias); 7 Jun 2018 18:44:55 -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 121687 invoked by uid 48); 7 Jun 2018 18:44:51 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86051] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717 Date: Thu, 07 Jun 2018 18:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority dependson assigned_to 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: 2018-06/txt/msg00537.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Depends on| |85996 Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 [Bug 85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr. >From gcc-bugs-return-606743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 19:16:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108318 invoked by alias); 7 Jun 2018 19:16:40 -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 107957 invoked by uid 55); 7 Jun 2018 19:16:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85318] -Wc90-c99-compat does not warn about for loop initial declarations Date: Thu, 07 Jun 2018 19:16: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: 7.3.1 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2018-06/txt/msg00538.txt.bz2 Content-length: 909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85318 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Thu Jun 7 19:15:45 2018 New Revision: 261293 URL: https://gcc.gnu.org/viewcvs?rev=261293&root=gcc&view=rev Log: PR c/85318 * c-decl.c (check_for_loop_decls): Add -Wc90-c99-compat warning about for loop initial declarations. * gcc.dg/Wc90-c99-compat-10.c: New test. * gcc.dg/Wc90-c99-compat-11.c: New test. * gcc.dg/Wc90-c99-compat-12.c: New test. * gcc.dg/Wc90-c99-compat-9.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wc90-c99-compat-10.c trunk/gcc/testsuite/gcc.dg/Wc90-c99-compat-11.c trunk/gcc/testsuite/gcc.dg/Wc90-c99-compat-12.c trunk/gcc/testsuite/gcc.dg/Wc90-c99-compat-9.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 19:17:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109497 invoked by alias); 7 Jun 2018 19:17: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109350 invoked by uid 48); 7 Jun 2018 19:17:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85318] -Wc90-c99-compat does not warn about for loop initial declarations Date: Thu, 07 Jun 2018 19:17: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: 7.3.1 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00539.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85318 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Marek Polacek --- Fixed for GCC 9. >From gcc-bugs-return-606745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 19:25:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48992 invoked by alias); 7 Jun 2018 19:25:50 -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 48874 invoked by uid 48); 7 Jun 2018 19:25:46 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/45879] strcpy returns unexpected result Date: Thu, 07 Jun 2018 19:25: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.4.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: cc 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: 2018-06/txt/msg00540.txt.bz2 Content-length: 669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45879 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #2 from Martin Sebor --- GCC 8.1 diagnoses the bug with -Wrestrict: pr45879.c: In function ‘main’: pr45879.c:12:7: warning: ‘strcpy’ accessing 5 bytes at offsets 4 and 5 overlaps 4 bytes at offset 5 [-Wrestrict] strcpy(&data[4], &data[5]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ >From gcc-bugs-return-606746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 19:57:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115364 invoked by alias); 7 Jun 2018 19:57:23 -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 114955 invoked by uid 48); 7 Jun 2018 19:57:19 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86085] New: I/O built-ins considered argument clobbers Date: Thu, 07 Jun 2018 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00541.txt.bz2 Content-length: 1906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86085 Bug ID: 86085 Summary: I/O built-ins considered argument clobbers Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The buggy test case in pr67610 should be diagnosed by -Wrestrict but isn't. Debugging shows that the strlen pass discards the length information for the array in g() in response to the alias oracle determining that the printf() call might clobber the array argument. Except for printf with the %n directive, standard output functions don't modify their arguments. $ cat z.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout z.c void f (void) { char s[] = "123"; char d[sizeof s]; __builtin_sprintf (d, "%s", s); // eliminated (transformed to strcpy by sprintf pass) if (__builtin_strlen (s) != 3) // folded __builtin_abort (); if (__builtin_strlen (d) != 3) // also folded __builtin_abort (); } void g (void) { char s[] = "123"; __builtin_puts (s); if (__builtin_strlen (s) != 3) // not folded __builtin_abort (); } ;; Function f (f, funcdef_no=0, decl_uid=1956, cgraph_uid=0, symbol_order=0) f () { [local count: 1073741825]: return; } ;; Function g (g, funcdef_no=1, decl_uid=1961, cgraph_uid=1, symbol_order=1) g () { char s[4]; long unsigned int _1; [local count: 1073741825]: s = "123"; __builtin_puts (&s); _1 = __builtin_strlen (&s); if (_1 != 3) goto ; [0.00%] else goto ; [99.96%] [count: 0]: __builtin_abort (); [local count: 1073312327]: s ={v} {CLOBBER}; return; } >From gcc-bugs-return-606747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 20:27:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128195 invoked by alias); 7 Jun 2018 20:27:40 -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 128054 invoked by uid 48); 7 Jun 2018 20:27:35 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85631] [8/9 Regression] Runtime error message array bound mismatch with nonzero optimization Date: Thu, 07 Jun 2018 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00542.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85631 --- Comment #2 from Thomas Koenig --- The matmul inlining is only exposing a bug in reshape with allocatable variables. This also fails: $ cat a.f90 implicit none integer, parameter :: N=2 real, dimension(:,:), allocatable :: block_1 real, allocatable, dimension(:,:) :: var_1_mma allocate(block_1(N,N)) block_1 = reshape([-2,3,-5,7], [2,2]) var_1_mma = transpose(block_1) print *,var_1_mma end program $ gfortran -fcheck=bounds a.f90 $ ./a.out At line 9 of file a.f90 Fortran runtime error: Array bound mismatch for dimension 1 of array 'var_1_mma' (140020497252353/2) Error termination. Backtrace: #0 0x400f95 in ??? #1 0x401445 in ??? #2 0x7f59b6c8d724 in ??? #3 0x4007f8 in ??? at ../sysdeps/x86_64/start.S:118 #4 0xffffffffffffffff in ??? >From gcc-bugs-return-606748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 20:40:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71461 invoked by alias); 7 Jun 2018 20:40:59 -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 71293 invoked by uid 48); 7 Jun 2018 20:40:53 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86086] New: lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Date: Thu, 07 Jun 2018 20:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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 cc target_milestone Message-ID: 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: 2018-06/txt/msg00543.txt.bz2 Content-length: 13155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86086 Bug ID: 86086 Summary: lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: ptdrnvqd at 10mail dot org CC: marxin at gcc dot gnu.org Target Milestone: --- gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-21ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-21ubuntu1~16.04) command: (cd /home/lmint-sgt2_usrnam-01/.cache/bazel/_bazel_lmint-sgt2_usrnam-01/4b7ce482992596b3314a677549b0daa3/execroot/org_tensorflow && exec env - ANDROID_BUILD_TOOLS_VERSION=28.0.0 ANDROID_NDK_API_LEVEL=17 ANDROID_NDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk/ndk-bundle ANDROID_SDK_API_LEVEL=27 ANDROID_SDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk COMPUTECPP_TOOLKIT_PATH=/home/lmint-sgt2_usrnam-01/Downloads/programs/ComputeCpp-CE-0.8.0-Ubuntu-16.04-x86_64 HOST_CXX_COMPILER=/usr/bin/g++ HOST_C_COMPILER=/usr/bin/gcc PATH=/home/lmint-sgt2_usrnam-01/.nix-profile/bin:/home/lmint-sgt2_usrnam-01/.cargo/bin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/proc/self/cwd PYTHON_BIN_PATH=/usr/bin/python3 PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages TF_DOWNLOAD_CLANG=0 TF_NEED_COMPUTECPP=1 TF_NEED_CUDA=0 TF_NEED_OPENCL_SYCL=1 /usr/bin/gcc -shared -o bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so '-Wl,-rpath,$ORIGIN/../_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib' -Lbazel-out/k8-opt/bin/_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib '-Wl,-rpath,$ORIGIN/' -Wl,-soname,libtensorflow_framework.so -pthread -save-temps '-fuse-ld=gold' -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -B/usr/bin -pass-exit-codes -Wl,--gc-sections -g0 -s -Wl,-z,relro,-z,now -v -Wl,-O1 -Wl,--relax -Wl,--gc-sections -Wl,-S -Wl,@bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so-2.params) output: Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-21ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-21ubuntu1~16.04) COMPILER_PATH=/usr/bin/:/usr/bin/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/bin/:/usr/bin/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-shared' '-o' 'bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so' '-Lbazel-out/k8-opt/bin/_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib' '-pthread' '-save-temps' '-fuse-ld=gold' '-B' '/usr/bin' '-B' '/usr/bin' '-g0' '-s' '-v' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=libtensorflow_framework.so-2.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -shared -fuse-ld=gold -z relro -o bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so -s /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -Lbazel-out/k8-opt/bin/_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib -L/usr/bin -L/usr/bin -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -rpath $ORIGIN/../_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib -rpath $ORIGIN/ -soname libtensorflow_framework.so -no-as-needed -z relro -z now --gc-sections -z relro -z now -O1 --relax --gc-sections -S @bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so-2.params -lgcc --push-state --as-needed -lgcc_s --pop-state -lpthread -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/bin/gcc @/tmp/ccPaUa5v Using built-in specs. COLLECT_GCC=/usr/bin/gcc OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-21ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-21ubuntu1~16.04) COLLECT_GCC_OPTIONS='-c' '-fmath-errno' '-fsigned-zeros' '-ftrapping-math' '-fno-trapv' '-fno-openacc' '-march=haswell' '-mmmx' '-mno-3dnow' '-msse' '-msse2' '-mssse3' '-mno-sse4a' '-mcx16' '-msahf' '-mmovbe' '-maes' '-mno-sha' '-mpclmul' '-mpopcnt' '-mabm' '-mno-lwp' '-mfma' '-mno-fma4' '-mno-xop' '-mbmi' '-mno-sgx' '-mbmi2' '-mno-tbm' '-mavx' '-mavx2' '-msse4.2' '-msse4.1' '-mlzcnt' '-mno-rtm' '-mno-hle' '-mrdrnd' '-mf16c' '-mfsgsbase' '-mno-rdseed' '-mno-prfchw' '-mno-adx' '-mfxsr' '-mxsave' '-mxsaveopt' '-mno-avx512f' '-mno-avx512er' '-mno-avx512cd' '-mno-avx512pf' '-mno-prefetchwt1' '-mno-clflushopt' '-mno-xsavec' '-mno-xsaves' '-mno-avx512dq' '-mno-avx512bw' '-mno-avx512vl' '-mno-avx512ifma' '-mno-avx512vbmi' '-mno-avx5124fmaps' '-mno-avx5124vnniw' '-mno-clwb' '-mno-mwaitx' '-mno-clzero' '-mno-pku' '-mno-rdpid' '-mtune=haswell' '-m64' '-maccumulate-outgoing-args' '-m8bit-idiv' '-minline-stringops-dynamically' '-msse3' '-O3' '-O3' '-O3' '-O3' '-fPIC' '-fno-exceptions' '-fopenmp' '-shared' '-Lbazel-out/k8-opt/bin/_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib' '-pthread' '-save-temps' '-fuse-ld=gold' '-B' '/usr/bin' '-B' '/usr/bin' '-g0' '-s' '-v' '-mtune=generic' '-march=x86-64' '-dumpdir' 'bazel-out/k8-opt/bin/tensorflow/' '-dumpbase' 'libtensorflow_framework.so.wpa' '-fltrans-output-list=libtensorflow_framework.so.ltrans.out' '-fwpa' '-fresolution=libtensorflow_framework.so-2.res' '-flinker-output=dyn' '-pthread' /usr/lib/gcc/x86_64-linux-gnu/7/lto1 -quiet -dumpdir bazel-out/k8-opt/bin/tensorflow/ -dumpbase libtensorflow_framework.so.wpa -march=haswell -mmmx -mno-3dnow -msse -msse2 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mtune=haswell -m64 -maccumulate-outgoing-args -m8bit-idiv -minline-stringops-dynamically -msse3 -mtune=generic -march=x86-64 -auxbase feature_util.pic -g0 -O3 -O3 -O3 -O3 -version -fmath-errno -fsigned-zeros -ftrapping-math -fno-trapv -fno-openacc -fPIC -fno-exceptions -fopenmp -fuse-ld=gold -fltrans-output-list=libtensorflow_framework.so.ltrans.out -fwpa -fresolution=libtensorflow_framework.so-2.res -flinker-output=dyn @/tmp/cciTagMw GNU GIMPLE (Ubuntu 7.3.0-21ubuntu1~16.04) version 7.3.0 (x86_64-linux-gnu) compiled by GNU C version 7.3.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU GIMPLE (Ubuntu 7.3.0-21ubuntu1~16.04) version 7.3.0 (x86_64-linux-gnu) compiled by GNU C version 7.3.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 tensorflow/core/common_runtime/function.cc:56:8: warning: type 'struct Endpoint' violates the C++ One Definition Rule [-Wodr] struct Endpoint { ^ tensorflow/core/common_runtime/memory_types.cc:29:8: note: a different type is defined in another translation unit struct Endpoint { ^ tensorflow/core/common_runtime/function.cc:57:9: note: the first difference of corresponding definitions is field 'node' Node* node; ^ tensorflow/core/common_runtime/memory_types.cc:30:7: note: a field with different name is defined in another translation unit int node_id; ^ lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status compilation terminated. [Leaving LTRANS libtensorflow_framework.so.ltrans.out] /usr/bin/ld.gold: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status >From gcc-bugs-return-606749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 21:28:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79164 invoked by alias); 7 Jun 2018 21:28: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 79010 invoked by uid 48); 7 Jun 2018 21:28:52 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86059] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others) Date: Thu, 07 Jun 2018 21:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc assigned_to everconfirmed 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: 2018-06/txt/msg00544.txt.bz2 Content-length: 2183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86059 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-07 CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from kargl at gcc dot gnu.org --- I have a patch for this, but I need to spend time with the standard because I cannot find a prohibition against NULL() in an array constructor (although it makes absolutely no sense to allow it). Watch for cut-n-paste tab corruption Index: array.c =================================================================== --- array.c (revision 261285) +++ array.c (working copy) @@ -1098,6 +1098,16 @@ match_array_cons_element (gfc_constructor_base *result if (m != MATCH_YES) return m; + if (expr->expr_type == EXPR_FUNCTION + && expr->ts.type == BT_UNKNOWN + && strcmp(expr->symtree->name, "null") == 0) + { + gfc_error ("NULL() at %L cannot appear in an array constructor", + &expr->where); + gfc_free_expr (expr); + return MATCH_ERROR; + } + gfc_constructor_append_expr (result, expr, &gfc_current_locus); return MATCH_YES; } gfcx -c ~/tmp/a.f90 /safe/sgk/tmp/a.f90:2:32: integer :: i(2) = [integer :: null(), 1] 1 Error: NULL() at (1) cannot appear in an array construct /safe/sgk/tmp/a.f90:3:24: integer :: j(2) = [1, null()] 1 Error: NULL() at (1) cannot appear in an array construct /safe/sgk/tmp/a.f90:4:23: integer :: k(2) = [(null(), n=1, 2)] 1 Error: NULL() at (1) cannot appear in an array construct >From gcc-bugs-return-606750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 23:05:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63023 invoked by alias); 7 Jun 2018 23:05:03 -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 62800 invoked by uid 48); 7 Jun 2018 23:04:56 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85620] Missing ENDBR after swapcontext Date: Thu, 07 Jun 2018 23:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED 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_status resolution 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: 2018-06/txt/msg00545.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |--- --- Comment #7 from H.J. Lu --- We want to generate ENDBR after swapcontext. swapcontext didn't return the first time. It was just kind of "suspended". Mark it return twice will unnecessarily disable compiler optimization. >From gcc-bugs-return-606751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 23:05:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63033 invoked by alias); 7 Jun 2018 23:05:03 -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 62871 invoked by uid 48); 7 Jun 2018 23:04:58 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full bugs Date: Thu, 07 Jun 2018 23:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail 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: bug_status resolution 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: 2018-06/txt/msg00546.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85620, which changed state. Bug 85620 Summary: Missing ENDBR after swapcontext https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |--- >From gcc-bugs-return-606752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 23:20:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34011 invoked by alias); 7 Jun 2018 23:20:33 -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 33884 invoked by uid 48); 7 Jun 2018 23:20:29 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86086] lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Date: Thu, 07 Jun 2018 23:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: attachments.created 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: 2018-06/txt/msg00547.txt.bz2 Content-length: 267 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86086 --- Comment #1 from ptdrnvqd at 10mail dot org --- Created attachment 44249 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44249&action=edit redo -save-temps output for gcc 8.1.0, add flto to link flags >From gcc-bugs-return-606753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 23:25:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41096 invoked by alias); 7 Jun 2018 23:25:59 -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 41001 invoked by uid 48); 7 Jun 2018 23:25:54 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86086] lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Date: Thu, 07 Jun 2018 23:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: 2018-06/txt/msg00548.txt.bz2 Content-length: 3346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86086 --- Comment #2 from ptdrnvqd at 10mail dot org --- same error when gcc 8.1.0, (even though added -flto missing in link flags earlier) gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.1.0-5ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.1.0 (Ubuntu 8.1.0-5ubuntu1~16.04) command: (cd /home/lmint-sgt2_usrnam-01/.cache/bazel/_bazel_lmint-sgt2_usrnam-01/4b7ce482992596b3314a677549b0daa3/execroot/org_tensorflow && exec env - ANDROID_BUILD_TOOLS_VERSION=28.0.0 ANDROID_NDK_API_LEVEL=17 ANDROID_NDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk/ndk-bundle ANDROID_SDK_API_LEVEL=27 ANDROID_SDK_HOME=/home/lmint-sgt2_usrnam-01/Android/Sdk COMPUTECPP_TOOLKIT_PATH=/home/lmint-sgt2_usrnam-01/Downloads/programs/ComputeCpp-CE-0.8.0-Ubuntu-16.04-x86_64 HOST_CXX_COMPILER=/usr/bin/g++ HOST_C_COMPILER=/usr/bin/gcc PATH=/home/lmint-sgt2_usrnam-01/.nix-profile/bin:/home/lmint-sgt2_usrnam-01/.cargo/bin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/proc/self/cwd PYTHON_BIN_PATH=/usr/bin/python3 PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages TF_DOWNLOAD_CLANG=0 TF_NEED_COMPUTECPP=1 TF_NEED_CUDA=0 TF_NEED_OPENCL_SYCL=1 /usr/bin/gcc -shared -o bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so '-Wl,-rpath,$ORIGIN/../_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib' -Lbazel-out/k8-opt/bin/_solib_k8/_U@mkl_Ulinux_S_S_Cmkl_Ulibs_Ulinux___Uexternal_Smkl_Ulinux_Slib '-Wl,-rpath,$ORIGIN/' -Wl,-soname,libtensorflow_framework.so -pthread '-fuse-ld=gold' -save-temps -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -B/usr/bin -pass-exit-codes -Wl,--gc-sections -pipe -flto -fuse-linker-plugin -g0 -s -Wl,-z,relro,-z,now -v -Wl,-O1 -Wl,--relax -Wl,--gc-sections -Wl,-S -Wl,@bazel-out/k8-opt/bin/tensorflow/libtensorflow_framework.so-2.params) >From gcc-bugs-return-606754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 07 23:28:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45862 invoked by alias); 7 Jun 2018 23:28:36 -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 45690 invoked by uid 48); 7 Jun 2018 23:28:32 -0000 From: "ptdrnvqd at 10mail dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86086] lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Date: Thu, 07 Jun 2018 23:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ptdrnvqd at 10mail dot 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: attachments.created 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: 2018-06/txt/msg00549.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86086 --- Comment #3 from ptdrnvqd at 10mail dot org --- Created attachment 44250 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44250&action=edit gcc 8.1.0 output >From gcc-bugs-return-606755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 01:12:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51044 invoked by alias); 8 Jun 2018 01:12:40 -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 50917 invoked by uid 48); 8 Jun 2018 01:12:36 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/63327] Poor caret location in error mesage Date: Fri, 08 Jun 2018 01:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org 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: cc component 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: 2018-06/txt/msg00550.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63327 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Component|fortran |libgomp --- Comment #3 from kargl at gcc dot gnu.org --- Changed component to libgomp as the error does not seem to be coming from the Fortran frontend. At, grep of all files in gcc/fortran with various phrases from "not specified in enclosing" does not find a candidate error message. >From gcc-bugs-return-606756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 02:42:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46858 invoked by alias); 8 Jun 2018 02:42:32 -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 46747 invoked by uid 48); 8 Jun 2018 02:42:28 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86087] New: ICE in rtl_verify_fallthru, at cfgrtl.c:2911 (error: verify_flow_info: Incorrect fallthru 8->9; error: wrong insn in the fallthru edge) Date: Fri, 08 Jun 2018 02:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-06/txt/msg00551.txt.bz2 Content-length: 3049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86087 Bug ID: 86087 Summary: ICE in rtl_verify_fallthru, at cfgrtl.c:2911 (error: verify_flow_info: Incorrect fallthru 8->9; error: wrong insn in the fallthru edge) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu* gcc-9.0.0-alpha20180603 snapshot (r261132) ICEs when compiling the following snippet w/ -O3 (-Ofast) -floop-parallelize-all -frename-registers -freorder-blocks-and-partition -ftrapv -ftree-parallelize-loops=2 -fno-expensive-optimizations -fno-tree-coalesce-vars -fno-tree-dce -fno-tree-loop-im: long long int bp (int *tp, int o3, int lv) { int cs = 0; long long int nn = lv; while (tp[0] + lv + nn != 0) nn = tp[0] + 1; while (cs < o3) { nn |= (tp[cs] + 1) / (!!tp[0] + 1); ++cs; } return nn; } % powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20180603 -O3 -floop-parallelize-all -frename-registers -freorder-blocks-and-partition -ftrapv -ftree-parallelize-loops=2 -fno-expensive-optimizations -fno-tree-coalesce-vars -fno-tree-dce -fno-tree-loop-im -c l1fi3pyz.c l1fi3pyz.c: In function 'bp': l1fi3pyz.c:17:1: error: verify_flow_info: Incorrect fallthru 8->9 } ^ l1fi3pyz.c:17:1: error: wrong insn in the fallthru edge (barrier 549 513 362) during RTL pass: bbro l1fi3pyz.c:17:1: internal compiler error: in rtl_verify_fallthru, at cfgrtl.c:2911 0x556c7c _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/rtl-error.c:108 0x751063 rtl_verify_fallthru /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/cfgrtl.c:2911 0x751063 rtl_verify_flow_info /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/cfgrtl.c:3012 0x73061b verify_flow_info() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/cfghooks.c:263 0x74e581 checking_verify_flow_info /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/cfghooks.h:198 0x74e581 cfg_layout_finalize() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/cfgrtl.c:4333 0x1376de1 execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/bb-reorder.c:2646 >From gcc-bugs-return-606757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 03:40:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64766 invoked by alias); 8 Jun 2018 03:40:46 -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 64575 invoked by uid 48); 8 Jun 2018 03:40:40 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63514] functions containing volatile are considered pure Date: Fri, 08 Jun 2018 03:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: cc 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: 2018-06/txt/msg00552.txt.bz2 Content-length: 1588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > The fortran frontend must do sth wrong here - it seems to mark the function > pure itself and either fold or the FE even does the optimization (look at > the .original dump). A Fortran compiler is free to assume that a function does not have side-effects. The Fortran standard does provide a programmer with the PURE and IMPURE attribute that can be used to provide hints to the compiler. If neither PURE nor IMPURE appears in a function declaration, the standard does not specify how the function is treated with respect to pureness of impureness. It is also noted that only requirement on IMPURE is with an IMPURE ELEMENTAL subprogram. In this situation, the array elements of an actual argument must be handled in array element order. There is, however, a bug with respect to F2018: C1588 A local variable of a pure subprogram, or of a BLOCK construct within a pure subprogram, shall not have the SAVE or VOLATILE attribute. gfortran is required to issue an error message, which she doesn't at the moment. Other than fixing C1588, I think this should be closed as WONTFIX. A programmer, who depends on function side-effects, should have his or her programming card revoked. >From gcc-bugs-return-606758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 04:04:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32485 invoked by alias); 8 Jun 2018 04:04:49 -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 32449 invoked by uid 48); 8 Jun 2018 04:04:45 -0000 From: "shibatch at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/86088] New: #pragma omp parallel for freezes if other processes are running Date: Fri, 08 Jun 2018 04:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shibatch at users dot sourceforge.net 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 cc target_milestone Message-ID: 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: 2018-06/txt/msg00553.txt.bz2 Content-length: 1252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86088 Bug ID: 86088 Summary: #pragma omp parallel for freezes if other processes are running Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: shibatch at users dot sourceforge.net CC: jakub at gcc dot gnu.org Target Milestone: --- The following small program takes more than 20 seconds to finish. It quickly finishes if compiled with clang. It finishes instantly without fork(). OS: Ubuntu 16.04.4 LTS CPU: Core i7-6700 $ gcc-8.1.0 -fopenmp stall.c $ time ./a.out real 0m26.846s user 1m47.288s sys 0m0.004s $ clang-6.0 -fopenmp stall.c $ time ./a.out real 0m0.423s user 0m1.244s sys 0m0.012s -- #include #include #include #define SIZEA 100 #define SIZEB 10000 unsigned char a[SIZEA * SIZEB], b[SIZEA * SIZEB]; int main(int argc, char **argv) { fork(); int i; for(i=0;i<1000;i++) { int y; #pragma omp parallel for for(y=0;yFrom gcc-bugs-return-606759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 06:08:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57182 invoked by alias); 8 Jun 2018 06:08:31 -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 57029 invoked by uid 48); 8 Jun 2018 06:08:27 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/82479] missing popcount builtin detection Date: Fri, 08 Jun 2018 06:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 2018-06/txt/msg00554.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #12 from Andrew Pinski --- Latest patch: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00358.html >From gcc-bugs-return-606760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 07:08:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91474 invoked by alias); 8 Jun 2018 07:08:13 -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 84483 invoked by uid 48); 8 Jun 2018 07:07:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63327] Poor caret location in error mesage Date: Fri, 08 Jun 2018 07:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org 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: component 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: 2018-06/txt/msg00555.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63327 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libgomp |fortran --- Comment #4 from Jakub Jelinek --- Changing the component back, libgomp is just a library, the error is emitted by the middle-end, but using location information from the FE, which is incorrect in this case (the location_t on the OMP_PARALLEL when using !$OMP line continuation). >From gcc-bugs-return-606761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 07:26:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55626 invoked by alias); 8 Jun 2018 07:26: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55547 invoked by uid 48); 8 Jun 2018 07:25:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/86088] #pragma omp parallel for freezes if other processes are running Date: Fri, 08 Jun 2018 07:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00556.txt.bz2 Content-length: 1137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86088 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek --- You are oversubscribing the machine this way in multiple processes and aren't using OMP_DYNAMIC=true or omp_set_dynamic to even adjust it based on load average (not that it would help in this case, because once a particular number of threads is decided, it needs to be kept until a parallel with a different num_threads etc. appears, not the case here, and the checks for loadavg might happen in this case quite concurrently and not notice the oversubscribing yet). So it is all about the OMP_WAIT_POLICY or GOMP_SPINCOUNT in this case, for oversubscribed case you want to lower the spincount and at the expense of bigger latencies. So just use OMP_WAIT_POLICY=passive or GOMP_SPINCOUNT=some_low_number. >From gcc-bugs-return-606762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 08:16:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101561 invoked by alias); 8 Jun 2018 08:16:28 -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 100928 invoked by uid 48); 8 Jun 2018 08:16:23 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1]) Date: Fri, 08 Jun 2018 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org 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: cc 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: 2018-06/txt/msg00557.txt.bz2 Content-length: 620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092 Francois-Xavier Coudert changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu.org --- Comment #14 from Francois-Xavier Coudert --- Homebrew has been shipping GCC 8.1.0 (unmatched) since release: it builds fine on our CI machines, and we haven't had a user bug report since then. I wasn't even aware that there was a potential issue. >From gcc-bugs-return-606763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 08:19:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30770 invoked by alias); 8 Jun 2018 08:19:44 -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 20247 invoked by uid 55); 8 Jun 2018 08:19:25 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81497] [7/8 Regression] error compiling arm_acle.h Date: Fri, 08 Jun 2018 08:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov 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: 2018-06/txt/msg00558.txt.bz2 Content-length: 1407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81497 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Jun 8 08:18:43 2018 New Revision: 261305 URL: https://gcc.gnu.org/viewcvs?rev=261305&root=gcc&view=rev Log: [arm] PR target/81497: Fix arm_acle.h for C++ Backport from mainline 2018-06-05 Kyrylo Tkachov PR target/81497 * config/arm/arm-builtins.c (arm_type_qualifiers): Add qualifier_void_pointer and qualifier_const_void_pointer. (arm_ldc_qualifiers, arm_stc_qualifiers): Use the above. (arm_init_builtins): Handle the above. * config/arm/arm_acle.h (__arm_cdp, __arm_ldc, __arm_ldcl, __arm_stc, __arm_stcl, __arm_mcr, __arm_cdp2, __arm_ldc2, __arm_ldcl2, __arm_stc2, __arm_stcl2,__arm_mcr2, __arm_mcrr, __arm_mcrr2): Remove return for void intrinsics. * g++.target/arm/arm.exp: New file. * g++.target/arm/pr81497.C: Likewise. Added: branches/gcc-8-branch/gcc/testsuite/g++.target/arm/ branches/gcc-8-branch/gcc/testsuite/g++.target/arm/arm.exp branches/gcc-8-branch/gcc/testsuite/g++.target/arm/pr81497.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/arm/arm-builtins.c branches/gcc-8-branch/gcc/config/arm/arm_acle.h branches/gcc-8-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-606764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 09:08:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58677 invoked by alias); 8 Jun 2018 09:08:05 -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 56588 invoked by uid 48); 8 Jun 2018 09:08:01 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86086] lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1256 Date: Fri, 08 Jun 2018 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed 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: 2018-06/txt/msg00559.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86086 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-06-08 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Martin Liška --- Thanks for the report. Can you please send me steps how to build that locally? >From gcc-bugs-return-606765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 10:32:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44487 invoked by alias); 8 Jun 2018 10:32:47 -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 44423 invoked by uid 48); 8 Jun 2018 10:32:40 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45521] [F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE Date: Fri, 08 Jun 2018 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org 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: 2018-06/txt/msg00560.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521 --- Comment #17 from janus at gcc dot gnu.org --- Another case that is not yet working is when polymorphic arguments are involved: type :: t end type interface test procedure testAlloc procedure testPtr end interface contains logical function testAlloc(obj) class(t), allocatable :: obj testAlloc = .true. end function logical function testPtr(obj) class(t), pointer :: obj testPtr = .false. end function end Using type(t) instead of class(t), this case is correctly accepted, but in the above form gfortran wrongly complains: Error: Ambiguous interfaces in generic interface 'test' for ‘testalloc’ at (1) and ‘testptr’ at (2) >From gcc-bugs-return-606766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 10:33:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45324 invoked by alias); 8 Jun 2018 10:33: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 45259 invoked by uid 48); 8 Jun 2018 10:33:03 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45521] [F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE Date: Fri, 08 Jun 2018 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone 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: 2018-06/txt/msg00561.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gnu.org Target Milestone|--- |9.0 >From gcc-bugs-return-606767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 10:44:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68205 invoked by alias); 8 Jun 2018 10:44:48 -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 67946 invoked by uid 48); 8 Jun 2018 10:44:43 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86006] compile time error generic type bound procedure Date: Fri, 08 Jun 2018 10:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING 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: cc 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: 2018-06/txt/msg00562.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #7 from Dominique d'Humieres --- Related to/duplicate of pr45521. >From gcc-bugs-return-606768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 10:46:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69615 invoked by alias); 8 Jun 2018 10:46:06 -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 69418 invoked by uid 48); 8 Jun 2018 10:45:47 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45521] [F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE Date: Fri, 08 Jun 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00563.txt.bz2 Content-length: 148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521 --- Comment #18 from Dominique d'Humieres --- Related to pr86006. >From gcc-bugs-return-606769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 11:16:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79935 invoked by alias); 8 Jun 2018 11:16:08 -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 67960 invoked by uid 48); 8 Jun 2018 11:15:06 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45521] [F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE Date: Fri, 08 Jun 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00564.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521 --- Comment #19 from janus at gcc dot gnu.org --- There seem to be additional issues with ASSIGNMENT interfaces: type :: t end type interface test ! accepted procedure testAlloc procedure testPtr end interface interface assignment(=) ! rejected as ambiguous procedure testAlloc procedure testPtr end interface contains subroutine testAlloc(obj, val) type(t), allocatable, intent(out) :: obj integer, intent(in) :: val end subroutine subroutine testPtr(obj, val) type(t), pointer, intent(out) :: obj integer, intent(in) :: val end subroutine end Error: Ambiguous interfaces in intrinsic assignment operator for ‘testalloc’ at (1) and ‘testptr’ at (2) >From gcc-bugs-return-606770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 11:50:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67478 invoked by alias); 8 Jun 2018 11:50:28 -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 67437 invoked by uid 48); 8 Jun 2018 11:50:23 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86006] compile time error generic type bound procedure Date: Fri, 08 Jun 2018 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00565.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #8 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #6) > > here is the link: > > > > https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/779807 > > What do you conclude from the posts? I conclude that the test case is not valid Fortran and gfortran is right to complain. IanH gives some very clear arguments for this. Closing as invalid ... >From gcc-bugs-return-606771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 12:08:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11848 invoked by alias); 8 Jun 2018 12:08: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 11760 invoked by uid 48); 8 Jun 2018 12:08:46 -0000 From: "mario-baumann at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86089] New: ICE in get_string_length, at tree-ssa-strlen.c:653 Date: Fri, 08 Jun 2018 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mario-baumann at web dot de 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 attachments.created Message-ID: 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: 2018-06/txt/msg00566.txt.bz2 Content-length: 1551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86089 Bug ID: 86089 Summary: ICE in get_string_length, at tree-ssa-strlen.c:653 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mario-baumann at web dot de Target Milestone: --- Created attachment 44251 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44251&action=edit c-source Hi, attached code fails with: > /Gcc/9.0.0/bin/gcc -m64 -O2 -c hoo.c during GIMPLE pass: strlen hoo.c: In function 'hoo': hoo.c:3:6: internal compiler error: in get_string_length, at tree-ssa-strlen.c:653 void hoo (char* in) ^~~ libbacktrace could not find executable to open > compilation with -01 works fine > /Gcc/9.0.0/bin/gcc -v Using built-in specs. COLLECT_GCC=/Gcc/9.0.0/bin/gcc COLLECT_LTO_WRAPPER=/Gcc/9.0.0/libexec/gcc/x86_64-apple-darwin17/9.0.0/lto-wrapper Target: x86_64-apple-darwin17 Configured with: /Gcc/9.0.0/.src/configure --prefix=/Gcc/9.0.0 --build=x86_64-apple-darwin17 --enable-languages=c,c++,fortran --enable-lto --enable-stage1-checking --enable-libstdcxx-time --disable-nls --disable-libquadmath --disable-libquadmath-support --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-as=/opt/local/bin/as --with-system-zlib --with-pkgversion=svn-revision-261305 Thread model: posix gcc version 9.0.0 20180608 (experimental) (svn-revision-261305) >From gcc-bugs-return-606774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 13:22:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82771 invoked by alias); 8 Jun 2018 13:22:03 -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 80346 invoked by uid 48); 8 Jun 2018 13:21:58 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Fri, 08 Jun 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 resolution 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: 2018-06/txt/msg00568.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 82804, which changed state. Bug 82804 Summary: [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX >From gcc-bugs-return-606773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 13:22:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82379 invoked by alias); 8 Jun 2018 13:22:02 -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 79596 invoked by uid 48); 8 Jun 2018 13:21:57 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82804] [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185 Date: Fri, 08 Jun 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00569.txt.bz2 Content-length: 651 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #8 from Martin Jambor --- This is a code layout issue with Zens (and a very quirky one, it is sometimes measurable and sometimes not, depending how the function happens to be placed on a particular system) and probably nothing that GCC can help with. >From gcc-bugs-return-606772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 13:22:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82120 invoked by alias); 8 Jun 2018 13:22:02 -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 79999 invoked by uid 48); 8 Jun 2018 13:21:58 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Fri, 08 Jun 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jamborm at gcc dot gnu.org 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: bug_status resolution 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: 2018-06/txt/msg00567.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 82804, which changed state. Bug 82804 Summary: [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX >From gcc-bugs-return-606775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 13:27:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118106 invoked by alias); 8 Jun 2018 13:27:14 -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 118001 invoked by uid 48); 8 Jun 2018 13:27:07 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86024] Missed memcpy loop distribution with elementwise copy Date: Fri, 08 Jun 2018 13:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org 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: 2018-06/txt/msg00570.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86024 --- Comment #2 from Marc Glisse --- (In reply to Richard Biener from comment #1) > Or we may want to un-"SRA" such patterns, generating aggregate copies. I notice that store-merging does not merge these stores, I didn't check why. SLP can do it for long but not for int (no vector of 2 ints) with -fdisable-tree-vect. (anyway that's too late for ldist, the DR / vectorizer approach sounds better, just mentioning this as another possible missed optimization) The testcase is a simplified version of boost::container::flat_map. The most important missing transformation is memmove, but it was easier to report memcpy and I kind of expect that they may all be fixed together. >From gcc-bugs-return-606776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 13:36:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64152 invoked by alias); 8 Jun 2018 13:36:48 -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 64016 invoked by uid 48); 8 Jun 2018 13:36:43 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86024] Missed memcpy loop distribution with elementwise copy Date: Fri, 08 Jun 2018 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org 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: 2018-06/txt/msg00571.txt.bz2 Content-length: 820 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86024 --- Comment #3 from bin cheng --- (In reply to Marc Glisse from comment #2) > (In reply to Richard Biener from comment #1) > > Or we may want to un-"SRA" such patterns, generating aggregate copies. > > I notice that store-merging does not merge these stores, I didn't check why. > SLP can do it for long but not for int (no vector of 2 ints) with > -fdisable-tree-vect. > > (anyway that's too late for ldist, the DR / vectorizer approach sounds > better, just mentioning this as another possible missed optimization) Yes, merging and SRA are conflicting with each other here, and it's difficult to get a model deciding when to do what. With DR improvement, we can identify and connect two or more builtin partitions in ldist. >From gcc-bugs-return-606777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 14:14:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88786 invoked by alias); 8 Jun 2018 14:14:47 -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 88709 invoked by uid 48); 8 Jun 2018 14:14:43 -0000 From: "d.khalikov at partner dot samsung.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/86090] New: [ASAN] ASAN does not properly configure libbacktrace. Date: Fri, 08 Jun 2018 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: d.khalikov at partner dot samsung.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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: 2018-06/txt/msg00572.txt.bz2 Content-length: 1456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86090 Bug ID: 86090 Summary: [ASAN] ASAN does not properly configure libbacktrace. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: d.khalikov at partner dot samsung.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 44252 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44252&action=edit libsanitizer.patch Since sanitizers build libbacktrace from source, sanitizer's configure should check for lstat and readlink function directly, because by default libbacktrace uses dummy versions which return -1 and therefore could not symbolize stripped debuginfo with gnu-debuglink. Steps to reproduce: $g++ --version output: g++ (GCC) 9.0.0 20180606 (experimental) $cat test.cc int main () { int *ptr = new int[1]; return ptr[1]; } $g++ -o test test.cc -fsanitize=address -g $objcopy --only-keep-debug test test.debug $strip -g test $objcopy --add-gnu-debuglink=test.debug test ./test output: ... #0 0x4007af in main (/path/to/exe/test+0x4007af) ... The backtrace is not symbolized. Possible patch is attached. >From gcc-bugs-return-606778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 14:22:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111852 invoked by alias); 8 Jun 2018 14:22:19 -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 110445 invoked by uid 48); 8 Jun 2018 14:22:14 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/30373] Option for run-time checking for aliasing amoung dummy arguments Date: Fri, 08 Jun 2018 14:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: juergen.reuter at desy dot de 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: cc 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: 2018-06/txt/msg00573.txt.bz2 Content-length: 712 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30373 Jürgen Reuter changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juergen.reuter at desy dot de --- Comment #2 from Jürgen Reuter --- Stumbled over this via c.l.f. Reconfirmed with latest trunk (r260633). However, neither ifort nor NAG nor PGI detect any violation of the aliasing rules at run time. Of course, this is desirable, but somehow it looks questionable whether anybody puts this ever high enough on his or her priority list. >From gcc-bugs-return-606779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 14:31:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39919 invoked by alias); 8 Jun 2018 14:30:56 -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 34646 invoked by uid 48); 8 Jun 2018 14:30:41 -0000 From: "vasili.burdo at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86091] New: [fold expression] Slow compile time and high memory usage compared to initializer_list folds Date: Fri, 08 Jun 2018 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vasili.burdo at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: 2018-06/txt/msg00574.txt.bz2 Content-length: 5324 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86091 Bug ID: 86091 Summary: [fold expression] Slow compile time and high memory usage compared to initializer_list folds Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vasili.burdo at gmail dot com Target Milestone: --- Created attachment 44253 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44253&action=edit Test program Consider test program in attachment. This program tries to validate large (1000 entries) user-defined literal using c++17 fold expression - and its compile time is VERY slow. For c++ version earlier than c++17 fold is emulated using intitalizer_list - in this case compile time is MUCH better. Please note execution times and memory usage reported by `time' in invocation examples below. When compiled with command line (buggy behavior) "/usr/bin/time -v g++ -std=gnu++1z -Wall -Wextra -D BUG test.cpp" its output is: ---------------------------------------------------------- Command being timed: "g++ -std=gnu++1z -Wall -Wextra -D BUG test.cpp" User time (seconds): 30.40 System time (seconds): 1.72 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:32.12 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 6760368 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 1690547 Voluntary context switches: 13 Involuntary context switches: 42 Swaps: 0 File system inputs: 0 File system outputs: 136 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0 ---------------------------------------------------------- When compiled with command line (no `BUG' defined) "/usr/bin/time -v g++ -std=gnu++1z -Wall -Wextra test.cpp" its output is: ---------------------------------------------------------- Command being timed: "g++ -std=gnu++1z -Wall -Wextra test.cpp" User time (seconds): 0.14 System time (seconds): 0.02 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.16 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 47784 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 13603 Voluntary context switches: 12 Involuntary context switches: 5 Swaps: 0 File system inputs: 0 File system outputs: 880 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0 ---------------------------------------------------------- Compiler version (official Ubuntu GCC): ---------------------------------------------------------- Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) ---------------------------------------------------------- OS Version: ---------------------------------------------------------- Linux epbyminw0019t2 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux ---------------------------------------------------------- I tried multiple GCC versions starting from 5.3 to 8.0.0 on Ubuntu and Windows (MINGW) all of them have the same problem. >From gcc-bugs-return-606780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 14:46:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85603 invoked by alias); 8 Jun 2018 14:46: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85501 invoked by uid 48); 8 Jun 2018 14:46:22 -0000 From: "srinivas.sundar at vvdntech dot in" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] New: global constant pointer optimization Date: Fri, 08 Jun 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinivas.sundar at vvdntech dot in 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00575.txt.bz2 Content-length: 1075 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 Bug ID: 86092 Summary: global constant pointer optimization Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: srinivas.sundar at vvdntech dot in Target Milestone: --- Here is my sample kernel code. which works fine in gcc-4, had an issue with gcc-5. I get both the print even if I allocate the dynamic memory to kern_buff_p. Disassemble of code gives the constant variable is optimized in the If statement. Can you provide me any FLAG to disable this optimization with this constant pointers. static char* const kern_buff_p; static int __init hello_start(void) { if(!kern_buff_p) printk(KERN_INFO "buffer is NULL for first time \n"); *((char**)(unsigned long int)((&kern_buff_p)))=kmalloc(KERN_BUF_SIZE,GFP_KERNEL); if(!kern_buff_p) printk(KERN_INFO "buffer is NULL for second time \n"); } >From gcc-bugs-return-606781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 15:16:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30175 invoked by alias); 8 Jun 2018 15:16:03 -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 19215 invoked by uid 48); 8 Jun 2018 15:15:44 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82805] [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2 Date: Fri, 08 Jun 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-06/txt/msg00576.txt.bz2 Content-length: 744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin Jambor --- According to my latest GCC 8 measurements, we have caught up at some point in the final stages of GCC 8 development and in all but one option combination are noticeably faster than GCC 6. In the only case where we aren't (-O2 and generic march/mtune), we are not really slower (only 1%). So I'd consider this FIXED. >From gcc-bugs-return-606783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 15:16:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33224 invoked by alias); 8 Jun 2018 15:16:09 -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 28151 invoked by uid 48); 8 Jun 2018 15:15:59 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Fri, 08 Jun 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 resolution 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: 2018-06/txt/msg00578.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 82805, which changed state. Bug 82805 Summary: [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-606782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 15:16:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30809 invoked by alias); 8 Jun 2018 15:16: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20635 invoked by uid 48); 8 Jun 2018 15:15:47 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Fri, 08 Jun 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jamborm at gcc dot gnu.org 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: bug_status resolution 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: 2018-06/txt/msg00577.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 82805, which changed state. Bug 82805 Summary: [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-606784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 15:37:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126451 invoked by alias); 8 Jun 2018 15:37:24 -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 126362 invoked by uid 48); 8 Jun 2018 15:37:21 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines Date: Fri, 08 Jun 2018 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_file_loc 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: 2018-06/txt/msg00579.txt.bz2 Content-length: 538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc- |patches/2018-06/msg00421.ht |patches/2018-06/msg00482.ht |ml |ml --- Comment #6 from Peter Bergner --- Updated patch submitted. >From gcc-bugs-return-606785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:03:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34061 invoked by alias); 8 Jun 2018 16:03:06 -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 31196 invoked by uid 48); 8 Jun 2018 16:03:02 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] global constant pointer optimization Date: Fri, 08 Jun 2018 16:03: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 resolution 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: 2018-06/txt/msg00580.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- static char* const kern_buff_p; You told the compiler it is constant and won't change values and then you changed the value behind its back. I think the kernel has a write once attribute instead. >From gcc-bugs-return-606786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:08:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63188 invoked by alias); 8 Jun 2018 16:08:32 -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 63085 invoked by uid 48); 8 Jun 2018 16:08:27 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86089] [9 Regression] ICE in get_string_length, at tree-ssa-strlen.c:653 Date: Fri, 08 Jun 2018 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords component target_milestone short_desc 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: 2018-06/txt/msg00581.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86089 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Component|c |tree-optimization Target Milestone|--- |9.0 Summary|ICE in get_string_length, |[9 Regression] ICE in |at tree-ssa-strlen.c:653 |get_string_length, at | |tree-ssa-strlen.c:653 >From gcc-bugs-return-606787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:20:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53079 invoked by alias); 8 Jun 2018 16:20:26 -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 53016 invoked by uid 48); 8 Jun 2018 16:20:21 -0000 From: "srinivas.sundar at vvdntech dot in" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] global constant pointer optimization Date: Fri, 08 Jun 2018 16:20: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinivas.sundar at vvdntech dot in X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 2018-06/txt/msg00582.txt.bz2 Content-length: 470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 --- Comment #2 from Srinivas Achary --- Sorry that I am new to this..... Is there any possibility to make this code work, without changing the variable attribute. GCC-4 has no issue with this code. What special flags have been included in the GCC-5. During disassemble the if(!kern_buff_p) -- is changed to if x0 is kern_buff_p mov x0, #0 This should be mov x0,[x0] >From gcc-bugs-return-606788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:22:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56164 invoked by alias); 8 Jun 2018 16:22:21 -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 56049 invoked by uid 48); 8 Jun 2018 16:22:16 -0000 From: "srinivas.sundar at vvdntech dot in" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] global constant pointer optimization Date: Fri, 08 Jun 2018 16:22: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinivas.sundar at vvdntech dot in 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_status resolution 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: 2018-06/txt/msg00583.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 Srinivas Achary changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #3 from Srinivas Achary --- I have tried disabling all ipa FLAGS >From gcc-bugs-return-606789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:35:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95005 invoked by alias); 8 Jun 2018 16:35:06 -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 94942 invoked by uid 48); 8 Jun 2018 16:35:02 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] global constant pointer optimization Date: Fri, 08 Jun 2018 16:35: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 2018-06/txt/msg00584.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 --- Comment #4 from Marc Glisse --- (In reply to Srinivas Achary from comment #2) > Is there any possibility to make this code work, Remove the 'const', or add 'volatile'. > without changing the variable attribute. -O0 > GCC-4 has no issue with this code. What special flags > have been included in the GCC-5. We don't add a new flag for every little optimization that might break invalid code. >From gcc-bugs-return-606790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:40:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101011 invoked by alias); 8 Jun 2018 16:40:16 -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 100936 invoked by uid 48); 8 Jun 2018 16:40:12 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86093] New: volatile ignored on pointer in C Date: Fri, 08 Jun 2018 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-06/txt/msg00585.txt.bz2 Content-length: 617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093 Bug ID: 86093 Summary: volatile ignored on pointer in C Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target Milestone: --- extern char*volatile i; int f(){return i-i;} gets simplified in C as 1 load and return 0. In C++ or if i has a non-pointer type (say int), we do have 2 loads and a subtraction. >From gcc-bugs-return-606791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:41:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113600 invoked by alias); 8 Jun 2018 16:41:58 -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 107414 invoked by uid 48); 8 Jun 2018 16:41:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/86090] [ASAN] ASAN does not properly configure libbacktrace. Date: Fri, 08 Jun 2018 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-06/txt/msg00586.txt.bz2 Content-length: 320 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86090 --- Comment #1 from Jakub Jelinek --- Patches should be posted to gcc-patches mailing list. You could as well add the lstat and readlink to the same AC_CHECK_FUNCS as the other functions, no need for two AC_CHECK_FUNCS. LGTM otherwise. >From gcc-bugs-return-606792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 16:46:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106603 invoked by alias); 8 Jun 2018 16:46:19 -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 105092 invoked by uid 48); 8 Jun 2018 16:45:54 -0000 From: "srinivas.sundar at vvdntech dot in" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86092] global constant pointer optimization Date: Fri, 08 Jun 2018 16:46: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinivas.sundar at vvdntech dot in 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: 2018-06/txt/msg00587.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092 --- Comment #5 from Srinivas Achary --- thank you Marc. What I have shown here is just an example sample code. But I have code which makes use of kern_buff_p variable in many place.If I use volatile that might reduce my code speed. Any how the kern_buff_p initial value is NULL and the variable have been allocated the memory during runtime without any issue. The problem is during compilation, the compiler optimizes all my conditional statements used with this constant pointers. Due to this, I am not able to run my code in New machines. >From gcc-bugs-return-606793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 17:01:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130820 invoked by alias); 8 Jun 2018 17:01:44 -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 130731 invoked by uid 48); 8 Jun 2018 17:01:39 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/86093] [8/9 Regression] volatile ignored on pointer in C Date: Fri, 08 Jun 2018 17:01: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org 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: bug_status cf_reconfirmed_on cc cf_known_to_work short_desc everconfirmed cf_known_to_fail 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: 2018-06/txt/msg00588.txt.bz2 Content-length: 843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-08 CC| |amonakov at gcc dot gnu.org Known to work| |7.3.0 Summary|volatile ignored on pointer |[8/9 Regression] volatile |in C |ignored on pointer in C Ever confirmed|0 |1 Known to fail| |8.1.0, 9.0 --- Comment #1 from Alexander Monakov --- gcc-7 got this right. >From gcc-bugs-return-606794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 17:18:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126535 invoked by alias); 8 Jun 2018 17:18:28 -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 124965 invoked by uid 55); 8 Jun 2018 17:18:23 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines Date: Fri, 08 Jun 2018 17:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner 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: 2018-06/txt/msg00589.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 --- Comment #7 from Peter Bergner --- Author: bergner Date: Fri Jun 8 17:17:45 2018 New Revision: 261340 URL: https://gcc.gnu.org/viewcvs?rev=261340&root=gcc&view=rev Log: gcc/ PR target/85755 * config/rs6000/rs6000.c (mem_operand_gpr): Enable PRE_INC and PRE_DEC addresses. gcc/testsuite/ PR target/85755 * gcc.target/powerpc/pr85755.c: New test. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr85755.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 17:34:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9995 invoked by alias); 8 Jun 2018 17:34:49 -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 9937 invoked by uid 48); 8 Jun 2018 17:34:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63327] Poor caret location in error mesage Date: Fri, 08 Jun 2018 17:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc 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: 2018-06/txt/msg00590.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63327 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 CC| |kargl at gcc dot gnu.org --- Comment #5 from kargl at gcc dot gnu.org --- Add note to close PR in 2 years when I cycle back through. >From gcc-bugs-return-606797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 18:01:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59264 invoked by alias); 8 Jun 2018 18:01:34 -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 59032 invoked by uid 48); 8 Jun 2018 18:01:15 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86094] New: [8/9 Regression] Call ABI changed for small objects with defaulted ctor Date: Fri, 08 Jun 2018 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-06/txt/msg00592.txt.bz2 Content-length: 995 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86094 Bug ID: 86094 Summary: [8/9 Regression] Call ABI changed for small objects with defaulted ctor Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ABI, wrong-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org Target Milestone: --- When compiling the following with -O2 -std=c++11: struct S { S(S&&) = default; int i; }; S foo(S s) { return s; } gcc-7 and earlier emit _Z3foo1S: movl %edi, %eax ret but gcc-8 and trunk emit _Z3foo1S: movl (%rsi), %edx movq %rdi, %rax movl %edx, (%rdi) ret i.e. the object is now passed in memory rather than on register. This appears to be a silent ABI change. (Clang generates the same code as gcc-7) >From gcc-bugs-return-606796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 18:01:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58209 invoked by alias); 8 Jun 2018 18:01:00 -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 57913 invoked by uid 48); 8 Jun 2018 18:00:45 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85631] [8/9 Regression] Runtime error message array bound mismatch with nonzero optimization Date: Fri, 08 Jun 2018 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked 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: 2018-06/txt/msg00591.txt.bz2 Content-length: 2118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85631 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27766 --- Comment #3 from Thomas Koenig --- The bouns checking is inserted in the wrong place, before setting the descriptor: $ cat b.f90 module x contains subroutine sub(a) real, dimension(:,:), intent(in) :: a real, allocatable, dimension(:,:) :: var_1_mma var_1_mma = transpose(a) end subroutine sub end module x program main use x implicit none real, dimension(:,:), allocatable :: block_1 block_1 = reshape([-2,3,-5,7], [2,2]) call sub(block_1) end program $ grep mma b.f90.003t.original struct array02_real(kind=4) var_1_mma; var_1_mma.data = 0B; D.3809 = (real(kind=4)[0:] * restrict) var_1_mma.data; D.3810 = var_1_mma.offset; D.3811 = var_1_mma.dim[0].lbound; D.3812 = var_1_mma.dim[0].ubound; D.3813 = var_1_mma.dim[1].lbound; D.3814 = var_1_mma.dim[1].ubound; if ((integer(kind=8)) (D.3811 <= D.3812 && var_1_mma.dim[0].lbound > D.3811)) _gfortran_runtime_error_at (&"At line 6 of file b.f90"[1]{lb: 1 sz: 1}, &"Index \'%ld\' of dimension 1 of array \'var_1_mma\' outside of expected range (%ld:%ld)"[1]{lb: 1 sz: 1}, D.3811, var_1_mma.dim[0].lbound, var_1_mma.dim[0].ubound); ... var_1_mma.dim[0].lbound = 1; var_1_mma.dim[0].ubound = NON_LVALUE_EXPR ; var_1_mma.dim[0].stride = 1; var_1_mma.dim[1].lbound = 1; var_1_mma.dim[1].ubound = NON_LVALUE_EXPR ; var_1_mma.dim[1].stride = NON_LVALUE_EXPR ; As a matter of fact, we are taking the variables from the assignmemt, there should be no checking at all. Hmm... Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27766 [Bug 27766] [meta-bug] -fbounds-check related bugs >From gcc-bugs-return-606798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 18:41:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86554 invoked by alias); 8 Jun 2018 18:41:43 -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 86486 invoked by uid 48); 8 Jun 2018 18:41:37 -0000 From: "gianni at scaramanga dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85960] -fipa-pta and ifunc are incompatible Date: Fri, 08 Jun 2018 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gianni at scaramanga dot co.uk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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: 2018-06/txt/msg00593.txt.bz2 Content-length: 221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960 --- Comment #10 from Gianni Tedesco --- Confirmed. Code from trunk works splendidly on the code-base where this bug was discovered. >From gcc-bugs-return-606799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 18:54:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94240 invoked by alias); 8 Jun 2018 18:54:20 -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 83143 invoked by uid 55); 8 Jun 2018 18:54:15 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63514] functions containing volatile are considered pure Date: Fri, 08 Jun 2018 18:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu 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: 2018-06/txt/msg00594.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514 --- Comment #5 from Steve Kargl --- On Fri, Jun 08, 2018 at 03:40:40AM +0000, kargl at gcc dot gnu.org wrote: > There is, however, a bug with respect to F2018: > > C1588 A local variable of a pure subprogram, or of a BLOCK construct > within a pure subprogram, shall not have the SAVE or VOLATILE attribute. > A patch for the above has been submitted. https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00492.html >From gcc-bugs-return-606800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 19:06:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35916 invoked by alias); 8 Jun 2018 19:06:58 -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 35867 invoked by uid 55); 8 Jun 2018 19:06:53 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78571] ICE in create_character_initializer, at fortran/data.c:191 Date: Fri, 08 Jun 2018 19:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: 2018-06/txt/msg00595.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78571 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Jun 8 19:06:20 2018 New Revision: 261343 URL: https://gcc.gnu.org/viewcvs?rev=261343&root=gcc&view=rev Log: 2018-06-08 Steven G. Kargl PR fortran/78571 * data.c (create_character_initializer): Return early if type is incompatible with CHARACTER. 2018-06-08 Steven G. Kargl PR fortran/78571 * gfortran.dg/pr78571.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr78571.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/data.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 19:11:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42339 invoked by alias); 8 Jun 2018 19:11:59 -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 42267 invoked by uid 55); 8 Jun 2018 19:11:54 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86059] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others) Date: Fri, 08 Jun 2018 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 2018-06/txt/msg00596.txt.bz2 Content-length: 1010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86059 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Jun 8 19:11:21 2018 New Revision: 261344 URL: https://gcc.gnu.org/viewcvs?rev=261344&root=gcc&view=rev Log: 2018-06-08 Steven G. Kargl PR fortran/86059 * array.c (match_array_cons_element): NULL() cannot be in an array constructor. 2018-06-08 Steven G. Kargl PR fortran/86059 * gfortran.dg/associate_30.f90: Remove code tested ... * gfortran.dg/pr67803.f90: Ditto. * gfortran.dg/pr67805.f90: Ditto. * gfortran.dg/pr86059.f90: ... here. New test. Added: trunk/gcc/testsuite/gfortran.dg/pr86059.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/associate_30.f90 trunk/gcc/testsuite/gfortran.dg/pr67803.f90 trunk/gcc/testsuite/gfortran.dg/pr67805.f90 >From gcc-bugs-return-606802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 19:39:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57489 invoked by alias); 8 Jun 2018 19:39:28 -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 57449 invoked by uid 48); 8 Jun 2018 19:39:23 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78278] ICE in gfc_wide_memset, at fortran/scanner.c:153 Date: Fri, 08 Jun 2018 19:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: cc 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: 2018-06/txt/msg00597.txt.bz2 Content-length: 1687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78278 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Gerhard Steinmetz from comment #0) > Down to at least 4.8 : > > $ cat z1.f90 > program p > character, pointer :: x => null() > data x /null()/ > end > > $ gfortran-7-20161106 z1.f90 > f951: internal compiler error: Segmentation fault > 0xc3a64f crash_signal > ../../gcc/toplev.c:338 > 0x700690 gfc_wide_memset(unsigned int*, unsigned int, unsigned long) > ../../gcc/fortran/scanner.c:153 > 0x67741d create_character_initializer > ../../gcc/fortran/data.c:195 > 0x67741d gfc_assign_data_value(gfc_expr*, gfc_expr*, __mpz_struct*, > __mpz_struct (*) [1]) > ../../gcc/fortran/data.c:488 > 0x6f12a9 check_data_variable > ../../gcc/fortran/resolve.c:15001 > 0x6f12a9 traverse_data_var > ../../gcc/fortran/resolve.c:15130 > 0x6fbc91 resolve_data > ../../gcc/fortran/resolve.c:15185 > 0x6fbc91 resolve_types > ../../gcc/fortran/resolve.c:15939 > 0x6f76ac gfc_resolve(gfc_namespace*) > ../../gcc/fortran/resolve.c:16027 > 0x6e1bba resolve_all_program_units > ../../gcc/fortran/parse.c:5883 > 0x6e1bba gfc_parse_file() > ../../gcc/fortran/parse.c:6130 > 0x725822 gfc_be_parse_file > ../../gcc/fortran/f95-lang.c:198 This now compiles with trunk. I cannot force the error message with -std=f95 (or any other -std= option). >From gcc-bugs-return-606803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 19:59:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3267 invoked by alias); 8 Jun 2018 19:59:29 -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 3199 invoked by uid 48); 8 Jun 2018 19:59:25 -0000 From: "gcc at ryandesign dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1]) Date: Fri, 08 Jun 2018 19:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at ryandesign 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: 2018-06/txt/msg00598.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092 --- Comment #15 from Ryan Schmidt --- Yes, I noticed Homebrew had the update, and I didn't understand why it worked there. But now I do. Some more information has turned up in a new MacPorts ticket: https://trac.macports.org/ticket/56521 In MacPorts gcc ports, we use --with-as=/opt/local/bin/as (this assembler is provided by our cctools port). This change was made in MacPorts 6 years ago by Jeremy who reported this bug, though I'm not entirely sure why. I suspect the problem is that our cctools port is currently at version 895, which corresponds to what's in Xcode 8.1, and that's apparently too old to work properly in this case. I am able to get a more recent snapshot to build if I instead use --with-as=/usr/bin/as, so perhaps we either need to do that in MacPorts or we need to update our cctools port to a more recent version. >From gcc-bugs-return-606804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 20:58:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24618 invoked by alias); 8 Jun 2018 20:58:37 -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 24576 invoked by uid 48); 8 Jun 2018 20:58:33 -0000 From: "sshannin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/86095] New: stale documentation for -Wunsafe-loop-optimizations Date: Fri, 08 Jun 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sshannin at gmail 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: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00599.txt.bz2 Content-length: 977 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86095 Bug ID: 86095 Summary: stale documentation for -Wunsafe-loop-optimizations Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sshannin at gmail dot com Target Milestone: --- For the man page shipped with 8.1.0, the description of -Wunsafe-loop-optimizations still references the -funsafe-loop-optimizations option, however that optimization is neither described nor referenced anywhere else in the documentation. I dug up https://gcc.gnu.org/ml/gcc-patches/2016-07/threads.html#00956, which seems to indicate the option was removed. It does not appear however that the documentation for the warning was updated to reflect this (nor was Richard's suggested alias added, which may have also cleared up confusion). >From gcc-bugs-return-606805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 22:04:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16318 invoked by alias); 8 Jun 2018 22:04:48 -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 16264 invoked by uid 55); 8 Jun 2018 22:04:43 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85631] [8/9 Regression] Runtime error message array bound mismatch with nonzero optimization Date: Fri, 08 Jun 2018 22:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2018-06/txt/msg00600.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85631 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Fri Jun 8 22:04:11 2018 New Revision: 261348 URL: https://gcc.gnu.org/viewcvs?rev=261348&root=gcc&view=rev Log: 2018-06-08 Thomas Koenig PR fortran/85631 * trans.h (gfc_ss): Add field no_bounds_check. * trans-array.c (gfc_conv_ss_startstride): If flag_realloc_lhs and ss->no_bounds_check is set, do not use runtime checks. * trans-expr.c (gfc_trans_assignment_1): Set lss->no_bounds_check for reallocatable lhs. 2018-06-08 Thomas Koenig PR fortran/85631 * gfortran.dg/bounds_check_20.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/bounds_check_20.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans.h trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-606806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 22:06:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19973 invoked by alias); 8 Jun 2018 22:06:29 -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 19899 invoked by uid 48); 8 Jun 2018 22:06:25 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/86095] stale documentation for -Wunsafe-loop-optimizations Date: Fri, 08 Jun 2018 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org 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: keywords bug_status cf_reconfirmed_on cc everconfirmed 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: 2018-06/txt/msg00601.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86095 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-08 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager --- Confirmed. >From gcc-bugs-return-606807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 08 23:21:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81928 invoked by alias); 8 Jun 2018 23:21:58 -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 81877 invoked by uid 48); 8 Jun 2018 23:21:53 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libffi/84410] libffi doesn't support riscv now, but not disabled in configure.ac Date: Fri, 08 Jun 2018 23:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libffi X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 resolution 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: 2018-06/txt/msg00602.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84410 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jim Wilson --- libffi builds now, and so does libgo compiler. So fixed for GCC 9. >From gcc-bugs-return-606808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 00:47:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63593 invoked by alias); 9 Jun 2018 00:46:59 -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 63494 invoked by uid 48); 9 Jun 2018 00:46:54 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46783] [OOP] TRANSFER with polymorphic MOLDDate: Sat, 09 Jun 2018 00:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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 cc resolution 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: 2018-06/txt/msg00603.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46783 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #3) > > Updated link > > > > http://mailman.j3-fortran.org/pipermail/j3/2010-December/004026.html > > Broken again!-( > > And I cannot find anything relevant in > > https://mailman.j3-fortran.org/doc/year/10 > > AFAICT the situation has not changed in F2018. > > What should we do with this PR? All of the URLs are broken in this PR. Without a testcase that demonstrates the bug, this PR is useless. Closing. >From gcc-bugs-return-606809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 00:47:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63634 invoked by alias); 9 Jun 2018 00:47:00 -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 63535 invoked by uid 48); 9 Jun 2018 00:46:55 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic Date: Sat, 09 Jun 2018 00:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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: bug_status resolution 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: 2018-06/txt/msg00604.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237 Bug 31237 depends on bug 46783, which changed state. Bug 46783 Summary: [OOP] TRANSFER with polymorphic MOLD= https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46783 What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WONTFIX >From gcc-bugs-return-606810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 01:27:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78758 invoked by alias); 9 Jun 2018 01:27:55 -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 78694 invoked by uid 48); 9 Jun 2018 01:27:50 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/86070] [7 regression] gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077 Date: Sat, 09 Jun 2018 01:27: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: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-06/txt/msg00605.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86070 --- Comment #2 from Jerry DeLisle --- Well I am not seeing this on gcc112, so will try on gcc110. Bill were your tests on a gcc compile farm machine? >From gcc-bugs-return-606811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 03:06:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17733 invoked by alias); 9 Jun 2018 03:06:24 -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 17655 invoked by uid 48); 9 Jun 2018 03:06:20 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86096] New: ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0) Date: Sat, 09 Jun 2018 03:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: 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: 2018-06/txt/msg00606.txt.bz2 Content-length: 3504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096 Bug ID: 86096 Summary: ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-checking, ice-on-invalid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu* Created attachment 44254 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44254&action=edit Reduced testcase gcc-9.0.0-alpha20180603 snapshot (r261132) ICEs when compiling the attached snippet w/ -misel -Os -floop-parallelize-all -frename-registers -fno-caller-saves -fno-gcse -fno-isolate-erroneous-paths-dereference -fno-split-wide-types -fno-tree-dominator-opts -fno-tree-vrp -g: % powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20180603 -misel -Os -floop-parallelize-all -frename-registers -fno-caller-saves -fno-gcse -fno-isolate-erroneous-paths-dereference -fno-split-wide-types -fno-tree-dominator-opts -fno-tree-vrp -g -c layafnq7.c layafnq7.c: In function 'os': layafnq7.c:43:1: error: qsort comparator non-negative on sorted output: 0 } ^ during RTL pass: rnreg layafnq7.c:43:1: internal compiler error: qsort checking failed 0x58cb34 qsort_chk_error /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/vec.c:201 0x15576f9 qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/vec.c:253 0x7b406a vec::qsort(int (*)(void const*, void const*)) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/vec.h:1099 0x7b406a vec::qsort(int (*)(void const*, void const*)) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/vec.h:1862 0x7b406a df_sort_and_compress_mws /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:2252 0x7b406a df_canonize_collection_rec /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:2281 0x7b65cd df_insn_refs_collect /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:3223 0x7b6a2f df_insn_refs_verify /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:4082 0x7b892f df_insn_rescan(rtx_insn*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:1065 0x7bad9c df_process_deferred_rescans() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-scan.c:1246 0x7a175f df_finish_pass(bool) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/df-core.c:651 >From gcc-bugs-return-606812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 08:06:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99408 invoked by alias); 9 Jun 2018 08:06:20 -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 99346 invoked by uid 48); 9 Jun 2018 08:06:11 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85839] [F2018] warn for obsolescent features Date: Sat, 09 Jun 2018 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-06/txt/msg00607.txt.bz2 Content-length: 240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85839 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to janus from comment #0) > * specific names for standard intrinsic functions After r260705, only this one is still missing. >From gcc-bugs-return-606813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 09:17:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66675 invoked by alias); 9 Jun 2018 09:17:58 -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 66268 invoked by uid 48); 9 Jun 2018 09:17:53 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85088] improve diagnostic for bad INTENT declaration ('Invalid character in name at') Date: Sat, 09 Jun 2018 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone 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: 2018-06/txt/msg00608.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85088 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gnu.org Target Milestone|8.2 |9.0 >From gcc-bugs-return-606814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 10:59:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106100 invoked by alias); 9 Jun 2018 10:59:52 -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 106018 invoked by uid 48); 9 Jun 2018 10:59:44 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86096] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0) Date: Sat, 09 Jun 2018 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org 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: bug_status cf_reconfirmed_on cc everconfirmed 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: 2018-06/txt/msg00609.txt.bz2 Content-length: 835 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-09 CC| |amonakov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Alexander Monakov --- df_mw_compare has: if (mw1->mw_reg != mw2->mw_reg) return mw1->mw_order - mw2->mw_order; Note mw_reg in the 'if' vs mw_order in the 'return'. This is invalid. It's simpler and more efficient to just use mw_order as the last tie-breaker regardless of mw_reg value. >From gcc-bugs-return-606815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 13:01:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98917 invoked by alias); 9 Jun 2018 13:01: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98248 invoked by uid 48); 9 Jun 2018 13:00:59 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86097] New: [9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types) Date: Sat, 09 Jun 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-06/txt/msg00610.txt.bz2 Content-length: 1826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 Bug ID: 86097 Summary: [9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-9.0.0-alpha20180603 snapshot (r261132) ICEs when compiling the following snippet w/ -O2 (-O3, -Ofast) -ftree-parallelize-loops=2 -fno-tree-dce: int rp, vd; void p5 (int cd) { while (cd != 0) { for (rp = 0; rp < 4; ++rp) for (vd = 0; vd < 1; ++vd) { g0: ; } ++rp; } while (rp < 2) { for (cd = 0; cd < 1; ++cd) for (rp = 1; rp != 0; ++rp) { } ++rp; } if (cd != 0) goto g0; } % gcc-9.0.0-alpha20180603 -O2 -ftree-parallelize-loops=2 -fno-tree-dce -w -c ipszbgfg.c ipszbgfg.c: In function 'p5': ipszbgfg.c:4:1: error: mismatching comparison operand types p5 (int cd) ^~ signed int unsigned int if (ivtmp_32 < 3) during GIMPLE pass: parloops ipszbgfg.c:4:1: internal compiler error: verify_gimple failed 0xce3929 verify_gimple_in_cfg(function*, bool) /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tree-cfg.c:5401 0xbbecff execute_function_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/passes.c:1994 0xbbfc4e execute_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/passes.c:2048 >From gcc-bugs-return-606816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 09 13:38:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26080 invoked by alias); 9 Jun 2018 13:38:34 -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 26008 invoked by uid 48); 9 Jun 2018 13:38:28 -0000 From: "eric.niebler at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86098] New: [concepts] canonical types differ for identical types Date: Sat, 09 Jun 2018 13:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric.niebler at gmail 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: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-06/txt/msg00611.txt.bz2 Content-length: 1485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86098 Bug ID: 86098 Summary: [concepts] canonical types differ for identical types Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eric.niebler at gmail dot com Target Milestone: --- Compile with -std=c++2a -O3 -fconcepts namespace std { template class future; template class promise; } template T&& declval() requires true; template void declval(); template