[Bug tree-optimization/90576] [10 regression] SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90576 --- Comment #5 from Martin Liška --- @Maxim: Can you please retest it?

[Bug bootstrap/92653] [10 Regression] PGO bootstrap is broken with --with-build-config=bootstrap-lto-lean

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92653 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug bootstrap/92653] New: [10 Regression] PGO bootstrap is broken with --with-build-config=bootstrap-lto-lean

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92653 Bug ID: 92653 Summary: [10 Regression] PGO bootstrap is broken with --with-build-config=bootstrap-lto-lean Product: gcc Version: 10.0 Status: UNCONFIRMED Keywor

[Bug bootstrap/92484] In tree build of ISL 0.22 fails: requires C++11

2019-11-25 Thread franz.flasch at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484 franz changed: What|Removed |Added CC||franz.flasch at gmx dot at --- Comment #4 from f

[Bug libstdc++/92616] Inconsistency in time between system_clock::now() and time(nullptr)

2019-11-25 Thread anthony.ajw at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92616 --- Comment #7 from Anthony Williams --- Reported as ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/linux-signed-oem/+bug/1853807

[Bug tree-optimization/92632] Calculix regression

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92632 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/92584] A 454.calculix optimization opportunity

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92584 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #6

[Bug target/92055] [avr] Support 64-bit double

2019-11-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92055 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Mon Nov 25 08:59:06 2019 New Revision: 278668 URL: https://gcc.gnu.org/viewcvs?rev=278668&root=gcc&view=rev Log: gcc/ Build double32 / long-double32 multilibs if needed.

[Bug c++/92654] New: internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 Bug ID: 92654 Summary: internal compiler error: in lookup_template_class_1 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/92655] New: Suboptimal vectorization of variable shift

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655 Bug ID: 92655 Summary: Suboptimal vectorization of variable shift Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug tree-optimization/92655] Suboptimal vectorization of variable shift

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/92655] Suboptimal vectorization of variable shift

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655 --- Comment #2 from Richard Biener --- "Fixed" source (MULWU), side-stepping GENERIC folding/narrowing of the subtract: inline uint64_t MULWU(uint64_t k, uint64_t m) { unsigned long xyz = BITS-m; return (( (k)<<(m) & M61) + ( (k) >> (xyz))

[Bug target/92646] Compilation fails on armv7l with sys/cdefs.h: No such file or directory

2019-11-25 Thread samyavrillon at netcourrier dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92646 --- Comment #2 from Mysaa --- I tried again to compile in a dedicated directory, the same error occurs : /home/bernard/building/gcc-9.2.0/bld/./gcc/xgcc -B/home/bernard/building/gcc-9.2.0/bld/./gcc/ -B/usr/local/armv7l-unknown-linux-gnueabihf/bi

[Bug c++/92642] Enhance shift-count-overflow output

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92642 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug libstdc++/92616] Inconsistency in time between system_clock::now() and time(nullptr)

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92616 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 Richard Biener changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #2 from Richard Biener --- Btw, which variant is actually the fastest for you? abs expansion doesn't do any cost comparison but just uses direct abs, max and then the xor with shift as third option (and after that fall back to compa

[Bug target/92626] [9/10 Regression] Performance regression in compress-rar on CLX server

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92626 Richard Biener changed: What|Removed |Added Keywords||missed-optimization,

[Bug middle-end/92628] Make use of TYPE_RESTRICT for function-call pointer-escape analysis – especially for Fortran

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92628 Richard Biener changed: What|Removed |Added Blocks||49774 --- Comment #3 from Richard Biene

[Bug c++/85861] g++ -Wconversion misses int to size_t

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85861 --- Comment #15 from Jonathan Wakely --- (In reply to Jonny Grant from comment #13) > (In reply to Jonathan Wakely from comment #11) > > My guess is that we don't want to warn about conversions that are > > well-defined and the original value can

[Bug middle-end/92628] Make use of TYPE_RESTRICT for function-call pointer-escape analysis – especially for Fortran

2019-11-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92628 --- Comment #4 from Tobias Burnus --- (In reply to Richard Biener from comment #3) > I think we have a duplicate asking about restrict to have an effect on > function calls. Could be PR tree-optimization/81008.

[Bug target/92646] Compilation fails on armv7l with sys/cdefs.h: No such file or directory

2019-11-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92646 --- Comment #3 from Andreas Schwab --- Where is located then?

[Bug ipa/91956] [10 Regression] ICE: verify_cgraph_node failed (error: comdat-local function called by __ct .isra outside its comdat) since r275982

