[Bug target/104401] [x86] Failure to recognize min/max pattern using pcmp+pblendv

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104401 --- Comment #5 from Richard Biener --- (In reply to Andrew Pinski from comment #3) > On a slightly different subject, I wish VCOND would print out the tree code > symbolically rather than just a number. It would be easier to understand > what

[Bug target/104413] _mm_set1_epi8 isn't optimized for SSE2

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104413 --- Comment #2 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > Just note pshufb needs SSE3, and it seems reasonable to define a SSE3 > broadcast pattern which generates pxor + pshufb. w/ -msse4 gcc generates ideal instructions

Re: [PATCH v3] rs6000: Fix some issues in rs6000_can_inline_p [PR102059]

2022-02-06 Thread Segher Boessenkool
Hi! On Wed, Jan 05, 2022 at 03:34:41PM +0800, Kewen.Lin wrote: > This patch is to fix the inconsistent behaviors for non-LTO mode > and LTO mode. As Martin pointed out, currently the function > rs6000_can_inline_p simply makes it inlinable if callee_tree is > NULL, but it's unexpected, we should

[Bug rtl-optimization/104400] [12 Regression] v850e lra/reload failure after recent change

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104400 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Target|

[Bug c++/104397] Wrong warning message about global static variable in module(.hpp, .cpp)

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104397 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/104396] [11/12 Regression] Invalid SIMD intriniscs accepted at -O1 and above after r11-6794-g04b472ad0e1dc93aba

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104396 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/104391] [9/10/11 Regression] bind(C) and allocatable or pointer attribute don't work

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104391 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/104390] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 0 elts in tsubst_pack_expansion, at cp/pt.cc:13125

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104390 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/104388] Request: A builtin to mark an object as invalid

2022-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104388 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

Re: [PATCH 1/4][RFC] middle-end/90348 - add explicit birth

2022-02-06 Thread Richard Biener via Gcc-patches
On Sat, 5 Feb 2022, Eric Botcazou wrote: > > In the past stack sharing has been quite important for the linux > > kernel. So perhaps one of the tests we should do if we wanted to go > > forward in this cycle would be to test kernel builds to see if any start > > tripping over the stack space

