[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > The Java front-end used to have option which caused the front-end to emit > the throw/trap for the division by zero which was turned off for a few > targets (I

[PATCH] ranger: Fix up wi_fold_in_parts for small precision types [PR104334]

2022-02-02 Thread Jakub Jelinek via Gcc-patches
Hi! The wide-int.h templates expect that when an int/long etc. operand is used it will be sign-extended based on the types precision. wi_fold_in_parts passes 3 such non-zero constants to wi::lt_p, wi::gt_p and wi::eq_p - 1, 3 and 4, which means it was doing weird things if either some of 1, 3 or

[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > (In reply to Richard Biener from comment #2) > > Of course integer division might be special enough to single out as IIRC > > all CPUs trap on that (I'm sure

[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > Of course integer division might be special enough to single out as IIRC > all CPUs trap on that (I'm sure somebody knows one that does not...). MIPS backend

[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

2022-02-02 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104335 --- Comment #4 from rdapp at linux dot ibm.com --- Hi Segher, originally ifcvt would only pass e.g. (unle (reg:SF 129 [ _29 ]) (reg/v:SF 118 [ highScore ])) as condition to rs6000_emit_cmove via emit_conditional_move (). (This is the

Re: [PATCH] match.pd: Fix up 1 / X for unsigned X optimization [PR104280]

2022-02-02 Thread Richard Biener via Gcc-patches
On Thu, 3 Feb 2022, Eric Botcazou wrote: > > Since I didn't see anyone responding to this problem, I filed PR > > 104356 to record the regression. > > And yes this should be handled correctly. > > Thanks. Note that we have an example of this in libgcc/libgcc2.c too. I assumed this was handled

[Bug target/104090] [10/11/12 Regression] powerpc: asm machine directive wrong for FSL processors

2022-02-02 Thread sebastian.huber--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104090 Sebastian Huber changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/104090] [10/11/12 Regression] powerpc: asm machine directive wrong for FSL processors

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104090 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:d568abb25fc799123168aac840372b28bb81f85d commit r10-10435-gd568abb25fc799123168aac840372b28bb81f85d Author: Sebastian

[Bug target/104327] [12 Regression] Inlining error on s390x since r12-1039

2022-02-02 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104327 --- Comment #5 from Andreas Krebbel --- Yes, that's the right fix I think. Thanks! MVCLE is a shorter version of a loop doing MVCs but has some startup overhead.

[Bug c++/88164] Lambda is allowed to capture any constexpr variable without specifying any captures

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88164 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-03 Ever confirmed|0

[Bug c++/88164] Copy initialization of function argument not performed inside lambda when the argument is a constexpr block scope variable.

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88164 Andrew Pinski changed: What|Removed |Added CC||dragondreamer at live dot com ---

[Bug c++/95269] Lambda is allowed to capture any constexpr variable without specifying any captures

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95269 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/88164] Copy initialization of function argument not performed inside lambda when the argument is a constexpr block scope variable.

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88164 --- Comment #1 from Andrew Pinski --- For test, clang rejects it with: :15:18: error: variable 'a' cannot be implicitly captured in a lambda with no capture-default specified return f(a); // Unexpected: does not call the copy

[Bug tree-optimization/50856] ARM: suboptimal code for absolute difference calculation

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50856 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization

[Bug analyzer/104247] Compiler warnings on 32-bit system

2022-02-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104247 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/104302] [12 Regression] ICE Segmentation fault since r12-6825-g2da90ad39bf8fa9e

2022-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104302 Jason Merrill changed: What|Removed |Added Depends on||55227 Resolution|---

[PATCH] c++: dependent array bounds completion [PR104302]

2022-02-02 Thread Jason Merrill via Gcc-patches
The patch for PR55227 changed the minimal init-list handling in cp_complete_array_type to a call to reshape_init, which broke on the dependent initializer. It occurred to me that trying to deduce the array size from a dependent init-list is wrong in general, as we can see with the second

[Bug c++/104302] [12 Regression] ICE Segmentation fault since r12-6825-g2da90ad39bf8fa9e

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104302 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:501c4ee9fad68716497db4d96b63b801cc57b4a1 commit r12-7010-g501c4ee9fad68716497db4d96b63b801cc57b4a1 Author: Jason Merrill Date:

[PATCH v2] tree-optimization/94899: Remove "+ 0x80000000" in int comparisons

2022-02-02 Thread Arjun Shankar via Gcc-patches
Expressions of the form "X + CST < Y + CST" where: * CST is an unsigned integer constant with only the MSB set, and * X and Y's types have integer conversion ranks <= CST's can be simplified to "(signed) X < (signed) Y". This is because, assuming a 32-bit signed numbers, (unsigned) INT_MIN +

[Bug c++/104359] GCC Treats bool with value != 1 as falsey when picking branches

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug tree-optimization/104360] Failure to optimize abs pattern (x^(x<0?-1:0)) - (x<0?-1:0)

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104360 --- Comment #2 from Andrew Pinski --- Note it is easier to detect the vector version of this though: isN_3 = x_2(D) < { 0, 0, 0, 0, 0, 0, 0, 0 }; x_4 = x_2(D) ^ isN_3; _5 = x_4 - isN_3; Pattern here: (minus @0 (bit_xor:c @0 (lt@1 @0

[Bug c++/104359] GCC Treats bool with value != 1 as falsey when picking branches

2022-02-02 Thread will at willusher dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359 --- Comment #2 from Will Usher --- Oh gotcha, then this can be closed.

[Bug tree-optimization/104360] Failure to optimize abs pattern (x^(x<0?-1:0)) - (x<0?-1:0)

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104360 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug tree-optimization/104360] New: Failure to optimize abs pattern on vector types

2022-02-02 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104360 Bug ID: 104360 Summary: Failure to optimize abs pattern on vector types Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104359] GCC Treats bool with value != 1 as falsey when picking branches

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/104359] New: GCC Treats bool with value != 1 as falsey when picking branches