2019-11-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91956 --- Comment #3 from Martin Jambor --- Author: jamborm Date: Mon Nov 25 10:09:42 2019 New Revision: 278669 URL: https://gcc.gnu.org/viewcvs?rev=278669&root=gcc&view=rev Log: Make IPA-SRA follow comdat-local rules (PR 91956) 2019-11-25 Martin Ja

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.4

[Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586

2019-11-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Mon Nov 25 10:13:08 2019 New Revision: 278670 URL: https://gcc.gnu.org/viewcvs?rev=278670&root=gcc&view=rev Log: ipa: Prevent materialization of clones with removed bodies (PR 92109) 2

[Bug ipa/91956] [10 Regression] ICE: verify_cgraph_node failed (error: comdat-local function called by __ct .isra outside its comdat) since r275982

2019-11-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91956 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586

2019-11-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed after malloc/free pair was removed

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92638 --- Comment #3 from Richard Biener --- It's not really "iteration" that is missing but the free () stmt is marked as necessary and only later "elided" but dataflow makes the loop necessary because of that. We may eventually get away with not con

[Bug tree-optimization/92644] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:1530

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92644 --- Comment #3 from Richard Biener --- INTEGRAL_TYPE_P

[Bug ada/92575] couple of suspicious assignments in expect.c

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92575 --- Comment #2 from Eric Botcazou --- Author: ebotcazou Date: Mon Nov 25 10:29:51 2019 New Revision: 278671 URL: https://gcc.gnu.org/viewcvs?rev=278671&root=gcc&view=rev Log: PR ada/92575 * expect.c (__gnat_expect_poll [VMS, HPUX

[Bug ada/92575] couple of suspicious assignments in expect.c

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92575 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Mon Nov 25 10:30:41 2019 New Revision: 278672 URL: https://gcc.gnu.org/viewcvs?rev=278672&root=gcc&view=rev Log: PR ada/92575 * expect.c (__gnat_expect_poll [VMS, HPUX

[Bug ada/92575] couple of suspicious assignments in expect.c

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92575 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Mon Nov 25 10:31:20 2019 New Revision: 278673 URL: https://gcc.gnu.org/viewcvs?rev=278673&root=gcc&view=rev Log: PR ada/92575 * expect.c (__gnat_expect_poll [VMS, HPUX

[Bug other/89863] [meta-bug] Issues that static analyzers (cppcheck, clang-static-analyzer) find that gcc misses

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 92575, which changed state. Bug 92575 Summary: couple of suspicious assignments in expect.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92575 What|Removed |Added ---

[Bug ada/92575] couple of suspicious assignments in expect.c

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92575 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92644] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:1530

2019-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92644 --- Comment #4 from Jakub Jelinek --- Created attachment 47350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47350&action=edit gcc10-pr92644.patch Untested fix.

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 Richard Biener changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug ada/92362] [9/10 regression] double elaboration of expression in Address aspect

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92362 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Mon Nov 25 10:48:55 2019 New Revision: 278675 URL: https://gcc.gnu.org/viewcvs?rev=278675&root=gcc&view=rev Log: PR ada/92362 * gcc-interface/trans.c (gnat_to_gnu) :

[Bug ada/92362] [9/10 regression] double elaboration of expression in Address aspect

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92362 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Mon Nov 25 10:52:33 2019 New Revision: 278676 URL: https://gcc.gnu.org/viewcvs?rev=278676&root=gcc&view=rev Log: PR ada/92362 * gcc-interface/trans.c (gnat_to_gnu) :

[Bug ada/92362] [9/10 regression] double elaboration of expression in Address aspect

2019-11-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92362 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/92637] runtime issue with -ftree-coalesce-vars

2019-11-25 Thread dongjianqiang2 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92637 --- Comment #3 from John Dong --- (In reply to Andrew Pinski from comment #1) > > 214: aa0a03e0mov x0, x10 // HERE x10 is > > overwriten by glibc > > > Hmm, GCC knows that find_next_zero_bit will not clobber x10 so

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 --- Comment #7 from Richard Biener --- Kind-of a testcase for SSE2, but this has a matching BIT_FIELD_REF at least, but still "fails" at the vector source. Skia seems to pun to __int128 before doing the extracts somehow (maybe that's our intrins

[Bug target/92646] Compilation fails on armv7l with sys/cdefs.h: No such file or directory

2019-11-25 Thread samyavrillon at netcourrier dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92646 --- Comment #4 from Mysaa --- There is two of them : bernard@pipi:~$ locate cdefs.h /home/bernard/building/gcc-9.2.0/fixincludes/tests/base/sys/cdefs.h /usr/include/arm-linux-gnueabihf/sys/cdefs.h bernard@pipi:~$