[Bug tree-optimization/104389] [12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-06 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 Xi Ruoyao changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comment

[Bug target/104401] [x86] Failure to recognize min/max pattern using pcmp+pblendv

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104401 --- Comment #4 from Hongtao.liu --- (In reply to Andrew Pinski from comment #3) > On a slightly different subject, I wish VCOND would print out the tree code > symbolically rather than just a number. It would be easier to understand > what the

[PATCH] Check always_inline flag in s390_can_inline_p [PR104327]

2022-02-06 Thread Andreas Krebbel via Gcc-patches
MASK_MVCLE is set for -Os but not for other optimization levels. In general it should not make much sense to inline across calls where the flag is different but we have to allow it for always_inline. The patch also rearranges the hook implementation a bit based on the recommendations from Jakub

[Bug rtl-optimization/104154] [12 Regression] Another ICE due to recent ifcvt changes

2022-02-06 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104154 --- Comment #1 from rdapp at linux dot ibm.com --- Strange, I didn't receive a mail/notification for this PR all, otherwise I would have looked into it earlier. This has been happening a few times lately, grml. Looking into it now.

[Bug target/104401] [x86] Failure to recognize min/max pattern using pcmp+pblendv

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104401 --- Comment #3 from Andrew Pinski --- On a slightly different subject, I wish VCOND would print out the tree code symbolically rather than just a number. It would be easier to understand what the condition exec is really.

[Bug target/104401] [x86] Failure to recognize min/max pattern using pcmp+pblendv

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104401 --- Comment #2 from Hongtao.liu --- (In reply to Andrew Pinski from comment #1) > (set (reg:V16QI 93) > (unspec:V16QI [ > (subreg:V16QI (reg/v:V2DI 92 [ input ]) 0) > (subreg:V16QI (reg/v:V2DI 91 [ value ]) 0) >

Re: [Intel SPR] Progress of GCC support for Intel SPR features

2022-02-06 Thread Hongtao Liu via Gcc
On Mon, Feb 7, 2022 at 11:16 AM LiYancheng via Gcc wrote: > > > On 2022/2/7 10:03, Andrew Pinski wrote: > > On Sun, Feb 6, 2022 at 5:59 PM LiYancheng via Gcc wrote: > >> Hello everyone! > >> > >> I have some questions to ask: > >> > >> 1. How does GCC support Sapphrie Rapids CPU now? > >> > >>

[PATCH] RISC-V: Enable TARGET_SUPPORTS_WIDE_INT

2022-02-06 Thread Vineet Gupta
This is at par with other major arches such as aarch64, i386, s390 ... No testsuite regressions: same numbers w/ w/o | === gcc Summary === | |# of expected passes 113392 |# of unexpected failures 27 |# of unexpected successes 3 |# of expected failures

[Bug rtl-optimization/68212] Loop unroller breaks basic block frequencies

2022-02-06 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68212 --- Comment #10 from Jiu Fu Guo --- I had a try for GCC11, https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574421.html. The patches could mitigate the BB-count mismatch issue for loops. In theory, this patch would make sense. But it also

PING^3 [PATCH v3] rs6000: Fix some issues in rs6000_can_inline_p [PR102059]

2022-02-06 Thread Kewen.Lin via Gcc-patches
Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587635.html BR, Kewen >> on 2022/1/5 下午3:34, Kewen.Lin via Gcc-patches wrote: >>> Hi, >>> >>> This patch is to fix the inconsistent behaviors for non-LTO mode >>> and LTO mode. As Martin pointed out, currently the

[Bug target/104413] _mm_set1_epi8 isn't optimized for SSE2

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104413 --- Comment #1 from Hongtao.liu --- Just note pshufb needs SSE3, and it seems reasonable to define a SSE3 broadcast pattern which generates pxor + pshufb.

Re: [PATCH v2] rs6000: Disable MMA if no VSX support [PR103627]

2022-02-06 Thread Kewen.Lin via Gcc-patches
on 2022/1/28 上午1:17, Segher Boessenkool wrote: > Hi! > > On Thu, Jan 27, 2022 at 07:21:33PM +0800, Kewen.Lin wrote: >> PR target/103627 >> * config/rs6000/rs6000.cc (rs6000_option_override_internal): Disable >> MMA if !TARGET_VSX. >> >> gcc/testsuite/ChangeLog: >> >> PR

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2022-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #6 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:e66ba0f55c000152df63fc67c11a64f79122ef86 commit r12-7079-ge66ba0f55c000152df63fc67c11a64f79122ef86 Author: Kewen Lin Date: Sun Feb

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2022-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #5 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:8103623923ac4ea19b97a369979d4bd5731aab57 commit r12-7078-g8103623923ac4ea19b97a369979d4bd5731aab57 Author: Kewen Lin Date: Sun Feb

[Bug target/104371] [x86] Failure to use optimize pxor+pcmpeqb+pmovmskb+cmp 0xFFFF pattern to ptest

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104371 --- Comment #5 from Hongtao.liu --- (In reply to Richard Biener from comment #1) >[local count: 1073741824]: > _2 = VIEW_CONVERT_EXPR<__v16qi>(x_3(D)); > _6 = _2 == { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; > _7 =

[Bug target/104413] New: _mm_set1_epi8 isn't optimized for SSE2

2022-02-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104413 Bug ID: 104413 Summary: _mm_set1_epi8 isn't optimized for SSE2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/104371] [x86] Failure to use optimize pxor+pcmpeqb+pmovmskb+cmp 0xFFFF pattern to ptest

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104371 --- Comment #4 from Hongtao.liu --- Failed to match this instruction: (set (reg:CCZ 17 flags) (compare:CCZ (unspec:SI [ (eq:V16QI (subreg:V16QI (reg:V2DI 94) 0) (const_vector:V16QI [

[Bug target/104371] [x86] Failure to use optimize pxor+pcmpeqb+pmovmskb+cmp 0xFFFF pattern to ptest

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104371 --- Comment #3 from Hongtao.liu --- Similar for #include bool is_zero256(__m256i x) { return _mm256_movemask_epi8(_mm256_cmpeq_epi8(x, _mm256_setzero_si256())) == 0x; }

ld error on Mac Monterey 1.2 gcc version 11.2.0

2022-02-06 Thread Zhang Mian
Hi When I tried old gfortran7, the below works: gfortran-7 dgesvd-ex.f -o DGESVD.out -L/usr/local/opt/lapack/lib -llapack -lblas But gfortran 11 failed: gfortran dgesvd-ex.f -o DGESVD.out -L/usr/local/opt/lapack/lib -llapack -lblas ld: library not

Re: [Intel SPR] Progress of GCC support for Intel SPR features

2022-02-06 Thread LiYancheng via Gcc
On 2022/2/7 10:03, Andrew Pinski wrote: On Sun, Feb 6, 2022 at 5:59 PM LiYancheng via Gcc wrote: Hello everyone! I have some questions to ask: 1. How does GCC support Sapphrie Rapids CPU now? 2. Does GCC 11 fully support all the features of SPR? From the release note, it seems that 5g

[Bug target/88798] AVX512BW code does not use bit-operations that work on mask registers

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88798 --- Comment #7 from Hongtao.liu --- (In reply to Wojciech Mula from comment #6) > Hongtao, thank you for your patch and for pinging back! I checked the code > from this issue against version 11.2.0 (Debian 11.2.0-14), but still, there > are

Re: [PATCH] RISC-V: Add target machine headers as a dependency for riscv-sr.o

2022-02-06 Thread Kito Cheng via Gcc-patches
OK to trunk, thanks for fixing this issue, I hit that issue before but I didn't figure out what happened...since that issue will disappear when I clean build :p On Tue, Feb 1, 2022 at 5:52 AM Maciej W. Rozycki wrote: > > Make riscv-sr.o depend on target machine headers, removing spurious test >

[Bug target/104219] [12 regression] riscv64 compiler build fails

2022-02-06 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104219 --- Comment #5 from Kito Cheng --- I plan back port this fix to GCC 11 branch too, and will close this bug after back port.

Re: [Intel SPR] Progress of GCC support for Intel SPR features

2022-02-06 Thread Andrew Pinski via Gcc
On Sun, Feb 6, 2022 at 5:59 PM LiYancheng via Gcc wrote: > > Hello everyone! > > I have some questions to ask: > > 1. How does GCC support Sapphrie Rapids CPU now? > > 2. Does GCC 11 fully support all the features of SPR? > From the release note, it seems that 5g ISA (fp16)/hfni is > not

[Intel SPR] Progress of GCC support for Intel SPR features

2022-02-06 Thread LiYancheng via Gcc
Hello everyone! I have some questions to ask: 1. How does GCC support Sapphrie Rapids CPU now? 2. Does GCC 11 fully support all the features of SPR? From the release note, it seems that 5g ISA (fp16)/hfni is not supported yet. 3. What is the simulation tool used by GCC to verify SPR

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2022-02-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 --- Comment #1 from Hongtao.liu --- I think this patch has already been reverted by r12-3011-g1db70e61a92978377a648bbd90e383859fc0126b.

[Bug c++/104410] [11/12 Regression] Internal error using default-initialized constexpr bool in requires clause

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104410 --- Comment #2 from Andrew Pinski --- here is slightly more reduced: constexpr bool use_func_v{}; struct func_obj { template requires use_func_v void operator()(T); }; template concept tt = requires {t{}(args{}...);}; constexpr bool

[Bug c++/104410] [11/12 Regression] Internal error using default-initialized constexpr bool in requires clause

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104410 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/104410] [11/12 Regression] Internal error using default-initialized constexpr bool in requires clause

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104410 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0, 11.2.0 Keywords|