2022-02-02 Thread will at willusher dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359 Bug ID: 104359 Summary: GCC Treats bool with value != 1 as falsey when picking branches Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104319] better error message for parsing error when >= or >> ends a template variable.

2022-02-02 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104319 --- Comment #6 from qingzhe huang --- But clang can give similar clear message by pointing out the space. Just like ">>" instead "> >" after c++98, I think GCC can do better to recognize ">>=" is possible of "> >=". Just considering even though

[Bug c++/104358] New: Assignable template lambda as function parameter is incorrectly reduced to type of "int"

2022-02-02 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104358 Bug ID: 104358 Summary: Assignable template lambda as function parameter is incorrectly reduced to type of "int" Product: gcc Version: 12.0 Status: UNCONFIRMED

[committed] Correct typos in -Wuse-after-free description.

2022-02-02 Thread Martin Sebor via Gcc-patches
I committed r12-7009 to fix a couple of typos in the description of the option. https://gcc.gnu.org/pipermail/gcc-cvs/2022-February/360083.html Martin

[Bug tree-optimization/104357] Failure to use csinv instead of mvn+csel where possible

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104357 Andrew Pinski changed: What|Removed |Added Summary|[Aarch64] Failure to use|Failure to use csinv

[Bug tree-optimization/104357] [Aarch64] Failure to use csinv instead of mvn+csel where possible

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104357 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/104357] [Aarch64] Failure to use csinv instead of mvn+csel where possible

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104357 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[committed] wwwdocs: gcc-4.5: Update link to MPC

2022-02-02 Thread Gerald Pfeifer
This is on top of Martin's changes. Pushed. Gerald --- htdocs/gcc-4.5/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-4.5/changes.html b/htdocs/gcc-4.5/changes.html index c141a4d9..5181bae8 100644 --- a/htdocs/gcc-4.5/changes.html +++

[Bug c++/100588] Destroying delete shouldn't be called if constructor throws

2022-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100588 Jason Merrill changed: What|Removed |Added Known to work||12.0 --- Comment #2 from Jason Merrill

[Bug target/104357] New: [Aarch64] Failure to use csinv instead of mvn+csel where possible

