[Bug libstdc++/108118] New: std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread b.stanimirov at abv dot bg via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 Bug ID: 108118 Summary: std::weak_ptr lacks a self-usurp check on move Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug modula2/108119] New: m2rte Seems like it should not be there at all

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108119 Bug ID: 108119 Summary: m2rte Seems like it should not be there at all Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: m

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 --- Comment #4 from Iain Sandoe --- (In reply to Rainer Orth from comment #1) > Besides, the m2rte plugin is incorrectly named on Darwin, thus unusable: > > cc1gm2: fatal error: inaccessible plugin file > /var/gcc/modula-2/10.7-gcc/./gcc/plugin

[Bug c/108120] New: ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

2022-12-15 Thread m.olbrich at pengutronix dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108120 Bug ID: 108120 Summary: ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3) Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 --- Comment #5 from Iain Sandoe --- sorry about the duplicate comment - not quite sure what BZ did there. Note: dynamic lookups might become an issue for Darwin2* (I expect that there is a move towards requiring that symbols are resolved to a s

[Bug sanitizer/108106] [13 Regression] /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against symbol `__interceptor_sigsetjmp' can not be used when making a shared object; recompi

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108106 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=native

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/108095] powerpc-linux / powerpc64-linux: ICEs when building Linux's arch/powerpc/kernel/align.c (asm goto)

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108095 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bf3ce6f84a7a994a0fc87419b383b9ce4efed442 commit r13-4713-gbf3ce6f84a7a994a0fc87419b383b9ce4efed442 Author: Jakub Jelinek Date: T

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 Alexander Monakov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVA

[Bug target/108120] [11/12/13 Regression] ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108120 Andrew Pinski changed: What|Removed |Added Known to fail||11.3.0, 13.0, 9.1.0 Target Milestone|

[Bug target/108120] [10/11/12/13 Regression] ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

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

[Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)

2022-12-15 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607 Arsen Arsenović changed: What|Removed |Added CC||arsen at aarsen dot me --- Comment #1

[Bug modula2/108119] m2rte Seems like it should not be there at all

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108119 --- Comment #1 from Richard Biener --- It looks to me the plugin isn't needed to compile m2 programs, it's merely an additional tool to diagnose invalid code (that is maybe never be reached at runtime). So I'd suggest to put this plugin use beh

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=native

2022-12-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 --- Comment #8 from David Binderman --- 803a91330bf20174 seems bad, so trying 095a13eda2caf684.

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 --- Comment #1 from Andrew Pinski --- Created attachment 54102 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54102&action=edit testcase Please next time attach the testcase rather than just linking to godbolt.

[Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2022-12-15 Status|UNCONFIRMED

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 --- Comment #2 from Andrew Pinski --- Basically you have: w = std::move(w); I think that is just undefined code at this point ... But I am not 100% sure.

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 --- Comment #3 from Andrew Pinski --- Unless https://cplusplus.github.io/LWG/issue2315 is not implemented ...

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #6 from Feng Xue --- (In reply to Andrew Pinski from comment #2) > https://en.cppreference.com/w/c/program/setjmp I think that most programmers are not aware of this, neither I for sure. Usage of volatile here is not that intuitive

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=native

2022-12-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 --- Comment #9 from David Binderman --- (In reply to David Binderman from comment #8) > 803a91330bf20174 seems bad, so trying 095a13eda2caf684. That seems bad, so trying 4834e9360f7bf42f.

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #7 from Andrew Pinski --- (In reply to Feng Xue from comment #6) > (In reply to Andrew Pinski from comment #2) > > https://en.cppreference.com/w/c/program/setjmp > > I think that most programmers are not aware of this, neither I for

[Bug libgomp/108098] OpenMP/nvptx reverse offload execution test FAILs

2022-12-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108098 --- Comment #1 from Tom de Vries --- (In reply to Thomas Schwinge from comment #0) > $ nvidia-smi > [...] > | NVIDIA-SMI 440.33.01Driver Version: 440.33.01CUDA Version: 10.2 > [...] > | 0 Tesla K80 [...] > [..

[Bug modula2/108121] New: Failing tests on x86_64-linux-gnu

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108121 Bug ID: 108121 Summary: Failing tests on x86_64-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/108121] Failing tests on x86_64-linux-gnu

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108121 --- Comment #1 from Martin Liška --- The first fails due to the following valgrind issue: ==2990== Conditional jump or move depends on uninitialised value(s) ==2990==at 0xF94BF4: GenQuadO(unsigned int, M2Quads_QuadOperator, unsigned int, un

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=native

2022-12-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 --- Comment #10 from David Binderman --- That's the bad revision. ipa: Better way of applying both IPA-CP and IPA-SRA (PR 103227)

[Bug modula2/108121] Failing tests on x86_64-linux-gnu

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108121 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug modula2/108122] New: gcc/testsuite/gm2/pimcoroutines/run/pass/testtime.mod runs too long

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108122 Bug ID: 108122 Summary: gcc/testsuite/gm2/pimcoroutines/run/pass/testtime.mod runs too long Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/108122] gcc/testsuite/gm2/pimcoroutines/run/pass/testtime.mod runs too long

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108122 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug modula2/108121] Failing tests on x86_64-linux-gnu

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108121 --- Comment #2 from Martin Liška --- > gm2.log: FAIL: gm2/pim/pass/TestLong4.mod, -g And this one fails due to UBSAN (signed integer overflow): /dev/shm/objdir/gcc/gm2 -B/dev/shm/objdir2/gcc /home/marxin/Programming/gcc/gcc/testsuite/gm2/pi

[Bug modula2/108123] New: gcc/m2/gm2config.h.in is out of date

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108123 Bug ID: 108123 Summary: gcc/m2/gm2config.h.in is out of date Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 --- Comment #4 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #2) > Basically you have: > w = std::move(w); > > I think that is just undefined code at this point ... But I am not 100% sure. Nope, it's allowed. But it's not re

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2022-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-12-15 Status|UNCONFI

[Bug rust/108124] New: UBSAN issues when tests are run

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124 Bug ID: 108124 Summary: UBSAN issues when tests are run Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust A

[Bug rust/108124] Rust: UBSAN issues when tests are run

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|

[Bug rust/108124] Rust: UBSAN issues when tests are run

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124 --- Comment #1 from Martin Liška --- ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/rust/compile/macro19.rs -w /home/marxin/Programming/gcc/gcc/rust/ast/rust-stmt.h:342:48: runtime error: load of value 190, which is not a valid value for

[Bug rust/108124] Rust: ASAN&UBSAN issues when tests are run

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124 Martin Liška changed: What|Removed |Added Summary|Rust: UBSAN issues when |Rust: ASAN&UBSAN issues

[Bug rust/108102] rust bootstrap comparison failure on s390x-linux-gnu

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108102 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-12-15 Status|UNCONFIRME

[Bug rtl-optimization/108086] internal compiler error: in set_accesses, at rtl-ssa/internals.inl:449

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086 --- Comment #7 from Richard Biener --- Samples: 877K of event 'cycles:u', Event count (approx.): 779618998855 Overhead Samples Command Shared Object Symbol 52.64%461458 cc1plus cc1plus

[Bug rtl-optimization/108086] internal compiler error: in set_accesses, at rtl-ssa/internals.inl:449

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:930b3d6948f2cddc6a7fc4b35bafda1deabcd0c9 commit r13-4714-g930b3d6948f2cddc6a7fc4b35bafda1deabcd0c9 Author: Richard Biener Date:

[Bug libstdc++/108105] std::is_sorted(std::execution::par, ...) giving incorrect result

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108105 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=znver3 since r13-4685-g4834e9360f7bf4

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-12-15 Status|UNCONFIRME

[Bug rust/108111] Rust meets clang

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108111 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=znver3 since r13-4685-g4834e9360f7bf4

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 --- Comment #11 from Martin Liška --- A bit more reduced test-case: namespace std { template struct integral_constant { static constexpr int value = __v; }; template using decay_t = _Tp; template using enable_if_t = _Tp; template _Tp &&fo

[Bug c++/108116] [12/13 Regression] ICE in check_noexcept_r, at cp/except.cc:1074 since r12-6897-gdec8d0e5fa00ceb2

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108116 Martin Liška changed: What|Removed |Added Summary|internal compiler error: in |[12/13 Regression] ICE in

[Bug c++/108116] [12/13 Regression] ICE in check_noexcept_r, at cp/except.cc:1074 since r12-6897-gdec8d0e5fa00ceb2

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108116 --- Comment #3 from Martin Liška --- Reduced test-case: namespace std { template struct initializer_list { int *_M_array; unsigned long _M_len; }; struct c { c(int); ~c(); }; struct d { d(initializer_list); }; struct e { d f{0}; };

[Bug gcov-profile/107537] gcov skips throw/fallthrough annotations for 'never executed' branches

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107537 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:c263c3eba8953c341cd8ac2d0a5f2b8f38623016 commit r13-4715-gc263c3eba8953c341cd8ac2d0a5f2b8f38623016 Author: Spacetown Date: Sun De

[Bug gcov-profile/107537] gcov skips throw/fallthrough annotations for 'never executed' branches

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

[Bug ada/108125] New: Suggestion for improving bug-box / reporting on ICE

2022-12-15 Thread jesper.quorning at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108125 Bug ID: 108125 Summary: Suggestion for improving bug-box / reporting on ICE Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libfortran/108056] [12/13 Regression] backward compatibility issue between 11 and 12

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108056 --- Comment #14 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:e205ec03f0794aeac3e8a89e947c12624d5a274e commit r13-4716-ge205ec03f0794aeac3e8a89e947c12624d5a274e Author: Tobias Burnus Date:

[Bug rust/108126] New: rust meets cppcheck

2022-12-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108126 Bug ID: 108126 Summary: rust meets cppcheck Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust Assignee: una

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #8 from Feng Xue --- (In reply to Andrew Pinski from comment #7) > (In reply to Feng Xue from comment #6) > > (In reply to Andrew Pinski from comment #2) > > > https://en.cppreference.com/w/c/program/setjmp > > > > I think that most

[Bug ada/108125] Suggestion for improving bug-box / reporting on ICE

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108125 --- Comment #1 from Andrew Pinski --- The ice for Ada front end already provides this information. Even saying what to attachments are required. The c/c++ frontend ice says to rerun with -freport-bug and attach that .out file. What more impro

[Bug modula2/108123] gcc/m2/gm2config.h.in is out of date

2022-12-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108123 --- Comment #1 from Gaius Mulley --- done thanks for the bug report.

[Bug rust/108126] rust meets cppcheck

2022-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108126 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-12-15 Status|UNCONFI

[Bug modula2/108123] gcc/m2/gm2config.h.in is out of date

2022-12-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108123 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/108127] New: FP due to combination of -Warray-bounds and UBSAN

2022-12-15 Thread frolov.da at phystech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108127 Bug ID: 108127 Summary: FP due to combination of -Warray-bounds and UBSAN Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 --- Comment #6 from Iain Sandoe --- hmm .. some odd things. With Rainer's patch actually the plugin build succeeded on x86_64-darwin19 (Catalina) so then the plugin fails to load because it is missing the libstdc++ version needed (since that

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #9 from Alexander Monakov --- (In reply to Feng Xue from comment #8) > In another angle, because gcc already model control flow and SSA web for > setjmp/longjmp, explicit volatile specification is not really needed. That covers GIM

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 --- Comment #7 from Iain Sandoe --- same result on x86_64 darwin21 - under rosetta 2. BTW: this seems a bit odd to me I see the plugin specified like this: plugin/m2rte$(exeext)$(soext) (.so without Rainer's patch). Why $(exeext)? Won't you e

[Bug rtl-optimization/106751] [10/11/12/13 Regression] internal compiler error: in purge_dead_edges with inline-asm goto

2022-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | Priority|P3

[Bug c/108128] New: missing -Wshift-overflow warning

2022-12-15 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108128 Bug ID: 108128 Summary: missing -Wshift-overflow warning Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug c/108128] missing -Wshift-overflow warning

2022-12-15 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108128 --- Comment #1 from Vincent Lefèvre --- Well, with -pedantic, GCC also warns on "enum { A = 1 << 31 };".

[Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)

2022-12-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/108129] New: nop_atomic_bit_test_and_p is too bloated

2022-12-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108129 Bug ID: 108129 Summary: nop_atomic_bit_test_and_p is too bloated Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Sebastian Pop : https://gcc.gnu.org/g:59bba6f9dc6dcfefe96e6fad677614f39928564e commit r10-11122-g59bba6f9dc6dcfefe96e6fad677614f39928564e Author: Sebastian Pop

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Sebastian Pop : https://gcc.gnu.org/g:50f7161448a19c4fa355c7c652e26b47ceb36cc4 commit r11-10422-g50f7161448a19c4fa355c7c652e26b47ceb36cc4 Author: Sebastian Pop

[Bug tree-optimization/108129] nop_atomic_bit_test_and_p is too bloated

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108129 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 --- Comment #14 from CVS Commits --- The releases/gcc-12 branch has been updated by Sebastian Pop : https://gcc.gnu.org/g:7525c9d7e72ac3818e08fe7aa98396bd41e4ec8c commit r12-8987-g7525c9d7e72ac3818e08fe7aa98396bd41e4ec8c Author: Sebastian Pop

[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2022-12-15 Thread spop at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Sebastian Pop changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2022-12-15 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #13 from Tomas Kalibera --- Another instance of this problem is %z (to print size_t). It is supported by UCRT, but the GCC's Microsoft format warns, because it wasn't supported with MSVCRT (seen with GCC 12.2).

[Bug ipa/108130] New: [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108130 Bug ID: 108130 Summary: [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug ipa/108130] [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7

2022-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108130 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/106751] [10/11/12/13 Regression] internal compiler error: in purge_dead_edges with inline-asm goto

2022-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug libstdc++/108075] Undefined typeinfo for _Float16 (_ZTIDF16_)

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108075 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3f101e32e2fb616633722fb552779f537e9a9891 commit r13-4722-g3f101e32e2fb616633722fb552779f537e9a9891 Author: Jakub Jelinek Date: T

[Bug libstdc++/108075] Undefined typeinfo for _Float16 (_ZTIDF16_)

2022-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108075 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78147] The -Wshadow warning is too aggressive with constructor parameters

2022-12-15 Thread psmith at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147 --- Comment #7 from Paul Smith --- I don't really think this change is related to -Wunused-private-field: at least I don't see any relationship. My personal preference would be to not even bother to create an option for this; I think that GCC sh

[Bug sanitizer/108106] [13 Regression] /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against symbol `__interceptor_sigsetjmp' can not be used when making a shared object; recompi

