[committed] wwwdocs: Rework note on spam to be more concise.

2020-08-08 Thread Gerald Pfeifer
In 1998 Jeff created this as a dump from an e-mail (hence all the contents in a environment). Since then we haven't really change any contents, though it's interesting to review the commit log which reflects general changes around our web site (to XHTML, later reducing preprocessing, now HTML

gcc.dg/pr44194-1.c: Skip for mmix.

2020-08-08 Thread Hans-Peter Nilsson
Committed. The test makes sense only for targets that return the "struct { int a, b, c; }" in registers (not in memory). Starting a skip-construct is IMHO better than another iteration of that obscuring "{ ... && { ! mytarget-*-* } }". New targets can just append to the list without additional

gcc.dg/pr30957-1.c: xfail for mmix.

2020-08-08 Thread Hans-Peter Nilsson
Committed. IV (loop2_unroll) doesn't like the mmix port. The feelings are mutual. For mmix, gcc.dg/pr30957-1.c fails (runtime and rtl-scan) for these reasons: - IV doesn't handle the zero-extension-by-shift sequences generated by middle-end (expr.c:convert_mode_scalar) in the absence of

[Bug rtl-optimization/96539] New: Unnecessary no-op copy with Os and tail call with struct argument

2020-08-08 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96539 Bug ID: 96539 Summary: Unnecessary no-op copy with Os and tail call with struct argument Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/96538] Integer overflow when there are multiple operands in addition operation.

2020-08-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96538 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

gcc-10-20200808 is now available

2020-08-08 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200808 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200808/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: [PATCH] rs6000: Don't ICE when spilling an MMA accumulator

2020-08-08 Thread Peter Bergner via Gcc-patches
On 8/6/20 10:29 AM, Peter Bergner wrote: > On 8/5/20 6:06 PM, Segher Boessenkool wrote: > Ok, updated patch pushed to trunk. I'll push to GCC10 after a day or two. And now pushed to GCC 10. Peter

[Bug target/96446] ICE when spilling an MMA accumulator

2020-08-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96446 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:38b240a9dc7186a51e577dd3ff73c31af3cfb0ab commit r10-8594-g38b240a9dc7186a51e577dd3ff73c31af3cfb0ab Author: Peter Bergner

10-12% performance decrease in benchmark going from GCC8 to GCC9

2020-08-08 Thread Soul Studios
Hi all, recently have been working on a new version of the plf::colony container (plflib.org) and found GCC9 was giving 10-12% worse performance on a given benchmark than GCC8. Previous versions of the colony container did not experience this performance loss going from GCC8 to GCC9. However

[Bug bootstrap/96492] : internal compiler error: Segmentation fault

2020-08-08 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96492 --- Comment #5 from Rich Townsend --- So, given that gcc 4.1.2 is really ancient, I've tried building 10.2 using gcc 9.3.0 instead (but still inside the Docker container). This builds fine, and in fact I'm happy to go with this workaround.

Re: Changes to allow PowerPC to change the long double type to use the IEEE 128-bit floating point format

2020-08-08 Thread Thomas König
Just another thought. In Fortran, we have the possibility to define KIND numbers for numeric types however we want. So, it would be no problem to have two long double types with distinct kind numbers, let's say KIND=16 for one type and KIND=17 for the other. We can then let selected_real_kind

[Bug c++/96538] Integer overflow when there are multiple operands in addition operation.

2020-08-08 Thread prateek_kd at yahoo dot co.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96538 --- Comment #1 from Prateek Khade --- (In reply to Prateek Khade from comment #0) > I am trying to add int values present in the vector and store in long int > type variable. If I am using for loop for calculating the sum of vector > elements

[Bug c++/96538] New: Integer overflow when there are multiple operands in addition operation.

2020-08-08 Thread prateek_kd at yahoo dot co.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96538 Bug ID: 96538 Summary: Integer overflow when there are multiple operands in addition operation. Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug target/96530] MMA built-ins reject typedefs of MMA types