2022-02-02 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104357 Bug ID: 104357 Summary: [Aarch64] Failure to use csinv instead of mvn+csel where possible Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104300] [12 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2977 since r12-6326-ge948436eab818c52

2022-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104300 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[PATCH 3/3] Enable pointer_query caching for -Wrestrict.

2022-02-02 Thread Martin Sebor via Gcc-patches
The third patch in the series adds a pointer_query instance to the wrestrict pass and uses it for each invocation to check a function. gcc/ChangeLog: * gimple-ssa-warn-restrict.cc (class pass_wrestrict): Outline ctor. (pass_wrestrict::m_ptr_qry): New member.

[PATCH 2/3] Enable pointer_query caching for -Warray-bounds.

2022-02-02 Thread Martin Sebor via Gcc-patches
The second patch in the series adds a pointer_query instance to the array bounds checker object and uses it for each invocation to check a function. gcc/ChangeLog: * gimple-array-bounds.cc (array_bounds_checker::array_bounds_checker): Define ctor.

[PATCH 1/3] Make pointer_query cache a private member.

2022-02-02 Thread Martin Sebor via Gcc-patches
The first patch in the series make the pointer_query cache a private member of the class and removes the ability to create an object of it without one, or one with an external cache. It also simplifies existing clients of the class that provide an external cache to avoid doing so. gcc/ChangeLog:

[PATCH 0/3] Enable pointer_query caching throughout.

2022-02-02 Thread Martin Sebor via Gcc-patches
Richard, as we discussed(*), this patch series enables the pointer_query cache in the remaining two passes where it's currently disabled. Since not using the cache is not an option anymore, the first patch in the series makes it a private member of the pointer_query class and its use

Re: [PATCH 6/8] rs6000: Remove -m[no-]fold-gimple flag [PR103686]

2022-02-02 Thread Segher Boessenkool
On Fri, Jan 28, 2022 at 11:50:24AM -0600, Bill Schmidt wrote: > The -m[no-]fold-gimple flag was really intended primarily for internal > testing while implementing GIMPLE folding for rs6000 vector built-in > functions. It ended up leaking into other places, causing problems such > as PR103686

[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

Re: [PATCH] match.pd: Fix up 1 / X for unsigned X optimization [PR104280]

2022-02-02 Thread Eric Botcazou via Gcc-patches
> Since I didn't see anyone responding to this problem, I filed PR > 104356 to record the regression. > And yes this should be handled correctly. Thanks. Note that we have an example of this in libgcc/libgcc2.c too. -- Eric Botcazou

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

2022-02-02 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104335 --- Comment #3 from Segher Boessenkool --- Hi Robin, Can you please explain what really happens now? What arguments rs6000_emit_cmove is called with, and when that goes wrong?

Re: [PATCH] match.pd: Fix up 1 / X for unsigned X optimization [PR104280]

2022-02-02 Thread Andrew Pinski via Gcc-patches
On Mon, Jan 31, 2022 at 12:17 AM Eric Botcazou via Gcc-patches wrote: > > > Unfortunately this breaks quite a lot of things. > > Right, for example in Ada where we now happily turn a division by zero, which > should raise an exception with -gnatp, into nonsense. Do we really need this > rather

[Bug tree-optimization/104356] [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/104356] New: [12 Regression] divide by zero trap is being removed now when it should not be in some cases

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Bug ID: 104356 Summary: [12 Regression] divide by zero trap is being removed now when it should not be in some cases Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/100196] [9/10/11/12 Regression] ICE in reduce_binary_ca, at fortran/arith.c:1364

2022-02-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100196 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug fortran/91728] Accepts array with wrong shape in a structure constructor

2022-02-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91728 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug c++/104302] [12 Regression] ICE Segmentation fault since r12-6825-g2da90ad39bf8fa9e

2022-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104302 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug tree-optimization/104344] Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/104345] [12 Regression] "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1" patch made some code generation worse

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104345 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug rtl-optimization/68212] Loop unroller breaks basic block frequencies

2022-02-02 Thread pthaugen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68212 --- Comment #9 from pthaugen at gcc dot gnu.org --- The problem can be seen in the loop2_unroll dump: pthaugen@pike:~/temp/pr68212$ grep "Invalid sum of" simple.c.272r.loop2_unroll ;; Invalid sum of incoming counts 285685646 (estimated