[Bug middle-end/104402] [9/10/11/12 Regression] ICE on valid code caused by not lowering complex int compare inside a COND_EXPR

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104402 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc

[Bug fortran/104404] Incorrect CFI_cdesc_t "type" member for assumed-type, assumed-rank complex dummy arguments

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104404 --- Comment #1 from Andrew Pinski --- I think this was already fixed on the trunk.

[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

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

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/104412] union initialization of a vector is not optimized due to vector cost model

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104412 --- Comment #1 from Andrew Pinski --- Adding -fno-vect-cost-model allows it to be optimized. So a cost model issue

gcc-12-20220206 is now available

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

[Bug target/104412] union initialization of a vector is not optimized due to vector cost model

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104412 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target Last reconfirmed|

[Bug tree-optimization/104412] [Aarch64] Failure to optimize vector initialization from int64s

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104412 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|target

[Bug target/104412] New: [Aarch64] Failure to optimize vector initialization from int64s

2022-02-06 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104412 Bug ID: 104412 Summary: [Aarch64] Failure to optimize vector initialization from int64s Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/104409] [Aarch64] Crash when compiling source code of any significant size with -march=armv8.7-a

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 Andrew Pinski changed: What|Removed |Added Keywords|GC | --- Comment #1 from Andrew Pinski