2020-08-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 Peter Bergner changed: What|Removed |Added Target Milestone|--- |10.3 --- Comment #3 from Peter Bergner

Re: [PATCH] rs6000: MMA built-ins reject typedefs of MMA types

2020-08-08 Thread Peter Bergner via Gcc-patches
On 8/7/20 8:59 PM, Peter Bergner wrote: > On 8/7/20 6:52 PM, Segher Boessenkool wrote: >> Okay for trunk if that is true (or with the necessary adjustments), and >> okay for 10 after letting it soak for a bit. Thanks! > > Ok, I did s/element_mode/TYPE_MODE/g here and am retesting. > I'll commit

[Bug target/96530] MMA built-ins reject typedefs of MMA types

2020-08-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:e2882e76089cecdc268d0835c54cabfa80b5b0be commit r11-2616-ge2882e76089cecdc268d0835c54cabfa80b5b0be Author: Peter Bergner Date:

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-08 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #35 from Ian Lance Taylor --- I don't know that anybody has looked at the BSD support recently. Thanks for your efforts. I agree that this is work for a programmer.

[Bug c++/96537] Missing std::pair constructor

2020-08-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96537 Tom de Vries changed: What|Removed |Added Known to work||7.5.0 Target Milestone|---

[Bug c++/96537] New: Missing std::pair constructor

2020-08-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96537 Bug ID: 96537 Summary: Missing std::pair constructor Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings

2020-08-08 Thread jussilehtola at fedoraproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #28 from Susi Lehtola --- Harald, Andreas, thanks for clarifying: yes, "crash" == Fortran runtime error. The program should run just fine, since the return array has the proper size given by get_environment_variable. Instead, it ends

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-08 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #34 from Curtis Hamilton --- Do you know if anyone has actively worked on the BSD code recently? I'm abandoning my effort go get this working on freebsd. I'm not a really a programmer and this is beyond my meager abilities. So

[Bug fortran/96101] [9/10/11 Regression] ICE in fold_convert_loc, at fold-const.c:2398

2020-08-08 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96101 --- Comment #2 from Paul Thomas --- (In reply to Martin Liška from comment #1) > Started with r6-3986-g38217d3ee7c6e1fe. Hi Martin, As Gerhardt says, it compiles OK with version 7.4.1 20191027. The patch you reference is dated 2015-10-18!

[Bug fortran/96312] [10/11 Regression] Reallocation on assignment uses undefined variables

2020-08-08 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96312 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug target/96532] [m68k] gcc 10.x generates calls to memset even for very small amounts

2020-08-08 Thread czietz at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532 Christian Zietz changed: What|Removed |Added CC||czietz at gmx dot net --- Comment #5

Re: Changes to allow PowerPC to change the long double type to use the IEEE 128-bit floating point format

2020-08-08 Thread H.J. Lu via Gcc
On Fri, Aug 7, 2020 at 1:57 PM Michael Meissner via Gcc wrote: > > I want to discuss changes that I think we need to make across the open source > toochain to allow us to change the long double type on PowerPC hardware from > using the IBM extended double (i.e. a pair of doubles) to the IEEE

[Bug target/96532] [m68k] gcc 10.x generates calls to memset even for very small amounts

2020-08-08 Thread ad...@tho-otto.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532 --- Comment #4 from Thorsten Otto --- Might be caused by x86 and s390 having a machine dependant pattern for setmem/cpymem, possibly eliminating the library call again, while other target's don't have such a pattern.

Re: Changes to allow PowerPC to change the long double type to use the IEEE 128-bit floating point format

2020-08-08 Thread Thomas König
Hi Michael, I have shortened the distribution list somewhat for the Fortran-relevant parts. I want to discuss changes that I think we need to make across the open source toochain to allow us to change the long double type on PowerPC hardware from using the IBM extended double (i.e. a pair of

[Bug tree-optimization/96424] ICE: verify_flow_info failed (error: wrong outgoing edge flags at end of bb 23); or ICE: Segmentation fault (in expand_omp_for_init_vars/contains_struct_check)

2020-08-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96424 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/96536] New: -fcf-protection code in i386.md:restore_stack_nonlocal uses invalid compare-and-jump rtl

