[Bug target/116125] New: RISC-V: Does not fully checking for overlapping memory regions

2024-07-28 Thread sh.chiang04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116125 Bug ID: 116125 Summary: RISC-V: Does not fully checking for overlapping memory regions Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116019] Incorrect cannot-tail messages on targets

2024-07-28 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116019 Andi Kleen changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/116124] New: Can't use captured 'this' in lambda function that deduces this

2024-07-28 Thread eddiejnolan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116124 Bug ID: 116124 Summary: Can't use captured 'this' in lambda function that deduces this Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/116103] [15 Regression] GCN vs. "Internal-fn: Only allow modes describe types for internal fn[PR115961]"

2024-07-28 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103 --- Comment #6 from Li Pan --- (In reply to Thomas Schwinge from comment #5) > (In reply to Li Pan from comment #3) > > best practice of cross > > compile gfx908 in x86 linux? > > If you only need the 'cc1' (and no assembler, linker, libc), the

[Bug target/116122] [14/15 regression] __FLT16_MAX__ is defined even with -mno-sse2 on 32-bit x86

2024-07-28 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 Hongtao Liu changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/30314] optimize multiply-by-constant overflow (wrap) test

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30314 --- Comment #6 from Andrew Pinski --- So the rest is to fold the statements after widening pass. I have a patch for that which does it in isel as I am going to have some isel related match patterns. Note gcc.target/i386/pr95852-2.c and gcc.targe

[Bug libstdc++/110572] ld.lld: error: duplicate symbol: std::type_info::operator==(std::type_info const&) const

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572 --- Comment #17 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:0ac0e640a7f86ba45b7e13ed018826177197f3ce commit r15-2370-g0ac0e640a7f86ba45b7e13ed018826177197f3ce Author: Sam James Date: Sat Jul

[Bug middle-end/25521] change semantics of const volatile variables

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25521 --- Comment #12 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:0ac0e640a7f86ba45b7e13ed018826177197f3ce commit r15-2370-g0ac0e640a7f86ba45b7e13ed018826177197f3ce Author: Sam James Date: Sat Jul 2

[Bug debug/93122] ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1668

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93122 --- Comment #7 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:0ac0e640a7f86ba45b7e13ed018826177197f3ce commit r15-2370-g0ac0e640a7f86ba45b7e13ed018826177197f3ce Author: Sam James Date: Sat Jul 27

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

2024-07-28 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115819, which changed state. Bug 115819 Summary: RISC-V: Failed to hoist vrsub.vx to the header of the loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115819 What|Removed |Added --

[Bug tree-optimization/115819] RISC-V: Failed to hoist vrsub.vx to the header of the loop

2024-07-28 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115819 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116104] [15 Regression] GCN vs. "[rtl-optimization/116037] Explicitly track if a destination was skipped in ext-dce"

2024-07-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116104 --- Comment #2 from Thomas Schwinge --- Created attachment 58772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58772&action=edit '2629-1.i' Jeff, you're of course very welcome to have a look, but note that I didn't assign you this PR

[Bug target/116103] [15 Regression] GCN vs. "Internal-fn: Only allow modes describe types for internal fn[PR115961]"

2024-07-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103 --- Comment #5 from Thomas Schwinge --- (In reply to Li Pan from comment #3) > best practice of cross > compile gfx908 in x86 linux? If you only need the 'cc1' (and no assembler, linker, libc), the following should do: $ [...]/configure --

[Bug target/116103] [15 Regression] GCN vs. "Internal-fn: Only allow modes describe types for internal fn[PR115961]"

2024-07-28 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103 --- Comment #4 from Thomas Schwinge --- (In reply to Richard Biener from comment #2) > if (VECTOR_BOOLEAN_TYPE_P (type) > && SCALAR_INT_MODE_P (TYPE_MODE (type))) > return true; > && TYPE_PRECISION (TREE_TYPE (type)) == 1 > T

[Bug c++/115583] [14/15 Regression] C++23: Call to consteval function in `if consteval` immediate function context rejected at -O1 since r14-4140

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115583 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d5f1948640815a554d106542c2e91e4e117aa3bc commit r15-2369-gd5f1948640815a554d106542c2e91e4e117aa3bc Author: Jason Merrill Date: Sa

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #11 from Jonathan Wakely --- (In reply to maths soso from comment #6) > Created attachment 58771 [details] > compilation of gcc 14.1.0 configure: error: source directory already configured; run "make distclean" there first

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #10 from Jonathan Wakely --- Oh I see you already said you're using contrib/download_prerequisites so that's all you need.

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #9 from Jonathan Wakely --- (In reply to maths soso from comment #7) > I added to path of libgmp, libmpc, and libmpfr to LD_LIBRARY_PATH, and still. Don't do that, just add the gmp, mpfr and mpc sources to the gcc tree and let them

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #14 from Gaius Mulley --- I've git committed the modula-2 changes. I've left the patch for: gcc/config/s390/s390.md as it is outside my maintainership.

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6a55ff29578e8afbe795547468a78494b3b52831 commit r15-2368-g6a55ff29578e8afbe795547468a78494b3b52831 Author: Jonathan Wakely Date:

[Bug target/116104] [15 Regression] GCN vs. "[rtl-optimization/116037] Explicitly track if a destination was skipped in ext-dce"

2024-07-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116104 --- Comment #1 from Jeffrey A. Law --- So, how am I supposed to reproduce this? I don't have an assembler/binutils for amdgcn and thus libgcc won't configure. Thus I can't extract a testcase. Alternately, if you could just attach a .i file, i

