[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

[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

[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|---

[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:

[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

[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|

[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|

[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

[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?

[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

[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|

[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

[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

[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

[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

[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

[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

[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:

[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

[Bug fortran/104350] New: ICE in gfc_array_dimen_size(): Bad dimension

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104350 Bug ID: 104350 Summary: ICE in gfc_array_dimen_size(): Bad dimension Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/104349] New: ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

2022-02-02 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104349 Bug ID: 104349 Summary: ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104079] [9/10/11/12 Regression] internal compiler error: in nothrow_spec_p, at cp/except.c:1192 since r9-4662-g0d699def39bb937e

2022-02-02 Thread turningtides at outlook dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104079 --- Comment #7 from Martin Turski --- ETA?

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #5 from Jonathan Wakely --- Clang gives: x.C:11:3: error: no matching function for call to 'Sprint' Sprint("B: off=", 2, " now=", 3, endl); ^~ x.C:5:13: note: candidate template ignored: substitution failure: deduced

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #4 from Jonathan Wakely --- Further reduced: void endl(char); void endl(wchar_t); template inline void Sprint(Args&&...) { } int main() { Sprint("B: off=", 2, " now=", 3, endl); }

[Bug c++/99859] constexpr evaluation with member function is incorrect

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Jonathan Wakely changed: What|Removed |Added CC||asorenji at gmail dot com --- Comment

[Bug c++/104348] Incorrect sorting in constexpr constructor

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104348 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/104346] Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346 --- Comment #1 from Vivek Rao --- It is explained at https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-overloaded-assignment-when-LHS-is-allocatable-array/m-p/1356757/highlight/true#M159812 that the code is not conforming, so

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug c++/104348] New: Incorrect sorting in constexpr constructor

2022-02-02 Thread asorenji at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104348 Bug ID: 104348 Summary: Incorrect sorting in constexpr constructor Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #2 from Jonathan Wakely --- Your code is invalid. std::endl is an overloaded function, so you can't pass it as an argument like that. The template argument cannot be deduced. GCC's error could be improved though.

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

2022-02-02 Thread dev at gutoehrlein dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104347 Bug ID: 104347 Summary: internal compiler error- default template arguments - missing angle brackets Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/104346] New: Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346 Bug ID: 104346 Summary: Problem with overloaded assignment when LHS is allocatable array Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/84052] Using Randomizing structure layout plugin in linux kernel compilation doesn't generate proper debuginfo

2022-02-02 Thread mivicaf210 at mxclip dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 Jordan Beaubien changed: What|Removed |Added CC||mivicaf210 at mxclip dot com ---

[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 #2 from Jakub Jelinek --- The first 2 testcases can be fixed with --- openmp.cc.jj2 2022-01-21 11:01:12.458449420 +0100 +++ openmp.cc 2022-02-02 16:21:36.813563894 +0100 @@ -7757,6 +7757,7 @@ resolve_omp_atomic (gfc_code

[Bug c++/104255] parsing function signature fails when it uses a function parameter outside of an unevaluated context

2022-02-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104255 --- Comment #5 from Patrick Palka --- (In reply to qingzhe huang from comment #4) > (In reply to Patrick Palka from comment #2) > > > > > error: use of parameter outside function body before ‘)’ token > > > > due to 'e' being used outside

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:fb812e0417adc20cac72986df3bf422ed007743c commit r11-9533-gfb812e0417adc20cac72986df3bf422ed007743c Author: Martin Liska

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #20 from rsandifo at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #19) > Created attachment 52329 [details] > gcc12-pr104334.patch > > Patch doing ?h_range and related comparisons in widest_int. Looks like a good

[Bug lto/104333] [11/12 Regression] ICE with -flto -Wl,-plugin-opt=debug

2022-02-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104333 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:9a92e46c0e9a75cd14125493b8826d3e33dd0f67 commit r12-7002-g9a92e46c0e9a75cd14125493b8826d3e33dd0f67 Author: Martin Liska Date:

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

2022-02-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104270 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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 #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9b4eee5fd158c4ee75d1f1000debbf5082fb9b56 commit r12-6997-g9b4eee5fd158c4ee75d1f1000debbf5082fb9b56 Author: David Malcolm Date:

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

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 --- Comment #3 from Richard Biener --- (In reply to Charles Nicholson from comment #2) > For whatever it's worth, clang does recognize both forms and emit optimal > assembly at -Os: > > https://gcc.godbolt.org/z/sehxYb97E > >

[Bug target/104345] nvptx: "regression" after "nvptx: Transition nvptx backend to STORE_FLAG_VALUE = 1"

2022-02-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104345 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

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

2022-02-02 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 --- Comment #2 from Charles Nicholson --- For whatever it's worth, clang does recognize both forms and emit optimal assembly at -Os: https://gcc.godbolt.org/z/sehxYb97E cast_through_char_unrolled: # @cast_through_char_unrolled movd eax,

[Bug c++/104343] Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

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

[Bug tree-optimization/104334] [12 Regression] Ranger/dom miscompilation since r12-4694-gcb153222404e2e

2022-02-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 --- Comment #19 from Jakub Jelinek --- Created attachment 52329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52329=edit gcc12-pr104334.patch Patch doing ?h_range and related comparisons in widest_int.

  1   2   >