Re: Compiling GCC source

2022-02-06 Thread Martin Jambor
Hello, On Sun, Feb 06 2022, Mohamed Atef via Gcc wrote: > Hello everyone, > I built gcc from the repo and it took around 2 hours but I am > wondering should I wait two hours after every modification? > Is there any way to recompile faster. > That's very important as we will add some files

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[PATCH] PR fortran/66193 - ICE for initialisation of some non-zero-sized arrays

2022-02-06 Thread Harald Anlauf via Gcc-patches
Dear Fortranners, some instances of valid constant array constructors did lead to ICEs. It turned out that on the one hand we need to attempt simplification of elements of the constructor, especially when we encounter parenthesized expression. On the other hand the occurence of type specs and

Re: [PATCH] PR/101135 - Load of null pointer when passing absent assumed-shape array argument for an optional dummy argument

2022-02-06 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 04.02.22 um 11:45 schrieb Mikael Morin: Hello, Le 29/01/2022 à 22:41, Harald Anlauf via Fortran a écrit : The least invasive change - already pointed out by the reporter - is to check the presence of the argument before dereferencing the data pointer after the offset

[Bug c++/104411] Cannot capture by reference using braced initializer

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

[Bug middle-end/104399] Mingw to generate bogus.o on French locale

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

[Bug c++/104411] New: Cannot capture by reference using braced initializer

2022-02-06 Thread oliver.rosten at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104411 Bug ID: 104411 Summary: Cannot capture by reference using braced initializer Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

Query regarding generating NOTE instruction at GIMPLE level

2022-02-06 Thread Shubham Narlawar via Gcc
Hello, Is it possible to generate a NOTE instruction at GIMPLE level? My use case scenario is as below - I want to create a note for __builtin_xyz(_x) such that there is a placeholder just before function call and in RTL pass, I want to modify/assign register number at this placeholder location.

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
45 mins and i am waiting في الأحد، ٦ فبراير، ٢٠٢٢ ٩:١٨ م Mir Immad كتب: > The build system probably first tries to make sure if everything is in > place and if there were any changes and re-compiles the new/changed files. > > How much time does it take when you try to rebuild? > > On Mon, Feb

Re: Compiling GCC source

2022-02-06 Thread Mir Immad via Gcc
The build system probably first tries to make sure if everything is in place and if there were any changes and re-compiles the new/changed files. How much time does it take when you try to rebuild? On Mon, Feb 7, 2022, 12:43 AM Mohamed Atef wrote: > After i built it > I tried make - j 8 and

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
After i built it I tried make - j 8 and it's recompiling now i thought i will have messege like Every thing is up to date or there are no change done But it actually started to compile again في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٨ م Mir Immad كتب: > Yes, that is right. > > On Mon, Feb 7, 2022, 12:38 AM

Re: Compiling GCC source

2022-02-06 Thread Mir Immad via Gcc
Yes, that is right. On Mon, Feb 7, 2022, 12:38 AM Mohamed Atef wrote: > Hello, > Only modified files will be recompiled, won't it? > > > في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad كتب: > >> Make sure to use all the cores available. >> >> make -j N >> >> e.g; make -j 8 >> >> >> On Mon, Feb

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
Hello, Only modified files will be recompiled, won't it? في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad كتب: > Make sure to use all the cores available. > > make -j N > > e.g; make -j 8 > > > On Mon, Feb 7, 2022, 12:26 AM Mohamed Atef via Gcc > wrote: > >> Hello everyone, >> I built

