[PATCH] ipa-devirt: Fix crash in obj_type_ref_class [PR95114]

2020-05-14 Thread Richard Sandiford
The testcase has failed since r9-5035, because obj_type_ref_class tries to look up an ODR type when no ODR type information is available. (The information was available earlier in the compilation, but was freed during pass_ipa_free_lang_data.) We then crash dereferencing the null get_odr_type

Re: [PATCH] Add tests for gcc-changelog.

2020-05-14 Thread Jakub Jelinek via Gcc-patches
On Thu, May 14, 2020 at 12:11:50PM +0200, Martin Liška wrote: > I would like to add unit-tests for gcc-changelog. > The test_patches.txt contains couple of patches extracted from gcc > via git format-patch. > > Test output: > $ pytest contrib/gcc-changelog/ > Test session starts (platform: linux,

[Bug c++/95111] coroutines use-after-free with lambdas

2020-05-14 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95111 --- Comment #12 from Ville Voutilainen --- It sure seems to me that a coroutine lambda's captures should be copied to the coroutine state. I don't think the standard says that anywhere.

[committed] aarch64: Fix arm_sve_vector_bits on typedefs [PR95105]

2020-05-14 Thread Richard Sandiford
Compiling this testcase with -march=armv8.2-a+sve -msve-vector-bits=512: -- typedef __SVFloat32_t foo; typedef foo bar __attribute__((arm_sve_vector_bits(512))); template struct s { T x; }; extern s a; bar = a.x;

[Bug target/95105] Bogus reference-compatibility error for arm_sve_vector_bits

2020-05-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95105 --- Comment #1 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:2c814af65ef9f146519cba657890a4fd93c5be38 commit r11-385-g2c814af65ef9f146519cba657890a4fd93c5be38 Author: Richard Sandiford

[Bug target/95129] aarch64: make outline-atomics work on non-gnu targets

2020-05-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug c++/95111] coroutines use-after-free with lambdas

2020-05-14 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95111 --- Comment #11 from Avi Kivity --- I started a conversation on the std-proposals list about this. Meanwhile, how about a -fnonstandard-coroutines-that-actually-work flag that captures the parameter to a non-static member function coroutine by

Re: [PATCH v2] Fold (add -1; zero_ext; add +1) operations to zero_ext when not overflow (PR37451, part of PR61837)

2020-05-14 Thread Richard Sandiford
luoxhu writes: > This "subtract/extend/add" existed for a long time and still annoying us > (PR37451, part of PR61837) when converting from 32bits to 64bits, as the ctr > register is used as 64bits on powerpc64, Andraw Pinski had a patch but > caused some issue and reverted by Joseph S.

Re: Should ARMv8-A generic tuning default to -moutline-atomics

2020-05-14 Thread Szabolcs Nagy
The 04/30/2020 12:26, Kyrylo Tkachov wrote: > > > From: Gcc On Behalf Of Andrew Pinski via Gcc > > > On Wed, Apr 29, 2020 at 6:25 AM Florian Weimer via Gcc > > > wrote: > > > > Distributions are receiving requests to build things with > > > > -moutline-atomics: > > > > > > > >

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 Martin Liška changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Martin Liška

[Bug target/95129] aarch64: make outline-atomics work on non-gnu targets

2020-05-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129 --- Comment #1 from nsz at gcc dot gnu.org --- i also opened bug 95128 to just configure the outline-atomics away.

[Bug target/95128] aarch64: configure option for outline-atomics

2020-05-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95128 --- Comment #2 from nsz at gcc dot gnu.org --- i also opened bug 95129 to fix the runtime detection.

[Bug target/95129] New: aarch64: make outline-atomics work on non-gnu targets

2020-05-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129 Bug ID: 95129 Summary: aarch64: make outline-atomics work on non-gnu targets Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/95128] aarch64: configure option for outline-atomics