[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Resolution|---

[Bug rtl-optimization/68212] Loop unroller breaks basic block frequencies

2022-02-02 Thread pthaugen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68212 pthaugen at gcc dot gnu.org changed: What|Removed |Added CC||guojiufu at gcc dot

Re: [PATCH] docs: replace http:// with https://

2022-02-02 Thread Andrew Pinski via Gcc-patches
On Wed, Feb 2, 2022 at 1:46 PM Gerald Pfeifer wrote: > > On Wed, 22 Dec 2021, Martin Liška wrote: > > I replaced and verified http:// links for various domains. > > Thank you, and apologies for not acking this right away back then. > > (Did you ping, and I missed that? Not that you should have

[committed] docs: mention analyzer interaction with -ftrivial-auto-var-init [PR104270]

2022-02-02 Thread David Malcolm via Gcc-patches
On Wed, 2022-02-02 at 17:14 +, Qing Zhao wrote: > Hi, David, > > Thank you for fixing this issue! > > > On Feb 2, 2022, at 9:06 AM, David Malcolm via Gcc-patches < > > gcc-patches@gcc.gnu.org> wrote: > > > > GCC 12 has gained two features for dealing with uninitialized > > variables: > > >

[Bug c++/104319] better error message for parsing error when >= or >> ends a template variable.

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104319 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > No, whole >>= is one token (CPP_RSHIFT_EQ). Oh you are correct, I misread/misremembered the tokens.

[Bug target/102584] [OpenRISC] backend generates wrong halfword constant

2022-02-02 Thread shorne at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102584 Stafford Horne changed: What|Removed |Added CC||shorne at gcc dot gnu.org Last

[Bug tree-optimization/104288] [11/12 Regression] EVRP null pointer check removal for strcmp (and maybe others) is not flow senative

2022-02-02 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288 --- Comment #9 from Andrew Macleod --- risk/churn. > > At least that is what I'M currently trying. would this be OK? > > Let's see what you can come up with. > (which is why I really did like to have the old EVRP since conceptually > it's

[Bug analyzer/104270] -Wanalyzer-use-of-uninitialized-value is incorrectly suppressed by -ftrivial-auto-var-init=

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104270 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:fb45d8e692d41d0d5d0fea56791d5dca448009c5 commit r12-7007-gfb45d8e692d41d0d5d0fea56791d5dca448009c5 Author: David Malcolm Date:

[Bug c++/104319] better error message for parsing error when >= or >> ends a template variable.

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104319 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/104347] internal compiler error- default template arguments - missing angle brackets

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104347 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection See Also|

Re: [PATCH] docs: replace http:// with https://

2022-02-02 Thread Gerald Pfeifer
On Wed, 22 Dec 2021, Martin Liška wrote: > I replaced and verified http:// links for various domains. Thank you, and apologies for not acking this right away back then. (Did you ping, and I missed that? Not that you should have to, just missing a ping would be even worse.) In any case this is a

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at

[Bug c++/104347] internal compiler error- default template arguments - missing angle brackets

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104347 --- Comment #1 from Andrew Pinski --- So the trunk, GCC is able to compile this. clang gives the following error though: :328:11: error: alias template 'SISpeed' requires template arguments; argument deduction only allowed for class templates

[Bug target/104327] [12 Regression] Inlining error on s390x since r12-1039

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104327 --- Comment #4 from Jakub Jelinek --- The mvcle instructions actually aren't guarded by TARGET_MVCLE, they are TARGET_64BIT || !TARGET_ZARCH or !TARGET_64BIT && TARGET_ZARCH which means available everywhere, so TARGET_MVCLE seems just like an

Re: [PATCH] docs: remove --disable-stage1-checking from requirements

2022-02-02 Thread Gerald Pfeifer
On Tue, 1 Feb 2022, Martin Liška wrote: > As the minimal GCC version that can build the current master is 4.8, it > does not make sense mentioning something for older versions. > > Ready to be installed? Yep, looks good. Thank you, Gerald