[Bug tree-optimization/92655] Suboptimal vectorization of variable shift

2019-11-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655 --- Comment #3 from rsandifo at gcc dot gnu.org --- Maybe we could check in vect_determine_min_output_precision_1 whether the result is used as a shift amount, and if so do: precision = MAX (precision, use_stmt_info->min_output_precision);

[Bug rtl-optimization/92637] runtime issue with -ftree-coalesce-vars

2019-11-25 Thread dongjianqiang2 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92637 John Dong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/92656] New: The zero_extend insn can't be eliminated in the combine pass

2019-11-25 Thread bina2374 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92656 Bug ID: 92656 Summary: The zero_extend insn can't be eliminated in the combine pass Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal P

[Bug tree-optimization/92649] dead store elimination

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92649 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug bootstrap/92484] In tree build of ISL 0.22 fails: requires C++11

2019-11-25 Thread franz.flasch at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484 --- Comment #5 from franz --- OK, I've now digged a little further in to this issue. According to the GCC docs for a native build a 3-stage-build is performed automatically. So with "--disable-bootstrap" the build should behave the same as the c

[Bug tree-optimization/92649] dead store elimination

2019-11-25 Thread jiangning.liu at amperecomputing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92649 --- Comment #3 from Jiangning Liu --- It is a stupid test, but it is simplified from a real application. To solve even more complicated scenario, this simple case needs to be addressed first. If we change the case to be as below, int f(void) {

[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure wit

2019-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 Jakub Jelinek changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #2 from fiesh at zefix dot tv --- It's been made invalid by creduce, but the original code was valid. If necessary, we can try to produce valid code that leads to the same issue. But I'd only do so if necessary since it's somewhat cu

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #3 from fiesh at zefix dot tv --- (Or is there some other trick to make it valid apart from extending the interestingness test of creduce to include a clang compilation step?)

[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure wit

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #14 from Richard Biener --- Well, lying means that for non-escaped desctiptors A and B doing A.data = malloc(); gfc_desc_to_cfi_desc (&B, &A) B.data and A.data are not considered aliasing. So I'd recommend to not lie here. Yes

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #4 from Martin Liška --- (In reply to fiesh from comment #2) > It's been made invalid by creduce, but the original code was valid. > > If necessary, we can try to produce valid code that leads to the same issue. > But I'd only do so

[Bug target/91851] [m68k] Convert the backend to MODE_CC so it can be kept in future releases

2019-11-25 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91851 --- Comment #8 from Bernd Schmidt --- Author: bernds Date: Mon Nov 25 12:31:16 2019 New Revision: 278681 URL: https://gcc.gnu.org/viewcvs?rev=278681&root=gcc&view=rev Log: Convert m68k to not use cc0 * config/m68k/m68k.c (output_move_hi

[Bug target/91851] [m68k] Convert the backend to MODE_CC so it can be kept in future releases

2019-11-25 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91851 Bernd Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/48188] ICE: SIGSEGV in remove_unnecessary_regions (ira-build.c:1855) with --param ira-max-loops-num=0 on basic code

2019-11-25 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48188 --- Comment #4 from Zdenek Sojka --- Doesn't seem to crash since at least gcc-7

[Bug tree-optimization/92649] dead store elimination

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92649 --- Comment #4 from Richard Biener --- (In reply to Jiangning Liu from comment #3) > It is a stupid test, but it is simplified from a real application. > > To solve even more complicated scenario, this simple case needs to be > addressed first.

[Bug c++/60228] ICE using lambda in #pragma omp declare reduction

2019-11-25 Thread steffen.seckler at tum dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60228 steffen.seckler at tum dot de changed: What|Removed |Added CC||steffen.seckler at tum dot

[Bug rtl-optimization/92657] New: High stack usage due ftree-ch

2019-11-25 Thread adhemerval.zanella at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92657 Bug ID: 92657 Summary: High stack usage due ftree-ch Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure wit

2019-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #15 from Jakub Jelinek --- I think other fn spec attributes in trans-decl.c should be checked. E.g. for internal_pack, I see ".r", when the function sometimes returns a pointer to a field pointed by the first argument. The address of

[Bug bootstrap/92445] gcc bootstrap fails on Darwin 19.0.0 in stage 1

2019-11-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92445 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-11-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Eric Gallager changed: What|Removed |Added CC||juergen.reuter at desy dot de --- Commen

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-11-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #20 from Iain Sandoe --- As of XCode 11.3beta, the contained SDK works OK: https://gcc.gnu.org/ml/gcc-testresults/2019-11/msg01439.html We still have the underlying problems - which need to be addressed (so please don't close this P

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #5 from fiesh at zefix dot tv --- Thank you for your offer. The original translation unit is a whopping 20MB and took about 3 days to reduce ;-) I changed the file and the interestingness test to make sure clang compiles it. It's ru

[Bug target/92658] New: x86 lacks vector extend / truncate

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 Bug ID: 92658 Summary: x86 lacks vector extend / truncate Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c/91985] Unsupported DFP not diagnosed with constants or built-in functions