2020-05-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95128 ktkachov at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/95128] New: aarch64: configure option for outline-atomics

2020-05-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95128 Bug ID: 95128 Summary: aarch64: configure option for outline-atomics Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #13 from Jonathan Wakely --- We could do this easily enough (which could be simplified if RDRAND is guaranteed to be available when RDSEED is available): --- a/libstdc++-v3/src/c++11/random.cc +++ b/libstdc++-v3/src/c++11/random.cc

[Bug c++/95127] Self-calling lambda with auto return type gives misleading error message

2020-05-14 Thread xzlsmc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95127 xzlsmc changed: What|Removed |Added Attachment #48532|0 |1 is obsolete|

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 --- Comment #7 from Arseny Solokha --- (In reply to Alexander Monakov from comment #6) > Oh, you're probably configuring your compiler with --enable-default-pie. > Please paste the entire gcc -v. I can reproduce the miscompile it if I pass >

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #12 from Jonathan Wakely --- (In reply to wnereiz from comment #9) > This issue seems not limit to a certain GCC version. I tried the code with > gcc7, gcc9 and gcc10 on openSUSE Tumbleweed. All failed. As Richard said, the code to

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 --- Comment #6 from Alexander Monakov --- Oh, you're probably configuring your compiler with --enable-default-pie. Please paste the entire gcc -v. I can reproduce the miscompile it if I pass -fpie -pie.

[Bug c++/95127] New: Self-calling lambda with auto return type gives misleading error message

2020-05-14 Thread xzlsmc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95127 Bug ID: 95127 Summary: Self-calling lambda with auto return type gives misleading error message Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 --- Comment #5 from Arseny Solokha --- OK, it works if I add -fPIC to the list of compiler options.

[Bug c++/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

2020-05-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103 --- Comment #5 from Alexander Monakov --- No, this analogy does not work. setjmp both sets up a buffer and receives control, so it corresponds to both try and catch together. A matching "C++" code would look like: > void f3() { >

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 --- Comment #4 from Arseny Solokha --- (In reply to Martin Liška from comment #2) > I can't reproduce that with the mentioned revision. > Where does it segfault? Program received signal SIGSEGV, Segmentation fault. main () at iu1wkpbg.c:39 39

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 --- Comment #3 from Arseny Solokha --- (In reply to Alexander Monakov from comment #1) > If you still have the compiler binary, you can help out by testing with > sel-sched debug counters: if you append -fdbg-cnt=sel_sched_insn_cnt:0 to > the

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 Richard Biener changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug bootstrap/95122] Cross-compile arm32 toolchain with hard float, but Error in gcc final

2020-05-14 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95122 --- Comment #4 from Richard Earnshaw --- Don't use -mhard-float or -msoft-float. Instead, you should be using -mfloat-abi=[hard|softfp|soft] as appropriate. Also, rather than encoding this into various sets of flags you should configure the

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103 --- Comment #4 from Jonathan Wakely --- The content of the warning isn't very helpful, but I think it's pointing out a real issue in the code, not a false positive. Any valid longjmp which followed that setjmp would have undefined behaviour if

[Bug c/95126] New: Missed opportunity to turn static variables into immediates

2020-05-14 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126 Bug ID: 95126 Summary: Missed opportunity to turn static variables into immediates Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/95125] New: Unoptimal code for vectorized conversions

2020-05-14 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95125 Bug ID: 95125 Summary: Unoptimal code for vectorized conversions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0d1ccfd0cc2e1add15929c43e6c7472336d33e65 commit r11-384-g0d1ccfd0cc2e1add15929c43e6c7472336d33e65 Author: Richard Biener Date:

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[PATCH] testsuite/94703 - skip gcc.dg/tree-ssa/pr94703.c on strict-align targets