[Bug target/116056] [avr] Add support for __attribute__((signal(n)))

2024-07-28 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116056 Georg-Johann Lay changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/116056] [avr] Add support for __attribute__((signal(n)))

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116056 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:0f1de0c4ce6eb237128d8f6439c2434aded1f51a commit r15-2367-g0f1de0c4ce6eb237128d8f6439c2434aded1f51a Author: Georg-Johann Lay Dat

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #13 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:79e029a41825f533bb87b4bee5427b90b62175ae commit r15-2366-g79e029a41825f533bb87b4bee5427b90b62175ae Author: Gaius Mulley Date: Su

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 --- Comment #14 from GCC Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:59c6d6a5b53d7b0e483a686f6b9db093bb77c064 commit r15-2365-g59c6d6a5b53d7b0e483a686f6b9db093bb77c064 Author: John David Anglin D

[Bug modula2/116123] flex generated files should be produced in the source tree with --enable-generated-files-in-srcdir so that flex is not needed on build for releases

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > From maintainer-scripts/gcc_release : > contrib/gcc_build -d ${SOURCE_DIRECTORY} -o ${OBJECT_DIRECTORY} \ > -c "--enable-generated-files-in-srcdir --di

[Bug modula2/116123] flex generated files should be produced in the source tree with --enable-generated-files-in-srcdir so that flex is not needed on build for releases

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 --- Comment #6 from Andrew Pinski --- >From maintainer-scripts/gcc_release : contrib/gcc_build -d ${SOURCE_DIRECTORY} -o ${OBJECT_DIRECTORY} \ -c "--enable-generated-files-in-srcdir --disable-multilib" \ -m "-j$num_cpus" build ||

[Bug modula2/116123] flex generated files should be produced in the source tree with --enable-generated-files-in-srcdir so that flex is not needed on build for releases

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-28 Summary|flex gene

[Bug modula2/116123] flex generated files should be committed to the tree so that flex is not needed on build

2024-07-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 --- Comment #4 from Sam James --- (In reply to Andrew Pinski from comment #1) > flex is required for building GCC from git even without m2. > > gengtype-lex.l needs to be processed by flex. Yes, I was surprised to see FX ask for this because i

[Bug modula2/116123] flex generated files should be committed to the tree so that flex is not needed on build

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

[Bug modula2/116123] flex generated files should be committed to the tree so that flex is not needed on build

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/install/prerequisites.html Flex version 2.5.4 (or later) Necessary when modifying *.l files. Necessary to build GCC during development because the generated output files are not includ

[Bug modula2/116123] flex generated files should be committed to the tree so that flex is not needed on build

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 --- Comment #1 from Andrew Pinski --- flex is required for building GCC from git even without m2. gengtype-lex.l needs to be processed by flex.

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread h.sousou97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #7 from maths soso --- I added to path of libgmp, libmpc, and libmpfr to LD_LIBRARY_PATH, and still. make[1]: *** [Makefile:5149: configure-gmp] Error 1 make[1]: *** Waiting for unfinished jobs checking whether to install libibe

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread h.sousou97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #6 from maths soso --- Created attachment 58771 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58771&action=edit compilation of gcc 14.1.0

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread h.sousou97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #5 from maths soso --- I did install both gcc and binutils for $TARGET in $PREFIX export WORKSPACE_ROOT=~/rpi0/toolchain export PREFIX=${WORKSPACE_ROOT}/toolchain export TARGET=arm-linux-gnueabihf export SYSROOT=${WORKSPACE_ROOT}/..

[Bug modula2/116123] New: flex generated files should be committed to the tree so that flex is not needed on build

2024-07-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116123 Bug ID: 116123 Summary: flex generated files should be committed to the tree so that flex is not needed on build Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 Gaius Mulley changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 --- Comment #13 from John David Anglin --- Does this issue affect you? I didn't commit or send change to list as this mainly affects 32-bit hpux target which has been disabled.

[Bug other/116119] Error building gcc 8.3.0

2024-07-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119 --- Comment #4 from Jonathan Wakely --- (In reply to maths soso from comment #0) > /home/sofiane/rpi0/toolchain/build/gcc2/./gcc/as: 106: exec: -march=armv8-a: > not found If you look at /home/sofiane/rpi0/toolchain/build/gcc2/./gcc/as you'll s

[Bug target/116122] [14 Regression]: __FLT16_MAX__ is defined even with -mno-sse2 on 32-bit x86

2024-07-28 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 Adrian Bunk changed: What|Removed |Added CC||bunk at stusta dot de --- Comment #3 from

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-28 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #11 from Stefan Schulze Frielinghaus --- I gave the new patch a try and can confirm that it works, now. Thanks for taking care of this!

[Bug target/116122] [14 Regression]: __FLT16_MAX__ is defined even with -mno-sse2

2024-07-28 Thread mitya57 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 --- Comment #2 from Dmitry Shachnev --- Yes, I forgot to mention that my command line examples are from 32-bit x86, and baseline for Debian’s i386 architecture is “no MMX nor SSE”: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1 And f

[Bug target/116122] [14 Regression]: __FLT16_MAX__ is defined even with -mno-sse2

2024-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #1 from Andrew Pinsk

[Bug c/116122] New: [14 Regression]: __FLT16_MAX__ is defined even with -mno-sse2

2024-07-28 Thread mitya57 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 Bug ID: 116122 Summary: [14 Regression]: __FLT16_MAX__ is defined even with -mno-sse2 Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal