[Bug target/97142] __builtin_fmod not optimized on POWER

2021-04-12 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #10 from luoxhu at gcc dot gnu.org --- If not built with fast-math, gimple_has_side_effects will return true and cause the expand_call_stmt fail to expand the "_1 = fmod (x_2(D), y_3(D));" to internal function. X86 also produces "bl f

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #14 from cqwrteur --- there is another stuff mentioned in osdev. we need to disable red zone. we need redzone multilib https://wiki.osdev.org/Libgcc_without_red_zone I suggest to add this into gcc itself

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #13 from cqwrteur --- ../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx --disable-werror --with-newlib --target=x86_64-elf --prefix=/home/cqwrteur/elf_toolchain/x86_64-elf --without-headers --with-newlib -

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #12 from cqwrteur --- malloc, free, memset does not exist either. Need to replace them with __builtin_malloc, __builtin_free, __builtin_memset if that is available. Then it is libquadmath's issue. no errno.h In file included from

[Bug c++/97134] partial specialization not more specialized when using CNTTP

2021-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97134 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/97134] partial specialization not more specialized when using CNTTP

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97134 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c755e1b3eadaf1c7e751a2c7ce1d418c6db8463a commit r11-8145-gc755e1b3eadaf1c7e751a2c7ce1d418c6db8463a Author: Patrick Palka Date: Mo

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2021-04-12 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #15 from luoxhu at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #14) > (In reply to luoxhu from comment #12) > > That code was called by combine pass but fail to match. > > > > > pr newpat > > (set (reg:DI 125 [

[Bug c++/99994] internal compiler error: trying to capture 'f' in instantiation of generic lambda within constraints_satisfied_p

2021-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/99961] requires clause rejects mentioning of function parameters too early

2021-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99961 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug c++/99961] requires clause rejects mentioning of function parameters too early

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99961 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:59d9aa6d2efe7c52b6a986eb3e1977c1fb3c5753 commit r11-8144-g59d9aa6d2efe7c52b6a986eb3e1977c1fb3c5753 Author: Patrick Palka Date: Mo

[Bug c++/99994] internal compiler error: trying to capture 'f' in instantiation of generic lambda within constraints_satisfied_p

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:59d9aa6d2efe7c52b6a986eb3e1977c1fb3c5753 commit r11-8144-g59d9aa6d2efe7c52b6a986eb3e1977c1fb3c5753 Author: Patrick Palka Date: Mo

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #11 from cqwrteur --- if test x$gcc_no_link = xyes; then as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 These tests are very wrong tbh. freestanding environment of course, does not have those

[Bug analyzer/99212] [11 Regression] gcc.dg/analyzer/data-model-1.c line 971

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99212 --- Comment #13 from CVS Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:07b27384de56ce2f6a93007d018743ef9d5c8cc4 commit r11-8143-g07b27384de56ce2f6a93007d018743ef9d5c8cc4 Author: Hans-Peter Nilsson

[Bug analyzer/99212] [11 Regression] gcc.dg/analyzer/data-model-1.c line 971

2021-04-12 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99212 Hans-Peter Nilsson changed: What|Removed |Added Keywords||xfail --- Comment #12 from Hans-Pet

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #10 from cqwrteur --- I guess nobody ever tries to build freestanding before. It just does not work tbh.

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #9 from cqwrteur --- looking for a compliant stdint.h in stdint.h, checking for uintmax_t... no looking for a compliant stdint.h in inttypes.h, checking for uintmax_t... no looking for a compliant stdint.h in sys/inttypes.h, checking

[Bug target/100009] [9 Regression] -march=native doesn't work on tigerlake