2020-05-14 Thread Richard Biener
The specific dump scanning doesn't work on strict-align targets, the following simply skips the testcase for those. 2020-05-14 Richard Biener PR testsuite/94703 * gcc.dg/tree-ssa/pr94703.c: Skip for strict-align targets. --- gcc/testsuite/gcc.dg/tree-ssa/pr94703.c | 1 + 1

[Bug rtl-optimization/95123] [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-thread

2020-05-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 --- Comment #13 from Richard Biener --- (In reply to r...@cebitec.uni-bielefeld.de from comment #10) > > --- Comment #9 from Richard Biener --- > [...] > > Hmm, OK looks like memcpy is not folded, likely because the source is > > not known to

[Bug c++/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

2020-05-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 --- Comment #12 from Richard Biener --- (In reply to pskocik from comment #11) > Thanks for the shot at a fix, Richard Biener. > > Since I have reported this, I think I should mentioned a related > suboptimality that should probably be getting

Re: [PATCH] tree-optimization/33315 - common stores during sinking

2020-05-14 Thread Richard Biener
On Wed, 13 May 2020, Martin Sebor wrote: > On 5/13/20 2:20 AM, Richard Biener wrote: > > > > This implements commoning of stores to a common successor in > > a simple ad-hoc way. I've decided to put it into the code sinking > > pass since, well, it sinks stores. It's still separate since > >

[Bug tree-optimization/95118] [10 Regression] gcc-10 and master -O3 -fopt-info-vec causes gcc to hang

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95118 Richard Biener changed: What|Removed |Added Known to work||11.0 Summary|[10/11

[Bug tree-optimization/95118] [10/11 Regression] gcc-10 and master -O3 -fopt-info-vec causes gcc to hang

2020-05-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95118 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:568c985113b29574c4e25e1a016475668fc17c28 commit r11-383-g568c985113b29574c4e25e1a016475668fc17c28 Author: Richard Biener Date:

Re: dejagnu version update?

2020-05-14 Thread Jonathan Wakely via Gcc
On Thu, 14 May 2020 at 07:45, Christophe Lyon wrote: > > On Wed, 13 May 2020 at 19:44, Jonathan Wakely via Gcc wrote: > > > > On Wed, 13 May 2020 at 18:19, Mike Stump via Gcc wrote: > > > > > > I've changed the subject to match the 2015, 2017 and 2018 email threads. > > > > > > On May 13, 2020,

[Bug c/95124] New: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396

2020-05-14 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95124 Bug ID: 95124 Summary: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396 Product: gcc

[Bug bootstrap/95122] Cross-compile arm32 toolchain with hard float, but Error in gcc final

2020-05-14 Thread chengcongxiu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95122 --- Comment #3 from chengcongxiu at huawei dot com --- (In reply to Richard Biener from comment #1) > You seem to build from inside the source directory, that is not supported. > Please create a separate object directory like > > mkdir obj >

[Bug tree-optimization/48998] ICE: verify_flow_info failed: Wrong frequency of block 227 -161996 with -O3 --param max-completely-peeled-insns=5000 --param max-predicted-iterations=1

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48998 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #1

[Bug rtl-optimization/95123] New: [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param loop-invariant-max-bbs-in-loop=3 --param max-jump-t

2020-05-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95123 Bug ID: 95123 Summary: [10/11 Regression] Wrong code w/ -O2 -fselective-scheduling2 -funroll-loops --param early-inlining-insns=5 --param

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #18 from Christophe Lyon --- > I'm working on this, and just realized that this also means saving FPSR. It > seems there's no support for that yet in arm.md (unlike aarch64.md), am I > missing something? > Sorry, I see it's called

[Bug middle-end/95108] [9/10 Regression] ICE in tree_fits_uhwi_p, at tree.c:7292

2020-05-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95108 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE in |[9/10 Regression] ICE in

Re: how to find variable related to a virtual ssa name

2020-05-14 Thread Richard Biener via Gcc
On Thu, May 14, 2020 at 6:00 AM 易会战 wrote: > > There are some other cases that I cannot get right answer. > case1: interproceduure > func(int*arg) > { > return arg[0] + arg[1] > } > func2() > { > int a[10] > return func(a); > } > here func cannot tell arg is local var. > > case 2: global array

[Bug target/95112] i686 procedures have prolog endbr32

2020-05-14 Thread akobets at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95112 --- Comment #2 from Alexander Kobets --- Yes, that it. I am not sure, that CF must be enabled by default, at your discretion. Thank you.

[committed] openmp: Fix placement of 2nd+ preparation statement for PHIs in simd clone lowering [PR95108]

2020-05-14 Thread Jakub Jelinek via Gcc-patches
Hi! For normal stmts, preparation statements are inserted before the stmt, so if we need multiple, they are in the correct order, but for PHIs we emit them after labels in the entry successor bb, and we used to emit them in the reverse order that way. Fixed thusly, bootstrapped/regtested on

[committed] openmp: Also implicitly mark as declare target to functions mentioned in target regions

2020-05-14 Thread Jakub Jelinek via Gcc-patches
Hi! OpenMP 5.0 also specifies that functions referenced from target regions (except for target regions with device(ancestor:)) are also implicitly declare target to. This patch implements that. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2020-05-14 Jakub

[Bug middle-end/95108] [9/10/11 Regression] ICE in tree_fits_uhwi_p, at tree.c:7292

2020-05-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95108 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d0fb9ffc1b8f3b86bbdf0e915cec2136141b329b commit r11-381-gd0fb9ffc1b8f3b86bbdf0e915cec2136141b329b Author: Jakub Jelinek Date:

[Bug fortran/95107] [10/11 Regression] ICE in hash_operand, at fold-const.c:3768

2020-05-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

Re: [committed] i386: Add V2SFmode conversion functions [PR95046]

2020-05-14 Thread Uros Bizjak via Gcc-patches
Now with a patch attached. On Thu, May 14, 2020 at 9:18 AM Uros Bizjak wrote: > > gcc/ChangeLog: > > 2020-05-14 Uroš Bizjak > > PR target/95046 > * config/i386/mmx.md (mmx_fix_truncv2sfv2si2): rename from mmx_pf2id. > Add SSE/AVX alternative. Change operand predicates from >

[committed] i386: Add V2SFmode conversion functions [PR95046]

2020-05-14 Thread Uros Bizjak via Gcc-patches
gcc/ChangeLog: 2020-05-14 Uroš Bizjak PR target/95046 * config/i386/mmx.md (mmx_fix_truncv2sfv2si2): rename from mmx_pf2id. Add SSE/AVX alternative. Change operand predicates from nonimmediate_operand to register_mmxmem_operand. Enable instruction pattern for

Re: [PATCH] Don't make -gsplit-dwarf imply -g

2020-05-14 Thread Richard Biener via Gcc-patches
On Wed, May 13, 2020 at 5:50 PM Fangrui Song wrote: > > On 2020-05-13, Eric Botcazou wrote: > >> Did I mention I dislike -fsplit-dwarf? ;) > > > >Seconded, this will be confusing for almost all users. Since the option only > >affects debug info generation, it should be prefixed with 'g' in any

[Bug target/95046] Vectorize V2SFmode operations

2020-05-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95046 --- Comment #8 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:42ef8a5e662a765dc794a7a5c0227bcd83556e44 commit r11-379-g42ef8a5e662a765dc794a7a5c0227bcd83556e44 Author: Uros Bizjak Date: Thu

[Bug bootstrap/95122] Cross-compile arm32 toolchain with hard float, but Error in gcc final

2020-05-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95122 --- Comment #2 from Andreas Schwab --- $ CFLAGS_FOR_TARGET="${-march=armv7-a -mhard-float}" bash: ${-march=armv7-a -mhard-float}: bad substitution

[Bug bootstrap/95122] Cross-compile arm32 toolchain with hard float, but Error in gcc final

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95122 Richard Biener changed: What|Removed |Added Target||arm-linux-gnueabihf Ever

[PATCH] middle-end/95118 - fix printing of "denormal" zero

2020-05-14 Thread Richard Biener
This fixes printing a REAL_CST generated from value-numbering punning some bits to a real which turns out as zero with big negative exponent. This causes the loop in real_to_decimal_for_mode to never terminate. Bootstrap & regtest running on x86_64-unknown-linux-gnu. 2020-05-14 Richard

[Bug tree-optimization/95118] [10/11 Regression] gcc-10 and master -O3 -fopt-info-vec causes gcc to hang

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95118 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug fortran/95119] CLOSE hangs when -fopenmp is specified in compilation

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 Thomas Koenig changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #3

Re: dejagnu version update?

2020-05-14 Thread Christophe Lyon via Gcc
On Wed, 13 May 2020 at 19:44, Jonathan Wakely via Gcc wrote: > > On Wed, 13 May 2020 at 18:19, Mike Stump via Gcc wrote: > > > > I've changed the subject to match the 2015, 2017 and 2018 email threads. > > > > On May 13, 2020, at 3:26 AM, Thomas Schwinge > > wrote: > > > > > > Comparing

[Bug c++/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

2020-05-14 Thread sbergman at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103 --- Comment #2 from Stephan Bergmann --- (In reply to Richard Biener from comment #1) > Does it work placing the initial part of the function in a separate { }? Yes, > @@ -14,11 +14,13 @@ > return true; > } > void f3() { > +{ >

[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug middle-end/95108] [9/10/11 Regression] ICE in tree_fits_uhwi_p, at tree.c:7292

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95108 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/95107] [10/11 Regression] ICE in hash_operand, at fold-const.c:3768

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Committed] IBM Z: Define probe_stack expander

2020-05-14 Thread Andreas Krebbel via Gcc-patches
Probes emitted by the common code routines still use a store. Define the "probe_stack" pattern to use a compare instead. Bootstrapped and regression tested on s390x Committed to mainline gcc/ChangeLog: 2020-05-14 Andreas Krebbel * config/s390/s390.c (s390_emit_stack_probe): Call

[Committed] IBM Z: stack clash prot: add missing updates of last_probe_offset

2020-05-14 Thread Andreas Krebbel via Gcc-patches
After emitting probes in a loop last_probe_offset needs to be updated. Not doing this usually assumes a too low distance to the last access when emitting the remainder leading to stack probes being omitted. Bootstrapped and regression tested on s390x Committed to mainline gcc/ChangeLog:

[Bug tree-optimization/95113] [10/11 Regression] Wrong code w/ -O2 -fexceptions -fnon-call-exceptions

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95113 Richard Biener changed: What|Removed |Added Blocks||93385 Priority|P3

[Bug target/95112] i686 procedures have prolog endbr32

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95112 --- Comment #1 from Richard Biener --- Try -fcf-protection=none

[Bug testsuite/95110] new test case in r11-345 error: gcc.dg/tree-ssa/pr94969.c: dump file does not exist

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95110 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/95109] [11 regression] ICE in gfortran.dg/gomp/target1.f90 after r11-349

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

2020-05-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103 Richard Biener changed: What|Removed |Added Version|unknown |10.1.0 Keywords|

[Bug target/95115] [10 Regression] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2020-05-14 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115 --- Comment #5 from Aurelien Jarno --- (In reply to Jim Wilson from comment #3) > Newlib incidentally uses (x-x)/(x-x) where x is the input value, so there > are no constants involved, and the divide does not get optimized away. This > still

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 --- Comment #20 from anlauf at gcc dot gnu.org --- (In reply to Bill Seurer from comment #19) > There's some stuff above this in the module but this is the part that shows > the error and I think it contains all the declarations. > > subroutine

<    1   2   3