[Bug c++/104319] better error message for parsing error when >= or >> ends a template variable.

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104319 Andrew Pinski changed: What|Removed |Added Summary|better error message for|better error message for

Re: [PATCH] libstdc++: Add missing free functions for atomic_flag [PR103934]

2022-02-02 Thread Jonathan Wakely via Gcc-patches
>+ inline void >+ atomic_flag_wait_explicit(const atomic_flag* __a, bool __old, >+ std::memory_order __m) noexcept No need for the std:: qualification, and check the indentation. > libstdc++-v3/ChangeLog: > >PR103934 This needs to include the component: PR libstdc++/103934

[Bug c++/104319] better error message for parsing error when >= ends a template variable.

2022-02-02 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104319 --- Comment #2 from qingzhe huang --- A slightly different case with operator ">=" after template-id causing identical error message is: https://www.godbolt.org/z/7ajvfM4rb #include template constexpr std::size_t zero=0; template constexpr

[Bug c++/104343] improved error message for passing overloaded function to variadic-argument function

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Summary|Too

[Bug middle-end/104355] Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/100196] [9/10/11/12 Regression] ICE in reduce_binary_ca, at fortran/arith.c:1364

2022-02-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100196 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

Re: [PATCH] c++: constrained auto in lambda using outer tparms [PR103706]

2022-02-02 Thread Jason Merrill via Gcc-patches
On 2/2/22 13:21, Patrick Palka wrote: On Wed, 2 Feb 2022, Patrick Palka wrote: Here we're crashing during satisfaction of the lambda's placeholder type constraints because the constraints depend on the template arguments from the enclosing scope, which aren't a part of the lambda's

Re: [committed] libstdc++: Reset filesystem::recursive_directory_iterator on error

2022-02-02 Thread Jonathan Wakely via Gcc-patches
On Tue, 1 Feb 2022 at 22:00, Jonathan Wakely via Libstdc++ wrote: > > Tested powerpc64le-linux, pushed to trunk. > > > The standard requires directory iterators to become equal to the end > iterator value if they report an error. Some members functions of >

[Bug ada/104354] ICE with Partition_Elaboration_Policy (Sequential)

2022-02-02 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 --- Comment #1 from simon at pushface dot org --- Created attachment 52334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52334=edit GCC 12-compatible RTS

Re: [PATCH] c++: lambda in pack expansion using outer pack in constraint [PR103706]

2022-02-02 Thread Jason Merrill via Gcc-patches
On 2/2/22 12:09, Patrick Palka wrote: The satisfaction cache needs to look through ARGUMENT_PACK_SELECT template arguments before calling iterative_hash_template_arg and template_args_equal, which would otherwise crash. Maybe we should handle ARGUMENT_PACK_SELECT in

[Bug middle-end/104355] New: Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Bug ID: 104355 Summary: Misleading -Warray-bounds documentation says "always out of bounds" Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug ada/104354] New: ICE with Partition_Elaboration_Policy (Sequential)

2022-02-02 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 Bug ID: 104354 Summary: ICE with Partition_Elaboration_Policy (Sequential) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: ifcvt: Fix PR104153 and PR104198

2022-02-02 Thread Jeff Law via Gcc-patches
On 2/1/2022 7:45 AM, Robin Dapp wrote: Hi, this is a bugfix for aa8cfe785953a0e87d2472311e1260cd98c605c0 which broke an or1k test case (PR104153) as well as SPARC bootstrap (PR104198). cond_exec_get_condition () returns the jump condition directly and we now it to the backend. The or1k

Re: [PATCH] Add CLOBBER_MARKS_EOL to mark storage end-of-life clobbers