2021-04-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19 --- Comment #4 from Hongtao.liu --- > Oops, > will backport r10-2664-ga9fcfec30f70c30883f53d4b1bd533fbea0e9fb2 (tigerlake > part) to gcc9. PTA_AVX512VP2INTERSECT is enabled in GCC10, don't plan to backport to gcc9, so in GCC9 -march=native wou

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #8 from cqwrteur --- Created attachment 50576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50576&action=edit Disable checking these macros with freestanding settings We predefine them if they do not exist in Freestanding.

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #7 from cqwrteur --- I think the libstdc++'s scripting issue I can fix it.

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread phdofthehouse at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #6 from JeanHeyd Meneide --- Oh, woops, my bad. This is for configuring and building GCC. I'm not sure which option turns on -ffreestanding for building the compiler itself! But it seems like that's missing, if __STDC_HOSTED__ is not

[Bug analyzer/100042] ICE in gimple_call_set_fndecl with -Os -fsanitize=undefined -flto -fanalyzer

2021-04-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100042 --- Comment #1 from David Malcolm --- I'm not able to reproduce this, but I just committed a fix for PR 98599; does that fix this for you also?

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread phdofthehouse at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 JeanHeyd Meneide changed: What|Removed |Added CC||phdofthehouse at gmail dot com --- C

[Bug analyzer/98599] [11 Regression] fatal error: Cgraph edge statement index out of range with -Os -flto -fanalyzer

2021-04-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98599 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug analyzer/98599] [11 Regression] fatal error: Cgraph edge statement index out of range with -Os -flto -fanalyzer

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98599 --- Comment #13 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:17f3c2b8ac477b07ca0aafbc7d74ba305dc1ee33 commit r11-8142-g17f3c2b8ac477b07ca0aafbc7d74ba305dc1ee33 Author: David Malcolm Date: M

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #4 from cqwrteur --- Try that without --with-newlib. checking how to hardcode library paths into programs... immediate checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [Ma

[Bug c++/100054] [11 Regression] internal compiler error: in get_nsdmi

2021-04-12 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100054 --- Comment #2 from Barry Revzin --- In case it helps, here's a different example which on trunk ICEs in get_nsdmi, but on gcc 10.2 and 10.3 ICEs on "unexpected expression '(F)()' of kind implicit_conv_expr" (and is accepted by 10.1) struct F {

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #3 from cqwrteur --- Created attachment 50575 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50575&action=edit The log file shows it does check stdio.h conftest.c:10:10: fatal error: stdio.h: No such file or directory 10 |

[Bug c/100058] New: -Wpadded is inconsistent using -mms-bitfields

2021-04-12 Thread the4naves at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100058 Bug ID: 100058 Summary: -Wpadded is inconsistent using -mms-bitfields Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #2 from cqwrteur --- Then #if 0 the header. checking for stdalign.h... no checking for the value of EOF... configure: error: computing EOF failed make[1]: *** [Makefile:13313: configure-target-libstdc++-v3] Error 1 make[1]: Leaving

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #1 from cqwrteur --- The funny stuff is that __STDC_HOSTED__ should not be set as true. I guess GCC incorrectly mark __STDC_HOSTED__ as 1 for C++, even we live in freestanding environment. #ifndef _GCC_WRAP_STDINT_H #if __STDC_HOSTE

[Bug libstdc++/100057] New: There are no freestanding C++

2021-04-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 Bug ID: 100057 Summary: There are no freestanding C++ Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug target/100056] New: [9/10/11 Regression]

2021-04-12 Thread luc.vanoostenryck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100056 Bug ID: 100056 Summary: [9/10/11 Regression] Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee:

[Bug c++/100055] New: ICE on invalid requires expression

2021-04-12 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055 Bug ID: 100055 Summary: ICE on invalid requires expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/99905] [8/9/10 Regression] wrong code with -mno-mmx -mno-sse since r7-4540-gb229ab2a712ccd44

2021-04-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression] wrong

[Bug debug/99830] [11 Regression] ICE: in lra_eliminate_regs_1, at lra-eliminations.c:659 with -O2 -fno-expensive-optimizations -fno-split-wide-types -g

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

[Bug rtl-optimization/99905] [8/9/10/11 Regression] wrong code with -mno-mmx -mno-sse since r7-4540-gb229ab2a712ccd44

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ffc4155b6e45b8ab71d49a4b584f7cacb693e6b9 commit r11-8140-gffc4155b6e45b8ab71d49a4b584f7cacb693e6b9 Author: Jakub Jelinek Date: Tu

