[Bug c++/104708] New: RV64: gcc does not pass all library directories to linker

2022-02-26 Thread rui314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104708 Bug ID: 104708 Summary: RV64: gcc does not pass all library directories to linker Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/104707] gcc on riscv64 isn't passing entire library path to the linker

2022-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 Andrew Pinski changed: What|Removed |Added Target||riscv64-unknown-linux-gnu --- Comment

[Bug target/104707] New: gcc on riscv64 isn't passing entire library path to the linker

2022-02-26 Thread sterprim at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 Bug ID: 104707 Summary: gcc on riscv64 isn't passing entire library path to the linker Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/104704] [12 Regression] ix86_gen_scratch_sse_rtx doesn't work with explicit XMM7/XMM15/XMM31 usage

2022-02-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104704 H.J. Lu changed: What|Removed |Added Last reconfirmed||2022-02-27 Status|UNCONFIRMED

[Bug c++/39751] [9/10/11/12 Regression] ICE in cp_lexer_new_from_tokens, at cp/parser.c:342

2022-02-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39751 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/104706] New: make_unique cannot create struct of size of 0 due to default_delete's static_assert failure

2022-02-26 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104706 Bug ID: 104706 Summary: make_unique cannot create struct of size of 0 due to default_delete's static_assert failure Product: gcc Version: 12.0 Status: UNCONFIRMED

[PATCH] PR c++/39751: ICE-on-invalid parsing regression.

2022-02-26 Thread Roger Sayle
This is a fix for PR c++/39751 which is an ICE-on-invalid regression in the C++ parser after encountering the end of file. The one line change is to check that the tokens cached in DECL_PENDING_INLINE_INFO haven't been purged before processing them in cp_parser_late_parsing_for_member. Alas in

gcc-11-20220226 is now available

2022-02-26 Thread GCC Administrator via Gcc
Snapshot gcc-11-20220226 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20220226/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

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

2022-02-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

New French PO file for 'gcc' (version 12.1-b20220213)

2022-02-26 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the French team of translators. The file is available at: https://translationproject.org/latest/gcc/fr.po (This file,

[Bug c++/104699] zero-length-array is not considered as an array

2022-02-26 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699 qingzhe huang changed: What|Removed |Added CC||nickhuang99 at hotmail dot com ---

[PATCH] PR middle-end/95126: Expand small const structs as immediate constants.

2022-02-26 Thread Roger Sayle
This patch resolves PR middle-end/95126 which is a code quality regression, by teaching the RTL expander to emit small const structs/unions as integer immediate constants. The motivating example from the bugzilla PR is: struct small{ short a,b; signed char c; }; extern int func(struct small X);

[Bug middle-end/104705] [12 regression] ICE ‘global_options’ are modified in local context in cl_optimization_compare

2022-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104705 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-26 Keywords|

[Bug middle-end/104705] [12 regression] ICE ‘global_options’ are modified in local context in cl_optimization_compare

2022-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104705 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Component|c

[Bug c/104705] New: [12 regression] ICE ‘global_options’ are modified in local context in cl_optimization_compare

2022-02-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
trap --with-native-system-header-dir=/<>/glibc-2.33-108-dev/include --prefix=/tmp/bg/__td__ CFLAGS='-O1 -ggdb3' CXXFLAGS='-O1 -ggdb3' LDFLAGS='-O1 -ggdb3' Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220226 (experimental) (GCC)

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 H.J. Lu changed: What|Removed |Added Depends on||104704 --- Comment #12 from H.J. Lu --- (In

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-02-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org Last

[Bug target/104704] New: [12 Regression] ix86_gen_scratch_sse_rtx doesn't work explicit XMM7/XMM15/XMM31 usage

2022-02-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104704 Bug ID: 104704 Summary: [12 Regression] ix86_gen_scratch_sse_rtx doesn't work explicit XMM7/XMM15/XMM31 usage Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104699] zero-length-array is not considered as an array