2020-08-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96536 Bug ID: 96536 Summary: -fcf-protection code in i386.md:restore_stack_nonlocal uses invalid compare-and-jump rtl Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96535] New: GCC 10 ignoring function __attribute__ optimize for all x86

2020-08-08 Thread danielhanchen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96535 Bug ID: 96535 Summary: GCC 10 ignoring function __attribute__ optimize for all x86 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[PATCH] c++; Fix constexpr evaluation of SPACESHIP_EXPR [PR96497]

2020-08-08 Thread Jakub Jelinek via Gcc-patches
Hi! The following valid testcase is rejected, because cxx_eval_binary_expression is called on the SPACESHIP_EXPR with lval = true, as the address of the spaceship needs to be passed to a method call. After recursing on the operands and calling genericize_spaceship which turns it into a

[committed] openmp: Handle clauses with gimple sequences in convert_nonlocal_omp_clauses properly [PR93553]

2020-08-08 Thread Jakub Jelinek via Gcc-patches
Hi! On Mon, Aug 03, 2020 at 07:44:12PM +0200, Jakub Jelinek via Gcc-patches wrote: > Can you try that? Or do you want me to try? If the walk_body on the various sequences of reduction, lastprivate and/or linear clauses needs to create a temporary variable, we should declare that variable in

[committed] openmp: Avoid floating point comparison at the end of bb with -fnon-call-exceptions [PR96424]

2020-08-08 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs with -fexceptions -fnon-call-exceptions because in that mode floating point comparisons should not be done at the end of bb in GIMPLE_COND. Fixed by forcing it into a bool SSA_NAME and comparing that against false. Bootstrapped/regtested on x86_64-linux and

[Bug fortran/93553] ICE in scan_omp_1_op, at omp-low.c:3485

2020-08-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93553 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:676b5525e8333005bdc1c596ed086f1da27a450f commit r11-2615-g676b5525e8333005bdc1c596ed086f1da27a450f Author: Jakub Jelinek Date:

[Bug tree-optimization/96424] ICE: verify_flow_info failed (error: wrong outgoing edge flags at end of bb 23); or ICE: Segmentation fault (in expand_omp_for_init_vars/contains_struct_check)

2020-08-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96424 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:87d6dae308d604bad111b1c0bfea7835888eed8d commit r11-2614-g87d6dae308d604bad111b1c0bfea7835888eed8d Author: Jakub Jelinek Date:

[Bug target/96532] [m68k] gcc 10.x generates calls to memset even for very small amounts

2020-08-08 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

Re: [PATCH 3/4] ivopts: Consider cost_step on different forms during unrolling

2020-08-08 Thread Bin.Cheng via Gcc-patches
Hi Kewen, Sorry for the late reply. The patch's most important change is below cost computation: > @@ -5890,6 +5973,10 @@ determine_iv_cost (struct ivopts_data *data, struct > iv_cand *cand) > cost_step = add_cost (data->speed, TYPE_MODE (TREE_TYPE (base))); > cost = cost_step +

Re: Simplify X * C1 == C2 with undefined overflow

2020-08-08 Thread Jakub Jelinek via Gcc-patches
On Fri, Aug 07, 2020 at 11:36:59PM +0200, Marc Glisse wrote: > > > https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm is the most > > > common way to compute the modular multiplicative inverse of a number. For > > > 3 > > > and 2^32, it could tell us that 2863311531*3-2*2^32=1, so modulo

[Bug c++/92139] Segmentation fault on constraints verification

2020-08-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92139 --- Comment #3 from Mateusz Pusz --- Oh sorry, it seems I forgot to attach a preprocessed file. I am not able to find it now so please close this issue. Sorry for the trouble. Best Mat pt., 7 sie 2020, 18:52 użytkownik redi at gcc dot