[Bug debug/99830] [11 Regression] ICE: in lra_eliminate_regs_1, at lra-eliminations.c:659 with -O2 -fno-expensive-optimizations -fno-split-wide-types -g

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99830 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9c1c8ad8339d551ac91a7af5614f29b9a687189a commit r11-8139-g9c1c8ad8339d551ac91a7af5614f29b9a687189a Author: Jakub Jelinek Date: T

[Bug tree-optimization/100053] tree-fre incorrectly delete a condition

2021-04-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 --- Comment #1 from Andrew Pinski --- Removing unexecutable edge from if (init_101(D) == 0) Merging blocks 25 and 26

[Bug c++/100054] [11 Regression] internal compiler error: in get_nsdmi

2021-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100054 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug c++/100052] [11 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

2021-04-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 --- Comment #1 from H.J. Lu --- This may be related to PR 12

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2021-04-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #14 from Segher Boessenkool --- (In reply to luoxhu from comment #12) > That code was called by combine pass but fail to match. > > pr newpat > (set (reg:DI 125 [ l ]) > (xor:DI (and:DI (xor:DI (reg/v:DI 120 [ l ]) >

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2021-04-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #13 from Segher Boessenkool --- (In reply to luoxhu from comment #11) > I noticed that you added the below optimization with commit > a62436c0a505155fc8becac07a8c0abe2c265bfe. But it doesn't even handle this > case, cse1 pass will cal

[Bug c++/100054] New: internal compiler error: in get_nsdmi

2021-04-12 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100054 Bug ID: 100054 Summary: internal compiler error: in get_nsdmi Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

RE: Invitation to Advanced Monitoring and Evaluation workshop

2021-04-12 Thread Jackson via Gcc-bugs
Advanced Monitoring and Evaluation for Development Results Course-May 31 to June 11,2021 for 10

[Bug fortran/63797] Bogus ambiguous reference to 'sqrt'

2021-04-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c++/91933] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

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

[Bug c++/93085] ICE in get_class_binding_direct and alias_ctad_tweaks, with C++20 NTTP + CTAD + alias template

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93085 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:84081e2c6bd43a6790f751755865cf4227adac7c commit r11-8137-g84081e2c6bd43a6790f751755865cf4227adac7c Author: Jason Merrill Date: Sa

[Bug tree-optimization/100053] New: tree-fre incorrectly delete a condition

2021-04-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 Bug ID: 100053 Summary: tree-fre incorrectly delete a condition Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 78141, which changed state. Bug 78141 Summary: Missing uninitialized warning about struct member after change another struct definition (without optimization) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78141

[Bug c++/78141] Missing uninitialized warning about struct member after change another struct definition (without optimization)

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78141 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Blocks|

[Bug target/100049] loop counter double increment with longjmp inside

2021-04-12 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100049 --- Comment #3 from Christophe Lyon --- Thanks for the prompt answers! I did notice that putting the code into a single source file made behave "as expected". I did check the longjmp docs but unfortunately missed the section describing this cas

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 78044, which changed state. Bug 78044 Summary: -Wmaybe-uninitialized and -O2: false positive with boost::optional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 What|Removed |Added

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Martin Sebor changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug libstdc++/71434] binomial_distribution operator(): using uninitialized variable

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71434 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Ever confir

[Bug middle-end/70765] GCC fails to detect possibly uninitialized variable

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70765 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Resolution|---