2022-02-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ompression algorithms: zlib gcc version 12.0.1 20220226 (experimental) [master r12-7395-gafeaaf4b352] (GCC) [701] % [701] % gcctk -O2 small.c during GIMPLE pass: pre small.c: In function ‘o’: small.c:3:6: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.cc:2795

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Target Milestone|---

[Bug ada/104703] New: GNAT 11.2 exception traceback output is mostly garbled on Intel x64 (MSYS2)

2022-02-26 Thread cthowie at netzero dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104703 Bug ID: 104703 Summary: GNAT 11.2 exception traceback output is mostly garbled on Intel x64 (MSYS2) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2022-02-26 Thread piotr.grabowski at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 Piotr Grabowski changed: What|Removed |Added CC||piotr.grabowski at scylladb dot co

[Bug c++/104702] New: [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-02-26 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Bug ID: 104702 Summary: [12 Regression] False positive -Wunused-value warning with -fno-exceptions Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

Re: [pushed] LRA, rs6000, Darwin: Amend lo_sum use for forced constants [PR104117].

2022-02-26 Thread Segher Boessenkool
Hi Iain, On Thu, Feb 24, 2022 at 04:02:30PM +, Iain Sandoe wrote: > > On 22 Feb 2022, at 14:44, Vladimir Makarov wrote: > > On 2022-02-20 12:34, Iain Sandoe wrote: > >> > >> ^^^ this is mostly for my education - the stuff below is a potential > >> solution to leaving lra-constraints

Re: GSoC (Make cp-demangle non-recursive)

2022-02-26 Thread Juan Scerri
I have just realised that I have a typo. I meant to say 'do not hesitate'. Regards, Juan Scerri On Sat, 26 Feb 2022 at 11:34, Juan Scerri wrote: > To whom this may concern, > > Firstly, I will introduce myself. I am Juan Scerri and I am a student at > the University of Malta studying Computer

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2022-02-26 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #23 from Steven Munroe --- Ok, but I strongly recommend a compiler test that verify that the compiler is generating the expected code (for this and other cases). We have a history of common code changes (accidental or deliberate)

[Bug target/104701] New: MIPS: Nested interrupts won't work with 2 or more shadow register sets

2022-02-26 Thread reimu at sudomaker dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104701 Bug ID: 104701 Summary: MIPS: Nested interrupts won't work with 2 or more shadow register sets Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/64785] [9/10/11/12 Regression][SH] and|or|xor #imm not used

2022-02-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64785 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

2022-02-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|ICE on valid

[Bug tree-optimization/104700] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2795

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/PKfrMK489

[Bug tree-optimization/104700] New: ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2795

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220226 (experimental) [master r12-7395-gafeaaf4b352] (GCC) [628] % [628] % gcctk -O2 -fno

[Bug c++/104699] New: zero-length-array is not considered as an array

2022-02-26 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699 Bug ID: 104699 Summary: zero-length-array is not considered as an array Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/104698] Inefficient code for DI to TI sign extend on power10

2022-02-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104698 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/104698] Inefficient code for DI to TI sign extend on power10

2022-02-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104698 --- Comment #1 from Segher Boessenkool --- GCC should not use unspecs for any basic operations like this. *That* is the problem.

GSoC (Make cp-demangle non-recursive)

2022-02-26 Thread Juan Scerri
To whom this may concern, Firstly, I will introduce myself. I am Juan Scerri and I am a student at the University of Malta studying Computer Science and Mathematics for my undergraduate degree. I am currently in my first year of studies, which is technically my first formal introduction to

[Bug gcov-profile/104685] multiple common of `__gcov_var'

2022-02-26 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 --- Comment #3 from Gejoe --- Thank you Richard for your valuable inputs. That helps !!

[Bug c/104693] Can't disable "comparison between pointer and integer"

2022-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104693 Andrew Pinski changed: What|Removed |Added Severity|normal |minor Last reconfirmed|