2022-12-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108106 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/106751] [10/11/12/13 Regression] internal compiler error: in purge_dead_edges with inline-asm goto

2022-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug fortran/108131] New: Incorrect bound calculation when bound intrinsic used in size expression

2022-12-15 Thread jb at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108131 Bug ID: 108131 Summary: Incorrect bound calculation when bound intrinsic used in size expression Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/108129] nop_atomic_bit_test_and_p is too bloated

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108129 --- Comment #2 from Andrew Pinski --- This might improve the build time of GCC ...

[Bug fortran/108131] [10/11/12/13 Regression] Incorrect bound calculation when bound intrinsic used in size expression

2022-12-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108131 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Summar

[Bug rtl-optimization/108086] internal compiler error: in set_accesses, at rtl-ssa/internals.inl:449

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d49b2a3a1dbbe3ac9ae134bc5742be7fdb417d32 commit r13-4723-gd49b2a3a1dbbe3ac9ae134bc5742be7fdb417d32 Author: Richard Biener Date:

[Bug fortran/108131] [10/11/12/13 Regression] Incorrect bound calculation when bound intrinsic used in size expression

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108131 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5 Priority|P3

[Bug middle-end/108127] FP due to combination of -Warray-bounds and UBSAN

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108127 --- Comment #1 from Andrew Pinski --- >From the new documentation: https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fsanitize_003dundefined "Note that sanitizers tend to increase the rate of false positive warnings, most no