[Bug c++/100052] New: [11 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

2021-04-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 Bug ID: 100052 Summary: [11 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 Product: gcc Version: 11.0 Status: UNCONFIRMED Sever

[Bug middle-end/70069] Uninitialized value default to zero, plus warning

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70069 Martin Sebor changed: What|Removed |Added Blocks||24639 CC|

[Bug tree-optimization/100051] New: missed optimization for dead code elimination at -Os, -O2 and -O3 (vs. -O1)

2021-04-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: posix Supported LTO compression algorithms: zlib gcc version 11.0.1 20210412 (experimental) [master revision 46c47420a5f:66634f1d5eb:8f17d44ad986e0ae7e81c81179463000ee9d7f43] (GCC) [720] % [720] % gcctk -O1 -S -o O1.s small.c [721] % gcctk -O3 -S -o O3.s small.c [722] % [722] % wc O1.s O3.s 56

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 55644, which changed state. Bug 55644 Summary: maybe-uninitialized false positive due to incorrect flow analysis when gotos are present https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55644 What|Removed

[Bug middle-end/55644] maybe-uninitialized false positive due to incorrect flow analysis when gotos are present

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55644 Martin Sebor changed: What|Removed |Added Blocks||24639 CC|

[Bug bootstrap/55371] [asan] False -Werror=uninitialized

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55371 Martin Sebor changed: What|Removed |Added Component|sanitizer |bootstrap CC|

[Bug target/100028] [9/10/11 Regression] arm64 failure to generate bfxil

2021-04-12 Thread luc.vanoostenryck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100028 --- Comment #5 from Luc Van Oostenryck --- (In reply to Jakub Jelinek from comment #4) > Created attachment 50571 [details] > gcc11-pr100028.patch > > Untested fix. This solve the few cases I had. Thanks.

[Bug c++/97974] [9/10 Regression] ICE tree check: expected overload, have function_decl in get_class_binding_direct, at cp/name-lookup.c:1332

2021-04-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97974 Jason Merrill changed: What|Removed |Added Known to work||11.0 Summary|[9/10/11 Regress

[Bug c++/100032] [8/9/10/11 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2021-04-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 Jason Merrill changed: What|Removed |Added Last reconfirmed||2021-04-12 Ever confirmed|0

[Bug middle-end/97353] -Wuninitialized should warn about reading condition in do-loop

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97353 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Sever

[Bug tree-optimization/100050] New: missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2021-04-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 11.0.1 20210412 (experimental) [master revision 46c47420a5f:66634f1d5eb:8f17d44ad986e0ae7e81c81179463000ee9d7f43] (GCC) [599] % [599] % gcctk -O1 -S -o O1.s small.c [600] % gcctk -O3 -S -o O3.s small.c [601] % [601] % wc O1.s O3.s 19 44

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 99340, which changed state. Bug 99340 Summary: -Werror=maybe-uninitialized warning with -fPIE, but not -fPIC https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340 What|Removed |Added --

[Bug c/99340] -Werror=maybe-uninitialized warning with -fPIE, but not -fPIC

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org -

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW See Also|

[Bug target/100049] loop counter double increment with longjmp inside

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

[Bug target/100049] loop counter double increment with longjmp inside

2021-04-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100049 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93383] ICE on accessing field of a structure which is non-type template parameter, -std=c++2a

2021-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93383 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/100049] New: loop counter double increment with longjmp inside

2021-04-12 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100049 Bug ID: 100049 Summary: loop counter double increment with longjmp inside Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/89538] [8.3.0] GCC miscompiling LLVM because of wrong vectorization

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug debug/99830] [11 Regression] ICE: in lra_eliminate_regs_1, at lra-eliminations.c:659 with -O2 -fno-expensive-optimizations -fno-split-wide-types -g

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

[Bug tree-optimization/89579] -Wclobbered warning false positive when compiling with -Og

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/89579] -Wclobbered warning false positive when compiling with -Og

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 Martin Sebor changed: What|Removed |Added Keywords|rejects-valid | Component|c++

[Bug middle-end/100046] compare with itself

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

[Bug target/100028] [9/10/11 Regression] arm64 failure to generate bfxil

2021-04-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100028 --- Comment #4 from Jakub Jelinek --- Created attachment 50571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50571&action=edit gcc11-pr100028.patch Untested fix.

[Bug tree-optimization/100047] False -Wmaybe-uninitialized on one var depending on type of other var

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100047 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/100005] undefined reference to `_rdrand64_step'

2021-04-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15 --- Comment #15 from Jakub Jelinek --- No, no way. It is not an ODR violation, as it is an extension, it is perfectly fine if the inline and out of line definitions differ and they quite often do, e.g. in glibc.

[Bug target/100005] undefined reference to `_rdrand64_step'

