Re: [committed] gimple UIDs, LTO and -fanalyzer [PR98599]

2021-04-12 Thread Jan Hubicka
Hello > > Thanks. > > > > I think my earlier analysis was wrong. Sorry for late reply. I was looking into it again yesterday but was bit confused about what is goin gon here. > > > > With the caveat that I'm not as familiar with the IPA code as other > > parts of the compiler, what I think is

[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

GSoC 2021 Proposal - Improve diagnostic messages for Rust-GCC

2021-04-12 Thread Ruihan Li via Gcc
Hello everyone. I'll work on improving diagnostic messages for GCC's Rust front-end in Google Summer of Code. Here is the proposal: https://docs.google.com/document/d/1ZPRKu-PKPdZVOAZyYRq7YfSfA0eo7wyX3IL9KJoULnA/edit?usp=sharing Feel free to leave any comments or suggestions here. Ruihan Li

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

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

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

[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

Committed: gcc.dg/analyzer/data-model-1.c: Inverse xfail for cris-*-*, PR99212

2021-04-12 Thread Hans-Peter Nilsson via Gcc-patches
See PR99212. Now, cris-elf isn't the only target for which this line shows a failure; pru-unknown-elf and m68k-unknown-linux-gnu are two others. I'll leave adjustments to the respective maintainers, but trivially appending more triplets should work: no extra bracketing needed. A specific

[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

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

[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

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

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

[committed] gimple UIDs, LTO and -fanalyzer [PR98599]

2021-04-12 Thread David Malcolm via Gcc-patches
On Thu, 2021-01-21 at 22:07 -0500, David Malcolm via Gcc-patches wrote: > On Thu, 2021-01-21 at 20:09 +0100, Jan Hubicka wrote: > > > On Thu, 2021-01-14 at 15:00 +0100, Jan Hubicka wrote: > > > > > On Wed, Jan 13, 2021 at 11:04 PM David Malcolm via > > > > > Gcc-patches > > > > > wrote: > > > > >

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

Re: [GCC 12] [PATCH v2] Add inline_ignore_target function attribute

2021-04-12 Thread H.J. Lu via Gcc-patches
On Mon, Apr 12, 2021 at 4:55 PM Martin Sebor wrote: > > On 4/12/21 3:53 PM, H.J. Lu via Gcc-patches wrote: > > On Mon, Apr 12, 2021 at 2:21 AM Richard Biener > > wrote: > >> > >> On Sat, Apr 10, 2021 at 5:11 PM H.J. Lu via Gcc-patches > >> wrote: > >>> > >>> Add inline_ignore_target function

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

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

Re: GCC association with the FSF

2021-04-12 Thread Daniel (Robin) Smith via Gcc
"but muh freedum license re" "haha quality compiler suite go brrr" On Mon, Apr 12, 2021, 8:25 PM Chris Punches via Gcc wrote: > That will never make it appropriate. > > I would encourage you to reflect more carefully on the meaning of the > words you are reading and using. > > These

[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

[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

Re: [GCC 12] [PATCH v2] Add inline_ignore_target function attribute

2021-04-12 Thread Martin Sebor via Gcc-patches
On 4/12/21 3:53 PM, H.J. Lu via Gcc-patches wrote: On Mon, Apr 12, 2021 at 2:21 AM Richard Biener wrote: On Sat, Apr 10, 2021 at 5:11 PM H.J. Lu via Gcc-patches wrote: Add inline_ignore_target function attribute to inform the compiler that target specific option mismatch on functions with

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

Re: GCC association with the FSF

2021-04-12 Thread Chris Punches via Gcc
That will never make it appropriate. I would encourage you to reflect more carefully on the meaning of the words you are reading and using. These arguments are paper thin, and full of lofty rhetoric; none of them will expand the expectation of anyone here to include integrating their poltical

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

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

Re: [PATCH] combine: Don't fold away side-effects in simplify_and_const_int_1 [PR99830]

2021-04-12 Thread Segher Boessenkool
Hi! On Sat, Apr 10, 2021 at 08:02:29AM +0200, Jakub Jelinek wrote: > Here is an alternate patch for the PR99830 bug. > As discussed on IRC and in the PR, the reason why a (clobber:TI (const_int 0)) > has been propagated into the debug insns is that it got optimized away > during simplification

[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

Re: [PATCH] combine: Avoid propagation of (clobber (const_int 0)) into DEBUG_INSNs [PR99830]

2021-04-12 Thread Segher Boessenkool
Hi! On Fri, Apr 09, 2021 at 09:49:30AM +0200, Jakub Jelinek wrote: > On the following testcase on aarch64 the combiner propagates > (clobber:TI (const_int 0)) into a DEBUG_INSN. Such clobbers are > specific to the combiner, created by gen_lowpart_for_combine: > fail: > return gen_rtx_CLOBBER

[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

[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: [PATCH] c++: Reject alias CTAD in C++17 [PR99008]

2021-04-12 Thread Patrick Palka via Gcc-patches
On Mon, 12 Apr 2021, Jason Merrill wrote: > On 4/10/21 3:57 PM, Patrick Palka wrote: > > Here, in C++17 mode, we only pedwarn about the use of alias CTAD and > > then later ICE from alias_ctad_tweaks when attempting to add a > > constraint to one of the guides. Since the construction of the

libgo patch committed: Update to Go1.16.3 release

2021-04-12 Thread Ian Lance Taylor via Gcc-patches
This patch updates libgo to the Go1.16.3 release. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian dfbc12e031900c1f30bb94332823d39e5b241b40 diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index a3eef239eca..efb7a772882 100644 ---

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

Re: [PATCH] Fix logic error in 32-bit trampolines, PR target/98952

2021-04-12 Thread will schmidt via Gcc-patches
On Fri, 2021-04-09 at 17:09 -0400, Michael Meissner wrote: > Fix logic error in 32-bit trampolines, PR target/98952. > > The test in the PowerPC 32-bit trampoline support is backwards. It aborts > if the trampoline size is greater than the expected size. It should abort > when the trampoline

[GCC 12] [PATCH v2] Add inline_ignore_target function attribute

2021-04-12 Thread H.J. Lu via Gcc-patches
On Mon, Apr 12, 2021 at 2:21 AM Richard Biener wrote: > > On Sat, Apr 10, 2021 at 5:11 PM H.J. Lu via Gcc-patches > wrote: > > > > Add inline_ignore_target function attribute to inform the compiler that > > target specific option mismatch on functions with the always_inline > > attribute may be

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

[pushed] c++: premature overload resolution [PR93085]

2021-04-12 Thread Jason Merrill via Gcc-patches
We can't resolve the call to foo<42> before instantiation of G, because the template parameter of #1 has dependent type. But we were missing that in our dependency check, because the tree walk of DECL_TEMPLATE_PARMS doesn't look into the types of template parameters. So look at them directly.

Re: [PATCH] c++: constraints are unevaluated operands [PR99961]

2021-04-12 Thread Jason Merrill via Gcc-patches
On 4/11/21 11:37 AM, Patrick Palka wrote: According to [temp.concept]/6 and [temp.pre]/9, a concept definition and a requires clause are both unevaluated contexts, and hence satisfaction deals only with unevaluated operands, so we should set cp_unevaluated in these three situations. (I guess we

Re: [PATCH] c++: variadic class placeholder template deduction [PR97134]

2021-04-12 Thread Jason Merrill via Gcc-patches
On 4/9/21 5:25 PM, Patrick Palka wrote: do_class_deduction handles specially the case where we're deducing one placeholder from another equivalent one, but here the initializer passed to do_class_deduction is wrapped in an EXPR_PACK_EXPANSION (we're being called from unify during

Re: [PATCH] c++: Reject alias CTAD in C++17 [PR99008]

2021-04-12 Thread Jason Merrill via Gcc-patches
On 4/10/21 3:57 PM, Patrick Palka wrote: Here, in C++17 mode, we only pedwarn about the use of alias CTAD and then later ICE from alias_ctad_tweaks when attempting to add a constraint to one of the guides. Since the construction of the guides of an alias template effectively relies on concepts,

Re: GCC association with the FSF

2021-04-12 Thread Nathan Sidwell
On 4/12/21 5:32 AM, Richard Biener via Gcc wrote: Please concentrate on the important things, we're supposed to get a release of GCC 11 out of the door. Then it is important this is resolved. nathan -- Nathan Sidwell

Re: GCC association with the FSF

2021-04-12 Thread Nathan Sidwell
On 4/11/21 9:34 PM, Chris Punches via Gcc wrote: It is not appropriate to discuss the removal of someone based on innuendo, provenly false smearing, and other types of political maneuvering at the behest of corporations desiring the destruction of the very projects they are sponsoring. Good

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

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

Re: [GSoC-2021] Interested in project `Extend the static analysis pass`

2021-04-12 Thread Saloni Garg via Gcc
On Mon, Apr 12, 2021 at 7:35 PM David Malcolm wrote: > On Sun, 2021-04-11 at 17:06 +0530, Saloni Garg wrote: > > On Sun, Apr 11, 2021 at 12:14 AM David Malcolm > > wrote: > > > > > On Sat, 2021-04-10 at 21:18 +0530, Saloni Garg wrote: > > > > On Thu, Apr 8, 2021 at 8:19 AM David Malcolm > > > >

Re: [PATCH] combine: Fix up expand_compound_operation [PR99905]

2021-04-12 Thread Segher Boessenkool
Hi! On Thu, Apr 08, 2021 at 11:24:04AM +0200, Jakub Jelinek wrote: [ snip great explanation ] > The following patch fixes it, by doing the shift in inner_mode properly > and then after the shift doing the lowpart subreg and masking already > in mode. > > Bootstrapped/regtested on x86_64-linux

[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

Re: enable __ieee128 for p9vector tests

2021-04-12 Thread Segher Boessenkool
Hi! Sorry for the late answer. On Fri, Apr 02, 2021 at 01:52:59PM -0300, Alexandre Oliva wrote: > Several compile tests that use the __ieee128 type do not ensure it is > defined. This patch adds -mfloat128 to their command lines, and > disregards the warning that may be issued by it. But they

[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

[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

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

[PATCH] simplify-rtx: Punt on simplify_{,gen_}subreg to IBM double double if bits are lost [PR99648]

2021-04-12 Thread Jakub Jelinek via Gcc-patches
Hi! Similarly to PR95450 done on GIMPLE, this patch punts if we try to simplify_{gen_,}subreg from some constant into the IBM double double IFmode (or sometimes TFmode) if the double double format wouldn't preserve the bits. Not all values are valid in IBM double double, e.g. the format requires

[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

[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

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

Re: GCC association with the FSF

2021-04-12 Thread Adhemerval Zanella via Gcc
On 12/04/2021 14:52, Alexandre Oliva wrote: > On Apr 12, 2021, Adhemerval Zanella wrote: > >> No, you are insinuating that the glibc community both as maintainer >> and contributors acted in a hateful way regarding the 'joke' >> removal. Sorry, but this is not true; > > Easy to say for

[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

Re: GCC association with the FSF

2021-04-12 Thread Alexandre Oliva via Gcc
On Apr 12, 2021, Adhemerval Zanella wrote: > No, you are insinuating that the glibc community both as maintainer > and contributors acted in a hateful way regarding the 'joke' > removal. Sorry, but this is not true; Easy to say for someone who hasn't been the target of hate, but it's just that

Patch ping for PR95176 fix

2021-04-12 Thread Victor Tong via Gcc-patches
Hello, I'd like to ping this patch. It contains two new tree-opt patterns in match.pd. [PATCH] tree-optimization: Optimize division followed by multiply [PR95176] (gnu.org) Thanks, Victor

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

[PATCH] c++: do_class_deduction and dependent init [PR93383]

2021-04-12 Thread Patrick Palka via Gcc-patches
Here we're crashing during deduction for a template placeholder from a dependent initializer because one of the initializer's elements has an empty TREE_TYPE, something which resolve_args and later unify_one_argument don't expect. And if the deduction from a dependent initializer otherwise fails,

[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

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

  1   2   3   >