2019-11-25 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91985 --- Comment #2 from Joseph S. Myers --- Author: jsm28 Date: Mon Nov 25 13:45:42 2019 New Revision: 278684 URL: https://gcc.gnu.org/viewcvs?rev=278684&root=gcc&view=rev Log: Prevent all uses of DFP when unsupported (PR c/91985). Code that direct

[Bug c/91985] Unsupported DFP not diagnosed with constants or built-in functions

2019-11-25 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91985 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2019-11-25 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug c++/92642] Enhance shift-count-overflow output

2019-11-25 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92642 --- Comment #2 from Jonny Grant --- (In reply to Jonathan Wakely from comment #1) > (A) seems pointless in this case, it's right there in the caret diagnostic. > > The type size_t is irrelevant. > > IMO a better testcase would be: > > const in

[Bug bootstrap/92653] [10 Regression] PGO bootstrap is broken with --with-build-config=bootstrap-lto-lean

2019-11-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92653 --- Comment #1 from Martin Liška --- Author: marxin Date: Mon Nov 25 13:57:00 2019 New Revision: 278686 URL: https://gcc.gnu.org/viewcvs?rev=278686&root=gcc&view=rev Log: Comment too strict checking assert. 2019-11-25 Martin Liska P

[Bug c++/92659] New: Suggestions for bitshift

2019-11-25 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92659 Bug ID: 92659 Summary: Suggestions for bitshift Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: u

[Bug c++/92660] New: overflow warning message enhancement

2019-11-25 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92660 Bug ID: 92660 Summary: overflow warning message enhancement Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/92659] Suggestions for bitshift

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92659 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug c++/92642] Enhance shift-count-overflow output

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92642 --- Comment #3 from Jonathan Wakely --- No, not necessarily. extern const int n; // defined in another file auto i = 1 << n; void f(const int n) { auto i = 1 << n; } Not all const variables are compile-time constants.

[Bug target/92658] x86 lacks vector extend / truncate

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 --- Comment #1 from Richard Biener --- It looks like there are already some avx512 patterns matching this but they are not visible to the RTL expanders. (define_insn "zero_extendv8qiv8hi2" [(set (match_operand:V8HI 0 "register_operand" "=x,v")

[Bug rtl-optimization/92657] High stack usage due ftree-ch

2019-11-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92657 --- Comment #1 from Andrew Pinski --- Again, this is not due to tree-ch at all. This is due to the code motion passes move invariant load/stores out of the loop. Tree-ch pass just allows those passes to work. All three (gcse, tree pre and tree

[Bug rtl-optimization/92657] High stack usage due ftree-ch

2019-11-25 Thread adhemerval.zanella at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92657 --- Comment #2 from Adhemerval Zanella --- (In reply to Andrew Pinski from comment #1) > Again, this is not due to tree-ch at all. This is due to the code motion > passes move invariant load/stores out of the loop. Tree-ch pass just allows > t

[Bug rtl-optimization/92657] High stack usage due ftree-ch

2019-11-25 Thread adhemerval.zanella at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92657 --- Comment #3 from Adhemerval Zanella --- (In reply to Adhemerval Zanella from comment #2) > (In reply to Andrew Pinski from comment #1) > > Again, this is not due to tree-ch at all. This is due to the code motion > > passes move invariant loa

[Bug fortran/92050] internal compiler error: in gfc_conv_procedure_call

2019-11-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92050 --- Comment #7 from Tobias Burnus --- Author: burnus Date: Mon Nov 25 14:33:32 2019 New Revision: 278689 URL: https://gcc.gnu.org/viewcvs?rev=278689&root=gcc&view=rev Log: Fortran] PR 92050 - fix ICE with -fcheck=all Backport from mainl

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 --- Comment #9 from Richard Biener --- Thanks a lot. So besides the following mismatch for SLP _24 = MEM[base: src_22(D), index: ivtmp.20_267, offset: 0B]; _97 = (unsigned char) _24; _98 = (short unsigned int) _97; _99 = BIT_FIELD_REF <