2021-04-12 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15 --- Comment #14 from Thiago Macieira --- (In reply to Jakub Jelinek from comment #13) > The same like in C. > I.e. > extern inline __attribute__((gnu_inline, always_inline, artificial)) int foo > (int x) { return x; } > // The above is typically

[Bug target/100005] undefined reference to `_rdrand64_step'

2021-04-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15 --- Comment #13 from Jakub Jelinek --- The same like in C. I.e. extern inline __attribute__((gnu_inline, always_inline, artificial)) int foo (int x) { return x; } // The above is typically from some header int foo (int x) { return x; } // The ab

[Bug target/100005] undefined reference to `_rdrand64_step'

2021-04-12 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15 --- Comment #12 from Thiago Macieira --- (In reply to Richard Biener from comment #11) > Invalid. Note we can't really diagnose GNU extern inline address-taking > since > by definition that's allowed (just the definition needs to come from > el

[Bug libstdc++/100044] ranges::subrange CTAD for __iterator_sentinel_pair not work

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

[Bug target/100048] [10/11 Regression] Wrongful CSE'ing of SVE predicates.

2021-04-12 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100048 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/100044] ranges::subrange CTAD for __iterator_sentinel_pair not work

2021-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100044 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b6bef1cbc14080d5dd0a7ddbb81aa4b68ece84a3 commit r10-9699-gb6bef1cbc14080d5dd0a7ddbb81aa4b68ece84a3 Author: Jonathan Wake

[Bug target/100048] [10/11 Regression] Wrongful CSE'ing of SVE predicates.

2021-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100048 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug target/100021] [9/10/11 Regression] std::clamp unprofitable vectorization on -march=nehalem/.../broadwell

2021-04-12 Thread nok.raven at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100021 Nikita Kniazev changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/100048] [10/11 Regression] Wrongful CSE'ing of SVE predicates.

2021-04-12 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100048 --- Comment #1 from Tamar Christina --- Correction, it's CSE'd into foo: pfalse p1.b ptrue p0.d, all trn1p0.d, p0.d, p1.d faddv h0, p0, z0.h str h0, [x0] str h0, [x0, 2] r

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #15 from Richard Biener --- So ... the conclusion is?

[Bug rtl-optimization/99596] [11 Regression] arm: internal error in single_pred_edge

2021-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99596 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Richard Bi

[Bug target/100048] New: [10/11 Regression] Wrongful CSE'ing of SVE predicates.

2021-04-12 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100048 Bug ID: 100048 Summary: [10/11 Regression] Wrongful CSE'ing of SVE predicates. Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug preprocessor/99446] [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 since r11-6325

2021-04-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/100028] [9/10/11 Regression] arm64 failure to generate bfxil

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

[Bug c++/100047] False -Wmaybe-uninitialized on one var depending on type of other var

2021-04-12 Thread gccbugbjorn at fahller dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100047 --- Comment #1 from Björn Fahller --- Created attachment 50570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50570&action=edit Test program exposing the bug bf@pteranodon /tmp> g++-10 -c -std=c++17 -Wmaybe-uninitialized ./t.cpp -Og # no

[Bug preprocessor/99446] [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 since r11-6325

2021-04-12 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446 --- Comment #9 from Bernd Edlinger --- The last token is a CPP_PRAGMA_EOL, and has a line number 2, while the include file has only one line, so it is similar to an EOL position. I guess therefore this fails to add a column? 1002 location_t

[Bug middle-end/100046] compare with itself

2021-04-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100046 Richard Biener changed: What|Removed |Added Component|rtl-optimization|middle-end --- Comment #1 from Richard

[Bug c++/100047] New: False -Wmaybe-uninitialized on one var depending on type of other var

2021-04-12 Thread gccbugbjorn at fahller dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100047 Bug ID: 100047 Summary: False -Wmaybe-uninitialized on one var depending on type of other var Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

  1   2   >