[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-12 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #3 from YunQiang Su --- I got it. it is not due to gcc itself, while due to *stat problem in glibc 2.33 for MIPS64. It seems we introduce a bug when try to fix y2106 problem for mips64. I am try to dig it.

[Bug tree-optimization/90433] POINTER_DIFF_EXPR in vectorizer prologue

2021-12-12 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90433 --- Comment #3 from Marc Glisse --- (In reply to Andrew Pinski from comment #2) > The trunk we don't vectorize the code any more . I thought it might be because we found a way to use memcpy instead, which would have been good, but no, the

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #66 from Arseny Solokha --- Should I file my commend 38 as a separate PR, then?

[Bug target/103515] Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag

2021-12-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103515 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:01ad8c54fdca1db3d71bf6c4b861a9d1db3c2a59 commit r12-5920-g01ad8c54fdca1db3d71bf6c4b861a9d1db3c2a59 Author: Kewen Lin Date: Sun Dec

[Bug middle-end/98420] Invalid simplification of x - x with -frounding-math

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98420 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > probably conditional on HONOR_SIGNED_ZEROS. That is checked now: + || (!tree_expr_maybe_nan_p (@0) + && !tree_expr_maybe_infinite_p (@0))) The

[Bug middle-end/95126] [9/10/11/12 Regression] Missed opportunity to turn static variables into immediates

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/95126] [9/10/11/12 Regression] Missed opportunity to turn static variables into immediates

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection

[Bug middle-end/91709] Missed optimization for multiplication on 1.5 and 1.25

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91709 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

[Bug middle-end/91739] Missed optimization for arithmetic operations of integers and floating point constants

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

[Bug middle-end/60085] ICE in get_frame_type on weird code

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/98621] [9/10/11/12 Regression] ICE: x from g referenced in f

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98621 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug c/103679] ICE after error on nested function with VLA as argument

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

[Bug c/30552] gcc crashes when compiling examples with GNU statement expressions in VLAs (also involved: nested functions declared K)

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 Andrew Pinski changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/60085] ICE in get_frame_type on weird code

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/30552] gcc crashes when compiling examples with GNU statement expressions in VLAs (also involved: nested functions declared K)

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug middle-end/60085] ICE in get_frame_type on weird code

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60085 Andrew Pinski changed: What|Removed |Added Known to fail||8.5.0 Known to work|

[Bug c/103679] ICE after error on nested function with VLA as argument

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103679 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/103679] New: ICE after error on nested function with VLA as argument

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103679 Bug ID: 103679 Summary: ICE after error on nested function with VLA as argument Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-recovery,

[Bug middle-end/55217] False -Wstrict-overflow warning

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55217 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 Keywords|

[Bug tree-optimization/91019] Missed optimization on sequential memcpy calls

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91019 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-06-27 00:00:00 |2021-12-12 Severity|normal

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #7 from Arseny Solokha --- > Arseny, does this properly diagnose the issue for you? Sure, thanks. But please note that I don't do any real computations on 32-bit powerpc. I've filed this series of PRs during my regular testing of

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #6 from Kewen Lin --- (In reply to Bill Schmidt from comment #4) > Kewen, how did you confirm this? My cross doesn't accept -mvsx as valid. > > $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c >

[Bug tree-optimization/90433] POINTER_DIFF_EXPR in vectorizer prologue

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90433 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew

[Bug fortran/103287] [12 Regression] ICE in argument_rank_mismatch, at fortran/interface.c:2240

2021-12-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103287 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to sandra from comment #4) > The proposed fix in comment 2 looks OK to me, although I'd like to see a > comment here like > > "This case corresponds to an assumed-rank actual passed to

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-12 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 YunQiang Su changed: What|Removed |Added CC||syq at debian dot org --- Comment #2

[Bug c++/103678] New: [concepts] Constrained partial specialization of dependent template conflicts with unconstrained partial specialization

2021-12-12 Thread matthewjbarichello at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103678 Bug ID: 103678 Summary: [concepts] Constrained partial specialization of dependent template conflicts with unconstrained partial specialization Product: gcc

[Bug fortran/103287] [12 Regression] ICE in argument_rank_mismatch, at fortran/interface.c:2240

2021-12-12 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103287 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug tree-optimization/88569] Track relations between variable values

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

[Bug tree-optimization/88603] optimization missed for saturation arithmetic add

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88603 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew

[Bug tree-optimization/87576] Static analysis generating errors on branch never taken

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0 --- Comment #4 from Andrew