2022-02-02 Thread Jakub Jelinek via Gcc-patches
On Wed, Feb 02, 2022 at 01:23:44PM -0700, Jeff Law via Gcc-patches wrote: > Note that I think something similar may be needed to mark EOL for the > pointer passed to realloc to fix a related set of false positives for code > like this > >   bool something = p != q; >   whatever = realloc (p,

[PATCH] rs6000/testsuite: Return 0 for powerpc_altivec_ok on other targets

2022-02-02 Thread Segher Boessenkool
Tested on powerpc64-linux {-m32,-m64}. Committed. Segher 2022-02-02 Segher Boessenkool gcc/testsuite/ * lib/target-supports.exp (check_effective_target_powerpc_altivec_ok): Return 0 if the target is not Power. Restructure and add some comments. ---

Re: [PATCH] Add CLOBBER_MARKS_EOL to mark storage end-of-life clobbers

2022-02-02 Thread Jeff Law via Gcc-patches
On 2/2/2022 7:42 AM, Richard Biener via Gcc-patches wrote: This adds a flag to CONSTRUCTOR nodes indicating that for clobbers this marks the end-of-life of storage as opposed to just ending the lifetime of the object that occupied it. The dangling pointer diagnostics uses CLOBBERs but is

Re: [PATCH] fortran: Unshare associate var charlen [PR104228]

2022-02-02 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 29.01.22 um 15:24 schrieb Mikael Morin: Hello, the attached patch is a fix for PR104228. Even if simple, I wouldn’t call it obvious, as it’s involving character length and associate, so I don’t mind some extra review eyes. I am probably not experienced enough to review this.

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

2022-02-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:323e72a83d417b230c2d93455fa09a4b66614c2a commit r10-10433-g323e72a83d417b230c2d93455fa09a4b66614c2a Author: Harald Anlauf

[Bug fortran/104331] [10/11 Regression] ICE in gfc_simplify_eoshift, at fortran/simplify.cc:2590

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f4aa5a3e95ba106f3149157a0278616f7a5fd192 commit r11-9535-gf4aa5a3e95ba106f3149157a0278616f7a5fd192 Author: Harald Anlauf

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104328 --- Comment #3 from Jakub Jelinek --- Created attachment 52332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52332=edit gcc12-pr104328.patch Untested fix.

[Bug c/104353] New: ppc64le: Apparent reliance on undefined behavior of xvcvdpsxws

2022-02-02 Thread ckk at kvr dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104353 Bug ID: 104353 Summary: ppc64le: Apparent reliance on undefined behavior of xvcvdpsxws Product: gcc Version: 11.2.0 URL:

[Bug fortran/104328] [12 Regression] ICE in resolve_omp_atomic, at fortran/openmp.cc:7760 (etc.) since r12-5793-g689407ef916503b2

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104328 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/104090] [10/11/12 Regression] powerpc: asm machine directive wrong for FSL processors

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104090 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:3cb53c10831be59d967d9dce8e7980fee4703500 commit r11-9534-g3cb53c10831be59d967d9dce8e7980fee4703500 Author: Sebastian

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-02-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #5 from Martin Sebor --- Unlike the false positive -Wuse-after-free in pr104232, the instance of -Wdangling-pointer in this case (a PHI argument) is intentional so that we diagnose problems like those in the request for it

Re: s390: Fix bootstrap -Wformat-diag errors

2022-02-02 Thread Martin Sebor via Gcc-patches
On 2/2/22 09:35, Robin Dapp via Gcc-patches wrote: Hi, this fixes the s390 bootstrap errors caused by -Werror=format-diag. It simply splits the problematic format strings. Either this: error ("% is unknown", orig_p); or this would be better: error ("attribute % is unknown", orig_p);

[Bug fortran/104352] ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.)

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104352 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/104352] New: ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.)

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104352 Bug ID: 104352 Summary: ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

Re: [PATCH v2 1/8] rs6000: More factoring of overload processing

2022-02-02 Thread Bill Schmidt via Gcc-patches
Hi! On 2/1/22 3:48 PM, Segher Boessenkool wrote: > On Tue, Feb 01, 2022 at 08:49:34AM -0600, Bill Schmidt wrote: >> I've modified the previous patch to add more explanatory commentary about >> the number-of-arguments test that was previously confusing, and to convert >> the switch into an

[Bug fortran/104351] ICE in gfc_generate_initializer, at fortran/expr.cc:5140

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104351 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/104351] New: ICE in gfc_generate_initializer, at fortran/expr.cc:5140

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104351 Bug ID: 104351 Summary: ICE in gfc_generate_initializer, at fortran/expr.cc:5140 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

  1   2   3   >