[Bug rtl-optimization/108132] New: Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
l/latest --enable-languages=c,c++ --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221215 (experimental) (GCC) [opc@qinzhao-aarch64-ol8]$ /home/opc/Install/latest/bin/gcc -O2 t.c [opc@qinzhao-aarch64-ol8]$ ./a.out a : 2 Got Exception! b is

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #11 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:7283380a5829150cc820ab3b25c4d91cad372eec commit r13-4724-g7283380a5829150cc820ab3b25c4d91cad372eec Author: Siddhesh Poyarekar

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #1 from qinzhao at gcc dot gnu.org --- As we checked the assembly and the IR, the wrong transformation is something like the following at source code level: (inside function "main") from : a=f(a); b=true; to:

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 qinzhao at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 --- Comment #2 from qinz

[Bug tree-optimization/108129] nop_atomic_bit_test_and_p is too bloated

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108129 --- Comment #3 from Richard Biener --- (In reply to Alexander Monakov from comment #0) > match.pd has multi-pattern matcher 'nop_atomic_bit_test_and_p'. > > It expands to ~38 KLOC in gimple-match.cc and ~350 KB in the compiled binary. > > Ther

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

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

[Bug rtl-optimization/57067] Missing control flow edges for setjmp/longjmp

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

[Bug sanitizer/108106] [13 Regression] /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against symbol `__interceptor_sigsetjmp' can not be used when making a shared object; recompi

2022-12-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108106 --- Comment #2 from H.J. Lu --- Created attachment 54104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54104&action=edit A patch Please try this.

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

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

[Bug rtl-optimization/57067] Missing control flow edges for setjmp/longjmp

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57067 Andrew Pinski changed: What|Removed |Added CC||fxue at os dot amperecomputing.com ---

[Bug rtl-optimization/106751] [10/11/12/13 Regression] internal compiler error: in purge_dead_edges with inline-asm goto

2022-12-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751 --- Comment #11 from Richard Biener --- (In reply to Jakub Jelinek from comment #10) > Created attachment 54103 [details] > gcc13-pr106751.patch > > This seems to work on the testcase. looks reasonable.

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #11 from Andrew Pinski --- >From the duplicated bug: "In this case the RTL scheduler pass generates broken code due to the missing control flow info."

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #4 from Andrew Pinski --- >From the duplicated bug: "In this case the RTL scheduler pass generates broken code due to the missing control flow info."

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #12 from Alexander Monakov --- Shouldn't there be another bug for the sched1 issue specifically? In absence of abnormal control flow, extending lifetimes of pseudos across calls is still likely to be a pessimization.

[Bug c++/107065] GCC treats rvalue as an lvalue

2022-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065 --- Comment #14 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8b775b4c48a3cc4ef5c50e56144aea02da2e9cc6 commit r13-4726-g8b775b4c48a3cc4ef5c50e56144aea02da2e9cc6 Author: Jakub Jelinek Date:

  1   2   >