[Bug bootstrap/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 Andrew Pinski changed: What|Removed |Added Component|libgcc |bootstrap --- Comment #11 from Andrew

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 cqwrteur changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #9 from cqwrteur --- Created attachment 51987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51987=edit status

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #8 from cqwrteur --- Created attachment 51986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51986=edit new config.log Still does not work

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

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

[Bug tree-optimization/86341] Aggressive loop unrolling in gcc 7.x produces out-of-bounds index

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86341 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug tree-optimization/86628] Missed simplification of division

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

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > configure:13965: checking for as > configure:13998: result: no > configure:14076: checking for x86_64-apple-darwin20.6.0-as > configure:14106: result: no > ... > >

[Bug tree-optimization/82135] Missed constant propagation through possible unsigned wraparound, with std::align() variable pointer, constant everything else.

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

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #6 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > configure:13965: checking for as > configure:13998: result: no > configure:14076: checking for x86_64-apple-darwin20.6.0-as > configure:14106: result: no > ... > >

[Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 Keywords|

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #5 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > configure:13965: checking for as > configure:13998: result: no > configure:14076: checking for x86_64-apple-darwin20.6.0-as > configure:14106: result: no > ... > >

[Bug tree-optimization/80937] redundant bcopy/memcpy/strcpy to a non-local object not eliminated

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80937 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-13 Severity|normal

[Bug tree-optimization/80215] VN has trouble with conditional equivalences (DOM/FRE)

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

[Bug jit/100688] Add support for link section

2021-12-12 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 Antoni changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #3 from cqwrteur --- Created attachment 51985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51985=edit config.log

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #2 from cqwrteur --- Created attachment 51984 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51984=edit error

[Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 --- Comment #1 from cqwrteur --- Created attachment 51983 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51983=edit config.log

[Bug tree-optimization/61747] min,max pattern not always properly optimized (for sse4 targets)

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

[Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files

2021-12-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677 Bug ID: 103677 Summary: cross compile apple darwin from linux. cannot compute suffix of object files Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 41464, which changed state. Bug 41464 Summary: vector loads are unnecessarily split into high and low loads https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41464 What|Removed |Added

[Bug tree-optimization/41464] vector loads are unnecessarily split into high and low loads

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41464 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0 Known to work|

[Bug tree-optimization/103660] Sub-optimal code with relational operators

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-12 CC|

[Bug target/103676] internal compiler error: in extract_constrain_insn, at recog.c:2671

2021-12-12 Thread patrick.oppenlander at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676 --- Comment #4 from Patrick Oppenlander --- It's open source, but probably a bit of work to reproduce. I'll see if I can produce a reduced testcase. Thanks for the link to the instructions.

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 --- Comment #5 from Segher Boessenkool --- It should work for 32-bit though?

[Bug target/103676] internal compiler error: in extract_constrain_insn, at recog.c:2671

2021-12-12 Thread patrick.oppenlander at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676 --- Comment #3 from Patrick Oppenlander --- gcc -v output is: % armv7em-linux-musleabihf-g++ -v Using built-in specs. COLLECT_GCC=armv7em-linux-musleabihf-g++

[Bug target/103676] internal compiler error: in extract_constrain_insn, at recog.c:2671

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > If it is private software you might want to read > https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction#Reducing_LTO_bugs and > try to reduce the sources

[Bug target/103676] internal compiler error: in extract_constrain_insn, at recog.c:2671

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

[Bug middle-end/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 --- Comment #4 from Andrew Pinski --- Please read https://gcc.gnu.org/bugs/. A code snippet is not what we want. We need a full compilable (not always runable) testcase for wrong code.

[Bug middle-end/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread robert.muench at saphirion dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 --- Comment #3 from Robert M. Münch --- I updated to GCC 11.2, which has the same problem but after 4 rounds, not 3. GCC 10.3 Output: 9512] ==> GetAdapterMACAddress [9512] parameter check dwRetVal: 0 number: 0 [9512] AddressLenth: 6 [9512]

[Bug middle-end/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread robert.muench at saphirion dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 --- Comment #2 from Robert M. Münch --- That's the code snippet. The for(...) loop is where things start to become strange. The thing is, if we use the code from a pure C program, it works. We are using this code from a Windows DLL which we

[Bug target/103676] New: internal compiler error: in extract_constrain_insn, at recog.c:2671

2021-12-12 Thread patrick.oppenlander at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676 Bug ID: 103676 Summary: internal compiler error: in extract_constrain_insn, at recog.c:2671 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99256] ICE in variable_check, at fortran/check.c:1012

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

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-12-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #30 from Mikael Morin --- *** Bug 103671 has been marked as a duplicate of this bug. ***

[Bug fortran/103671] arrays with negative strides are wrongly passed as argument.

2021-12-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103671 Mikael Morin changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug jit/100688] Add support for link section

2021-12-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #9 from CVS Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:0b52083ea2c2dd9897031fdc3802a68fd4aa45ef commit r12-5917-g0b52083ea2c2dd9897031fdc3802a68fd4aa45ef Author: Antoni Boucher Date:

[Bug middle-end/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-12

[Bug tree-optimization/90447] Missed opportunities to use adc (worse when -1 is involved)

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

[Bug fortran/103606] [9/10/11/12 Regression] ICE in resolve_fl_procedure, at fortran/resolve.c:13297 since r9-3324-g2b03b800d866d345

2021-12-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103606 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ce80f2c0e7a86e555201e9e61a26306adff4a074 commit r11-9378-gce80f2c0e7a86e555201e9e61a26306adff4a074 Author: Harald Anlauf

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/103669] [12 Regression] wrong code with -O --param=modref-max-depth=1

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

[Bug fortran/103472] ICE in gfc_conv_ss_startstride, at fortran/trans-array.c:4527

2021-12-12 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103472 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-12-12

[Bug target/103675] New: gather is a loss for floats and win for doubles at zen3

2021-12-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103675 Bug ID: 103675 Summary: gather is a loss for floats and win for doubles at zen3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103674] New: Poor codegen for C++ casts

2021-12-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103674 Bug ID: 103674 Summary: Poor codegen for C++ casts Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 --- Comment #1 from Andrew Pinski --- Can you provide the preprocessed source that is used to generate the assembly file?

[Bug other/103673] avr-gcc with -mrelax with .balign is buggy

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103673 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/103673] New: avr-gcc with -mrelax with .balign is buggy

2021-12-12 Thread therealdragony at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103673 Bug ID: 103673 Summary: avr-gcc with -mrelax with .balign is buggy Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103672] New: using with template class> causes internal compiler error

2021-12-12 Thread turtlefight at ymail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103672 Bug ID: 103672 Summary: using with template class> causes internal compiler error Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/103671] New: arrays with negative strides are wrongly passed as argument.

2021-12-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103671 Bug ID: 103671 Summary: arrays with negative strides are wrongly passed as argument. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103472] ICE in gfc_conv_ss_startstride, at fortran/trans-array.c:4527

2021-12-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103472 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment

[Bug c/103670] New: Incorrect optimization of loop termination: Early exit with any optimization

2021-12-12 Thread robert.muench at saphirion dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 Bug ID: 103670 Summary: Incorrect optimization of loop termination: Early exit with any optimization Product: gcc Version: 10.3.0 Status: UNCONFIRMED

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668 --- Comment #4 from Andrei-Edward Popa --- Yes, I really missed this constexpr instead of const, this is clear for me. Thank you! I think this thread can be closed now.

[Bug c++/103668] constexpr std::vector not working as expected

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

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #6 from Bill Schmidt --- With a quick and dirty patch to implement this, I get: $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 pr103623.c -B/home/wschmidt/gcc/build/gcc-e300/gcc -mcpu=401 pr103623.c: In function 'main':

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #5 from Bill Schmidt --- Agreed that this needs a new attribute, and digging through the macros used to guard the associated patterns, this really does need to be restricted to the case when long double is implemented by IBM-128.

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2021-12-12 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 --- Comment #4 from sandra at gcc dot gnu.org --- Created attachment 51980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51980=edit hacky patch Attached patch has not been regression tested, but it does seem to fix the original testcase,

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2021-12-12 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 --- Comment #3 from sandra at gcc dot gnu.org --- This looks like an existing bug in error checking that was exposed by my patch to do... more error checking. :-S The problem is that gfc_set_default_type in symbol.c is setting

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

2021-12-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 --- Comment #7 from Jan Hubicka --- OK, i suppose we do not really have interface to fold ternary expression? It could still do useful work merging the value ranges of both arms... I am testing the following: gcc/ChangeLog: 2021-12-12 Jan

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-12-12 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Mikael Morin changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 --- Comment #4 from Bill Schmidt --- __builtin_darn and __builtin_darn_raw are in the wrong stanza. Moving them to [power9-64] fixes it on my cross: diff --git a/gcc/config/rs6000/rs6000-builtin-new.def

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668 --- Comment #2 from Andrei-Edward Popa --- This code is valid in MSVC compiler, that's why I'm wondering about it.

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 Bill Schmidt changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #4 from Bill Schmidt --- Kewen, how did you confirm this? My cross doesn't accept -mvsx as valid. $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c -B/home/wschmidt/gcc/build/gcc-e300/gcc

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/103622] [12 Regression] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 Bill Schmidt changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668 --- Comment #1 from Jonathan Wakely --- I don't think this is valid C++. A vector created in a constexpr function must be destroyed there as well, it cannot escape from the function.

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #12 from Jonathan Wakely --- Arguably sysv ABI on Windows is a distinct target, and you need to provide your own libc for it.

  1   2   >