[Bug bootstrap/92661] New: [10 Regression] AIX bootstrap failure with builtin-types.def change

2019-11-25 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 Bug ID: 92661 Summary: [10 Regression] AIX bootstrap failure with builtin-types.def change Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker

[Bug bootstrap/92661] [10 Regression] AIX bootstrap failure with builtin-types.def change

2019-11-25 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/69089] C++11: alignas(0) causes an error

2019-11-25 Thread tom at geus dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69089 Tom de Geus changed: What|Removed |Added CC||tom at geus dot me --- Comment #7 from Tom

[Bug c++/92662] New: change in gcc 8 vs 9: call of overloaded ‘basic_string()’ is ambiguous

2019-11-25 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92662 Bug ID: 92662 Summary: change in gcc 8 vs 9: call of overloaded ‘basic_string()’ is ambiguous Product: gcc Version: 9.2.1 Status: UNCONFIRMED

[Bug c++/92662] change in gcc 8 vs 9: call of overloaded ‘basic_string()’ is ambiguous

2019-11-25 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92662 --- Comment #1 from Michael Matz --- I _think_ a reduced program would be this: - template struct remove_ref { typedef _Tp type; }; template struct remove_ref<_Tp&> { typedef _Tp type; }; template struct r

[Bug c++/92662] change in gcc 8 vs 9: call of overloaded ‘basic_string()’ is ambiguous

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92662 --- Comment #2 from Jonathan Wakely --- I'm pretty sure GCC 9 is correct. It started to be rejected with r269602: PR c++/86521 - wrong overload resolution with ref-qualifiers. Here we were wrongly treating binding a const lvalue

[Bug c/92663] New: Add __gcc_has_bug or __gcc_bug_fixed

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92663 Bug ID: 92663 Summary: Add __gcc_has_bug or __gcc_bug_fixed Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-11-25 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #21 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #20) > As of XCode 11.3beta, the contained SDK works OK: > > https://gcc.gnu.org/ml/gcc-testresults/2019-11/msg01439.html > > We still have the underlying problems - w

[Bug c++/61414] enum class bitfield size-checking needs a separate warning flag controlling it

2019-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug bootstrap/92661] [10 Regression] AIX bootstrap failure with builtin-types.def change

2019-11-25 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #2 from David Edelsohn --- A crude work-around to allow GCC to bootstrap and show the extent of the problem, I need the following patches to comment out all decimal builtins. Index: rs6000-call.c =

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-11-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #22 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #21) > (In reply to Iain Sandoe from comment #20) > > As of XCode 11.3beta, the contained SDK works OK: > > > > https://gcc.gnu.org/ml/gcc-testresults/2019-11/msg01439.

[Bug bootstrap/92661] [10 Regression] AIX bootstrap failure with builtin-types.def change

2019-11-25 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #3 from David Edelsohn --- An alternate work-around is Index: tree.c === --- tree.c (revision 278691) +++ tree.c (working copy) @@ -10334,7 +10334,7 @@ uint

[Bug debug/92664] New: Wrong .debug_line section information when compiling stdin input with -g3

2019-11-25 Thread robert.dumitru at cyberthorstudios dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92664 Bug ID: 92664 Summary: Wrong .debug_line section information when compiling stdin input with -g3 Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: norma

[Bug c/85678] -fno-common should be default

2019-11-25 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c/85678] -fno-common should be default

2019-11-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678 --- Comment #8 from Wilco --- (In reply to David Binderman from comment #7) > (In reply to David Brown from comment #0) > > Surely it is time to make "-fno-common" the default, at least when a modern > > C standard is specified indicating that th

[Bug c++/92641] VLA type finalized at the beginging of the statement rather at the point of use

2019-11-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92641 --- Comment #3 from joseph at codesourcery dot com --- The C front end explicitly tracks VLA size expressions in type names in casts and ensures they are evaluated at an appropriate point using a C_MAYBE_CONST_EXPR (which later turns into a COM

[Bug c/85678] -fno-common should be default

2019-11-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678 --- Comment #9 from Jonathan Wakely --- C89 6.7p4 looks equivalent to C99 6.9p5, so I don't see why -std=c89 should imply -fcommon. It's just as bad in C89 as in later standards.

[Bug bootstrap/92661] [10 Regression] AIX bootstrap failure with builtin-types.def change

2019-11-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #4 from joseph at codesourcery dot com --- The design in the target-independent compiler is that the functions that get called when processing builtins.def notice that the type involved is error_mark_node (which in turn gets set whe

  1   2   >