Re: Compiling GCC source

2022-02-06 Thread Mir Immad via Gcc
Make sure to use all the cores available. make -j N e.g; make -j 8 On Mon, Feb 7, 2022, 12:26 AM Mohamed Atef via Gcc wrote: > Hello everyone, > I built gcc from the repo and it took around 2 hours but I am > wondering should I wait two hours after every modification? > Is there any

Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
Hello everyone, I built gcc from the repo and it took around 2 hours but I am wondering should I wait two hours after every modification? Is there any way to recompile faster. That's very important as we will add some files and tests for OMPD. Thanks

[Bug target/97040] incorrect fused multiply add/subtract instruction generated from C code

2022-02-06 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97040 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug c++/104410] New: Internal error using default-initialized constexpr bool in requires clause

2022-02-06 Thread oliver.rosten at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104410 Bug ID: 104410 Summary: Internal error using default-initialized constexpr bool in requires clause Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug target/104409] New: [Aarch64] Crash when compiling source code of any significant size with -march=armv8.7-a

2022-02-06 Thread gabravier at gmail dot com via Gcc-bugs
-build_pc-linux-gnu --target=aarch64-unknown-linux-gnu --prefix=/opt/compiler-explorer/arm64/gcc-trunk-20220206/aarch64-unknown-linux-gnu --exec_prefix=/opt/compiler-explorer/arm64/gcc-trunk-20220206/aarch64-unknown-linux-gnu --with-sysroot=/opt/compiler-explorer/arm64/gcc-trunk-20220206/aarch64-unkn

[Bug c++/96242] ICE conditionally noexcept defaulted comparison

2022-02-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96242 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/96242] ICE conditionally noexcept defaulted comparison

2022-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96242 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8eb329e963593342855b6072e5692659107337b7 commit r12-7076-g8eb329e963593342855b6072e5692659107337b7 Author: Patrick Palka Date:

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #20 from Iain Sandoe --- (In reply to Iain Sandoe from comment #15) > (In reply to Vladimir Makarov from comment #13) > > I think there are two code spots whose pitfalls resulted in the PR. > > --- a/gcc/config/rs6000/rs6000.c > >

[Bug target/104118] gcc11 fails to build R for ppc64 on 10.5.8

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104118 --- Comment #2 from Iain Sandoe --- At present, I cannot reproduce this with the .i and the command line given - please could you attach the .o and .s files as well?

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #19 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #18) > (In reply to Iain Sandoe from comment #17) > > FTR: this is the patch I came up with: > > Does it affect only ppc64? I am asking since if it affects ppc32,

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #18 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #17) > FTR: this is the patch I came up with: Does it affect only ppc64? I am asking since if it affects ppc32, then I rather rebuild gcc10ppc and gcc11ppc installed

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #17 from Iain Sandoe --- FTR: this is the patch I came up with: diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 843ce97b993..3f803bd791f 100644 --- a/gcc/config/rs6000/rs6000.c +++

[Bug go/104290] [12 Regression] trunk 20220126 fails to build libgo on i686-gnu

2022-02-06 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #2 from Svante Signell --- Created attachment 52360 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52360=edit Fix broken split-stack support for GNU/Hurd Hello, The attached patch defines OPTION_GLIBC_P and OPTION_GLIBC that

[Bug middle-end/104399] Mingw to generate bogus.o on French locale

2022-02-06 Thread eric.pouech at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104399 --- Comment #3 from eric.pouech at orange dot fr --- bug opened on binutils side https://sourceware.org/bugzilla/show_bug.cgi?id=28867

[Bug target/97005] [nvptx] FAIL: c-c++-common/torture/builtin-arith-overflow-15.c -O0 execution test

2022-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97005 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #16 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #14) > (In reply to Vladimir Makarov from comment #13) > > The following patch solves the problem: > > > Does this also address Bug 104118? >

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #15 from Iain Sandoe --- (In reply to Vladimir Makarov from comment #13) > I think there are two code spots whose pitfalls resulted in the PR. > > The first one is in rs6000.cc::legitimate_lo_sum_address_p which permits > wrong pic

[Bug c++/104033] [12 regression] g++.dg/cpp0x/constexpr-compare2.C fails with excess errors after r12-6578

2022-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104033 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

2022-02-06 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 --- Comment #2 from Artur Bać --- I think it is connected with this case https://godbolt.org/z/cvfs1KqGW https://godbolt.org/z/vdzTzo7be //sizeof(foo) ==12 struct base { uint32_t x{}; std::byte v{}; base() noexcept = default; }; struct foo

[Bug c++/89074] valid pointer equality constexpr comparison rejected

2022-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89074 --- Comment #18 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f9e900ce9b17dc7d3a3809d0b0648ebe529a87c5 commit r12-7075-gf9e900ce9b17dc7d3a3809d0b0648ebe529a87c5 Author: Jakub Jelinek Date:

[Bug c++/104033] [12 regression] g++.dg/cpp0x/constexpr-compare2.C fails with excess errors after r12-6578

2022-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104033 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f9e900ce9b17dc7d3a3809d0b0648ebe529a87c5 commit r12-7075-gf9e900ce9b17dc7d3a3809d0b0648ebe529a87c5 Author: Jakub Jelinek Date:

[Bug rtl-optimization/104405] Inefficient register allocation on complex arithmetic

2022-02-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104405 Eric Botcazou changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 --- Comment #1 from Tamar Christina --- In particular, the rewrite should probably be gated on the expression being single use.

[Bug rtl-optimization/104405] Inefficient register allocation on complex arithmetic

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104405 --- Comment #5 from Andrew Pinski --- (In reply to Tamar Christina from comment #4) > But seems to me a simple enough thing that we should be able to handle. It looks simple but register allocation especially with demands on some things in

[Bug rtl-optimization/104405] Inefficient register allocation on complex arithmetic

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104405 --- Comment #4 from Tamar Christina --- (In reply to Andrew Pinski from comment #2) > The big question becomes now is really an issue in real world code or just a > toy benchmark which is testing argument/return passing optimizations? Can't

[Bug rtl-optimization/104405] Inefficient register allocation on complex arithmetic

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104405 Andrew Pinski changed: What|Removed |Added Component|middle-end |rtl-optimization

[Bug tree-optimization/104406] SLP discovery doesn't use TWO_OPERAND nodes as seeds

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104406 --- Comment #2 from Tamar Christina --- Yeah it looks like there's an overlap with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485 indeed, but that ticket seems to be trying to address multiple things at once including an x86 costing issue.

[Bug middle-end/104405] Inefficient register allocation on complex arithmetic

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

[Bug tree-optimization/104408] New: SLP discovery fails due to -Ofast rewriting

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 Bug ID: 104408 Summary: SLP discovery fails due to -Ofast rewriting Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/104407] [10/11/12 Regression] '-fcompare-debug' failure (length) w/ -std=c++17 -O1

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104407 Andrew Pinski changed: What|Removed |Added Component|debug |target --- Comment #2 from Andrew

[Bug debug/104407] [10/11/12 Regression] '-fcompare-debug' failure (length) w/ -std=c++17 -O1

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

[Bug target/97005] [nvptx] FAIL: c-c++-common/torture/builtin-arith-overflow-15.c -O0 execution test

2022-02-06 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97005 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > Created attachment 52359 [details] > Cuda reproducer Filed at https://developer.nvidia.com/nvidia_bug/3527713 as "cvt.u32.u16 sign-extends instead of

[Bug middle-end/104399] Mingw to generate bogus.o on French locale

2022-02-06 Thread eric.pouech at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104399 --- Comment #2 from eric.pouech at orange dot fr --- output of compiling with -save-temp generating the good.s, good-eng.s and fail.s (with same naming conventions as in #1) [eric]$ diff good.s good-eng.s 7812c7812 < .ascii "Unknown PCI

[Bug target/97005] [nvptx] FAIL: c-c++-common/torture/builtin-arith-overflow-15.c -O0 execution test

2022-02-06 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97005 --- Comment #1 from Tom de Vries --- Created attachment 52359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52359=edit Cuda reproducer