[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread element at elementsofsound dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 --- Comment #6 from element at elementsofsound dot org --- I removed the internal_func() with the target_clones attribute, which caused the last number digit of the symbols for fmv_test clones to match up between object files, but errors still oc

[Bug target/91635] wrong code at -O2 with __builtin_add_overflow() and shifts

2019-09-04 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91635 --- Comment #20 from Jim Wilson --- Created attachment 46830 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46830&action=edit proposed patch to fix paradoxical reg in splitter problem I get better code size with this alternative patch. I

[Bug c/91667] New: bogus -Wformat-overflow warning

2019-09-04 Thread jbeulich at novell dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91667 Bug ID: 91667 Summary: bogus -Wformat-overflow warning Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug tree-optimization/91656] [10 Regression] wrong code with -fgcse-after-reload

2019-09-04 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91656 --- Comment #2 from Zdenek Sojka --- Created attachment 46828 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46828&action=edit testcase for x86_64-pc-linux-gnu r275271 is OK r275396 is BAD $ x86_64-pc-linux-gnu-gcc -O3 testcase.c && ./a.o

[Bug target/91654] Regressions of SPEC2017 rate caused by r274994

2019-09-04 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91654 --- Comment #1 from Hongtao.liu --- Change cost from 2->6 got - 531.deepsjeng_r  9.64%  548.exchange_r  10.24%  557.xc_r        7.99% 508.namd_r      1.08% 527.cam4_r      6.91% 553.nab_r      3.06% for 531,548,557,527,

[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread element at elementsofsound dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 --- Comment #5 from element at elementsofsound dot org --- (In reply to Andrew Pinski from comment #3) > Maybe it is not clear but target_clones is only supposed to be on the > definition rather just declarations too. I'm not sure if I understoo

[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread element at elementsofsound dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 --- Comment #4 from element at elementsofsound dot org --- (In reply to Andrew Pinski from comment #2) > Try this: > gcc -c fmv-test.c > gcc -c main.c > ar cr fmv-test.a main.o fmv-test.o > gcc -o fmv-test-borken fmv-test.a > > It might be beca

[Bug d/91666] New: _builtin function no work with GDC

2019-09-04 Thread ray_linn at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91666 Bug ID: 91666 Summary: _builtin function no work with GDC Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d As

[Bug tree-optimization/91665] New: [9/10 Regression] ICE in build_vector_from_val, at tree.c:1904

2019-09-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 Bug ID: 91665 Summary: [9/10 Regression] ICE in build_vector_from_val, at tree.c:1904 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking, ice

[Bug c/65403] -Wno-error= is an error

2019-09-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403 Eric Gallager changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 --- Comment #3 from Andrew Pinski --- Maybe it is not clear but target_clones is only supposed to be on the definition rather just declarations too.

[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/91664] Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread element at elementsofsound dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 --- Comment #1 from element at elementsofsound dot org --- Created attachment 46827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46827&action=edit Preprocessed file for main.c

[Bug c/91664] New: Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning

2019-09-04 Thread element at elementsofsound dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664 Bug ID: 91664 Summary: Undefined reference linker errors when static linking archive with gcc target_clones function multi-versioning Product: gcc Version: 8.3.0

[Bug fortran/32957] C/Fortran interoperability and -fdefault-integer-8

2019-09-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32957 --- Comment #9 from Eric Gallager --- (In reply to Dominique d'Humieres from comment #8) > > So is this fixed now? > > I have spotted some new tests requiring c_int: > > --- ../_clean/gcc/testsuite/gfortran.dg/bind_c_usage_24.f90 2018-02-18 >

[Bug tree-optimization/91663] split function can be re-inlined, leaving bad stack trace

2019-09-04 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91663 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Thu Sep 5 04:12:30 2019 New Revision: 275396 URL: https://gcc.gnu.org/viewcvs?rev=275396&root=gcc&view=rev Log: PR tree-optimization/91663 * go-lang.c (go_langhook

[Bug tree-optimization/91663] New: split function can be re-inlined, leaving bad stack trace

2019-09-04 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91663 Bug ID: 91663 Summary: split function can be re-inlined, leaving bad stack trace Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prior

[Bug target/91635] wrong code at -O2 with __builtin_add_overflow() and shifts

2019-09-04 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91635 --- Comment #19 from Jim Wilson --- I did cross toolchain builds and checks for rv32i/newlib and rv64gc/glibc. There were no regressions. Since the splitters exist to reduce code size, I looked at the libc and libstdc++ sizes with and without t

[Bug c++/91662] New: [concepts] unable to deduce placeholder type, should be accepted

2019-09-04 Thread frederik.engels24 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91662 Bug ID: 91662 Summary: [concepts] unable to deduce placeholder type, should be accepted Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660 kargl at gcc dot gnu.org changed: What|Removed |Added Assignee|kargl at gcc dot gnu.org |unassigned at gcc dot g

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIR

[Bug fortran/91650] [10 Regression] ICE in gfc_conv_constant_to_tree, at fortran/trans-const.c:370

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91650 kargl at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug fortran/91650] [10 Regression] ICE in gfc_conv_constant_to_tree, at fortran/trans-const.c:370

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91650 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Sep 4 23:21:12 2019 New Revision: 275391 URL: https://gcc.gnu.org/viewcvs?rev=275391&root=gcc&view=rev Log: 2019-09-04 Steven G. Kargl PR fortran/91650

[Bug c/78736] enum warnings in GCC (request for -Wenum-conversion to be added)

2019-09-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 --- Comment #16 from joseph at codesourcery dot com --- Could you give the testcase you expect to be diagnosed with this option with C++ that isn't diagnosed by default?

[Bug target/86393] GCC-8 appears to not detect AVX512 on iMac Pro 2018

2019-09-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86393 --- Comment #11 from Iain Sandoe --- (In reply to Mikael Slevinsky from comment #10) > I can confirm this is fixed, thank you! Great, for which GCC versions is it fixed? > P.S. the exact processor type is a Xeon(R) W-2191B CPU @ 2.30GHz. thank

[Bug libstdc++/41861] [DR 887][C++0x] does not use monotonic_clock

2019-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/41861] [DR 887][C++0x] does not use monotonic_clock

2019-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 --- Comment #19 from Jonathan Wakely --- Author: redi Date: Wed Sep 4 22:43:29 2019 New Revision: 275390 URL: https://gcc.gnu.org/viewcvs?rev=275390&root=gcc&view=rev Log: PR libstdc++/41861 Add full steady_clock support to condition_variable

[Bug fortran/91661] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4804

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91661 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91631] buffer overflow into an array member of a declared object not detected

2019-09-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91631 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug target/86393] GCC-8 appears to not detect AVX512 on iMac Pro 2018

2019-09-04 Thread mrslevinsky at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86393 --- Comment #10 from Mikael Slevinsky --- I can confirm this is fixed, thank you! P.S. the exact processor type is a Xeon(R) W-2191B CPU @ 2.30GHz. scima-mh421-20:Desktop mikael$ sysctl -a |grep cpu hw.ncpu: 36 hw.activecpu: 36 hw.physicalcpu:

[Bug c++/67774] [concepts] ICE when mismatching template arguments to concept

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67774 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67727] [concepts] parameterized constraint not being checked for unused variables

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67727 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug target/91635] wrong code at -O2 with __builtin_add_overflow() and shifts

2019-09-04 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91635 --- Comment #18 from Jim Wilson --- I was willing to write a patch, I just needed a day to catch up as I'm hopelessly overloaded with work. But since Jakub wrote one, it looks right to me, and I think we should use that. I'm not sure exactly wh

[Bug c++/67719] [concepts] bug with concepts using logical or

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67719 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67704] [concepts] requirements not being applied to aliases

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67704 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug fortran/81827] Large compile time with derived-type rrays

2019-09-04 Thread robison at arlut dot utexas.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81827 --- Comment #21 from Luke Robison --- I was again trying to upgrade our gfortran version and ran into this issue again in gfortran-9.2, but I think I found a workaround this time. Re-reading Paul Thomas' comments and looking at the changes in th

[Bug c/78736] enum warnings in GCC (request for -Wenum-conversion to be added)

2019-09-04 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 --- Comment #15 from Jonny Grant --- Great this is added for C and ObjC Could it also be added for C++?

[Bug fortran/91661] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4804

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91661 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from G.

[Bug fortran/91661] New: ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4804

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91661 Bug ID: 91661 Summary: ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4804 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/67697] [concepts] ICE when using non-constexpr in requires expression

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67697 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug tree-optimization/91647] [10 Regression] new FAILs for Warray-bounds-8 and Wstringop-overflow-3.C

2019-09-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91647 --- Comment #8 from Iain Sandoe --- (In reply to Martin Sebor from comment #7) > Thanks, the trailing 10 in x86_64-apple-darwin10 makes the difference! hmm, something's odd then, 'x86_64-apple-darwin' works for me (I put a number out of habit mo

[Bug fortran/91660] New: [8/9/10 Regression] Missing error on invalid type declaration

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660 Bug ID: 91660 Summary: [8/9/10 Regression] Missing error on invalid type declaration Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal P

[Bug rtl-optimization/91659] [Regression 10] Revision 275365 is causing a Fortran testsuite failure at -O3

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91659 --- Comment #1 from kargl at gcc dot gnu.org --- This seems to be trigger by the combination of -fgcse-after-reload and -fpeel-loops. % gfcx -o z -O2 -fgcse-after-reload -fpeel-loops a.f && ./z STOP 3

[Bug target/63810] gcc sets incorrect macro for OS X deployment targets

2019-09-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810 --- Comment #35 from Iain Sandoe --- Author: iains Date: Wed Sep 4 19:17:41 2019 New Revision: 275382 URL: https://gcc.gnu.org/viewcvs?rev=275382&root=gcc&view=rev Log: [Darwin, Driver] Fix driver crashes with valid command line input. Backpor

[Bug c++/67692] [concepts] ICE when using requires in non-concept contexts

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67692 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug rtl-optimization/91659] [Regression 10] Revision 275365 is causing a Fortran testsuite failure at -O3

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91659 kargl at gcc dot gnu.org changed: What|Removed |Added CC||rguenther at suse dot de Tar

[Bug target/83531] Build broken on macOS 10.13.2

2019-09-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #17 from Iain Sandoe --- Author: iains Date: Wed Sep 4 19:11:08 2019 New Revision: 275381 URL: https://gcc.gnu.org/viewcvs?rev=275381&root=gcc&view=rev Log: [Darwin, fixincludes] Backport fix for PR83531 There is no reasonable chan

[Bug rtl-optimization/91659] New: [Regression 10] Revision 275365 is causing a Fortran testsuite failure at -O3

2019-09-04 Thread kargl at gcc dot gnu.org
ted passes142 # of unexpected failures2 /safe/sgk/gcc/objx/gcc/gfortran version 10.0.0 20190904 (experimental) (GCC) The revision was identified by % svn merge -r275365:275364 . in top of tree.

[Bug tree-optimization/91645] Missed optimization with sqrt(x*x)

2019-09-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91645 --- Comment #3 from Marc Glisse --- (In reply to Richard Biener from comment #1) > for y >= 0.0 the result is unspecified? NaN >= 0.0 is false, but even if it was unspecified, the implication would still be true. (In reply to Nikita Lisitsa fro

[Bug c++/67427] [concepts] Subsumption dependence on template parameter ordering

2019-09-04 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67427 Casey Carter changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2019-09-04 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67427, which changed state. Bug 67427 Summary: [concepts] Subsumption dependence on template parameter ordering https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67427 What|Removed |Added --

[Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2019-09-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32413 --- Comment #7 from Uroš Bizjak --- Correct fix committed.

[Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2019-09-04 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32413 --- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Wed Sep 4 18:25:05 2019 New Revision: 275377 URL: https://gcc.gnu.org/viewcvs?rev=275377&root=gcc&view=rev Log: PR target/32413 * config/i386/i386.c (inline_secon

[Bug target/91615] [10 regression][armeb] ICEs since r274986

2019-09-04 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91615 Bernd Edlinger changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/67685] ICE on invalid requires expression

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67685 --- Comment #3 from Andrew Sutton --- Fixed in the concepts-cxx2a branch and added a test for the PR.

[Bug c++/67684] [concepts] friend access not working with constrained function

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67684 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67658] [concepts] invalid code with constrained concepts compiles

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67658 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug middle-end/66462] GCC isinf/isnan/... builtins cause sNaN exceptions

2019-09-04 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462 --- Comment #19 from Tamar Christina --- > It *was* committed (r249005). Then reverted (r249050). > reported "a > large number of new failures on AIX, including compiler ICEs". I not

[Bug middle-end/66462] GCC isinf/isnan/... builtins cause sNaN exceptions

2019-09-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462 --- Comment #18 from joseph at codesourcery dot com --- On Wed, 4 Sep 2019, tnfchris at gcc dot gnu.org wrote: > As far as I am aware, the final version of the patch had no regressions for > any > target, including PowerPC which I used the GCC

[Bug c/78736] enum warnings in GCC (request for -Wenum-conversion to be added)

2019-09-04 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 --- Comment #14 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Wed Sep 4 16:25:21 2019 New Revision: 275376 URL: https://gcc.gnu.org/viewcvs?rev=275376&root=gcc&view=rev Log: Add warning Wenum-conversion for C and ObjC.

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #4 from Ivan Chow --- 24GB still crashed the compiler I think the preprocessor cc1plus has a bug in handling some of the templates of that file... it shouldn't need that much memory I ran command 'top' and can see the mem

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #3 from Ivan Chow --- Sorry. Actually, I can increase the VM memory. Only the "recommended" maximum memory is 16GB. Let me increase the VM memory to 24 GB and see what happen. But it does have a maximum memory, which is 64GB. Th

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #2 from Ivan Chow --- Thanks for the info. I ran this on Ubuntu 18.04 with 16GB RAM configured on a VMware VM and the maximum memory allowed is 16GB for this VM What should I do? Thanks for any advices. -Original Messag

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/91658] New: g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 Bug ID: 91658 Summary: g++: internal compiler error: Killed (program cc1plus) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/67654] [concepts] ICE when using concepts in constexpr function

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67654 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67427] [concepts] Subsumption dependence on template parameter ordering

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67427 --- Comment #1 from Andrew Sutton --- I believe that the ambiguity is correct under the revised semantics of concepts. The targets of the parameter mapping in Sentinel differs for the two declarations of distance because the order of template pa

[Bug c++/67319] Short-hand concepts for variadic member functions broken

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67319 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug tree-optimization/91647] [10 Regression] new FAILs for Warray-bounds-8 and Wstringop-overflow-3.C

2019-09-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91647 --- Comment #7 from Martin Sebor --- Thanks, the trailing 10 in x86_64-apple-darwin10 makes the difference! Here's a small test case copied from the one around line 335 in g++.dg/warn/Warray-bounds-8.C, and its output with the cross: void sin

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #12 from Jakub Jelinek --- Though, looking at libdruntime, it already handles that and has several *.S files.

[Bug c++/67225] [concepts] Expression constraint with a constrained result turns off access checking

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67225 --- Comment #7 from Andrew Sutton --- It looks like there was an earlier state where access was being turned off by one construct or another. All of the examples here fail as they're supposed to. Added tests to concepts-cxx2a.

[Bug d/91628] libdruntime uses glibc internal symbol on s390

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

[Bug c++/67217] [concepts] Constraints are ignored when specializing union templates

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67217 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67210] [concepts] Error parsing ">>" after a template-id that names a concept

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67210 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67178] [concepts] ICE on self-referencing concept

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67178 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug c++/67147] [concepts] ICE on checking concept with default template arguments

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67147 --- Comment #6 from Andrew Sutton --- There's a test for this PR in the concepts-cxx2a branch.

[Bug c++/67148] [concepts] Failed concept check when indirecting through a constrained trait

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67148 --- Comment #3 from Andrew Sutton --- This seems to have been fixed at some point. All examples compile in the concepts-cxx2a branch, which also has a test for this PR.

[Bug c++/67147] [concepts] ICE on checking concept with default template arguments

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67147 --- Comment #5 from Andrew Sutton --- This seems to have been fixed at some point. All examples compile in the concepts-cxx2a branch.

[Bug c++/67070] [concepts] Concept with negation and disjunction not checked correctly

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67070 --- Comment #11 from Andrew Sutton --- Most of the concerns in this issue have been resolved when concept satisfaction was defined in terms of normalized constraints in all contexts (requirements or otherwise). In particular. negation makes the c

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #10 from Florian Weimer --- (In reply to rdapp from comment #9) > I opted for inline assembly to make sure r12 is not changed directly before > the function call. Do you have an idea to guarantee this in another way? Wouldn't an out-

[Bug c++/66844] [c++-concepts] Requires-expression parameter with void type

2019-09-04 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66844 Andrew Sutton changed: What|Removed |Added CC||andrew.n.sutton at gmail dot com --- Co

[Bug rtl-optimization/91657] New: [10 regression] many failures after r275365

2019-09-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91657 Bug ID: 91657 Summary: [10 regression] many failures after r275365 Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread rdapp at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #9 from rdapp at linux dot ibm.com --- (In reply to Florian Weimer from comment #8) > Calling functions from inline assembly is always a bit iffy. For example, > your code lacks clobbers for the vector registers (if present) and the >

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #8 from Florian Weimer --- (In reply to rdapp from comment #7) > Created attachment 46817 [details] > Proposed patch using __tls_get_offset > > I drafted a patch that uses __tls_get_offset instead of the internal symbol > following F

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread rdapp at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 rdapp at linux dot ibm.com changed: What|Removed |Added CC||rdapp at linux dot ibm.com -

[Bug middle-end/66462] GCC isinf/isnan/... builtins cause sNaN exceptions

2019-09-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462 --- Comment #17 from Segher Boessenkool --- (In reply to Tamar Christina from comment #16) > > Do you have a link to those problems? And no, please don't regress us for > > no > > reason at all, it's really easy to *not* regress this on double-

[Bug libstdc++/41861] [DR 887][C++0x] does not use monotonic_clock

2019-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 Jonathan Wakely changed: What|Removed |Added Keywords||patch Last reconfirmed|2010-02-05 12

[Bug c++/91618] template-id required to friend a function template, even for a qualified-id

2019-09-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618 --- Comment #4 from Nathan Sidwell --- to remind me, bullet 3 that Barry references is: 'if the name of the friend is a qualified-id and a matching function template is found in the specified class or namespace, the friend declaration refers to

[Bug target/81800] On aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 Wilco changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/81800] On aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #21 from Wilco --- Backported to GCC8 and GCC9 too.

[Bug target/81800] [8/9 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #20 from Wilco --- Author: wilco Date: Wed Sep 4 13:06:55 2019 New Revision: 275374 URL: https://gcc.gnu.org/viewcvs?rev=275374&root=gcc&view=rev Log: [AArch64] Fix PR81800 PR81800 is about the lrint inline giving spurious FE_INEXA

[Bug target/91652] -march=skylake-avx512 -mno-fma -O2 generates FMA instructions

2019-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91652 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/91639] [10 Regression] FAIL: gcc.dg/plugin/location-overflow-test-pr83173.c -fplugin=./location_overflo w_plugin.so scan-file-not # (?!1 [^\r\n]+location-overflow-test-pr83173-1.h"

2019-09-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91639 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/81800] [8/9 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2019-09-04 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #19 from Wilco --- Author: wilco Date: Wed Sep 4 12:42:22 2019 New Revision: 275373 URL: https://gcc.gnu.org/viewcvs?rev=275373&root=gcc&view=rev Log: [AArch64] Fix PR81800 PR81800 is about the lrint inline giving spurious FE_INEXA

[Bug fortran/91646] gfortran takes long time and consumes a lot of memory

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91646 --- Comment #7 from G. Steinmetz --- Created attachment 46816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46816&action=edit Input "3 3", result test_3_3.f90 Enclosed are generators to systematically test the facts. Please find attached

[Bug fortran/91646] gfortran takes long time and consumes a lot of memory

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91646 --- Comment #6 from G. Steinmetz --- Created attachment 46815 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46815&action=edit Input "2 2", result test_2_2.f90

[Bug fortran/91646] gfortran takes long time and consumes a lot of memory

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91646 --- Comment #5 from G. Steinmetz --- Created attachment 46814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46814&action=edit Addon generator_module_hierarchy_ptr.f90

[Bug fortran/91646] gfortran takes long time and consumes a lot of memory

2019-09-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91646 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #4 from G.

[Bug tree-optimization/81740] [7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2019-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81740 --- Comment #13 from Richard Biener --- Author: rguenth Date: Wed Sep 4 11:56:15 2019 New Revision: 275372 URL: https://gcc.gnu.org/viewcvs?rev=275372&root=gcc&view=rev Log: 2019-09-04 Richard Biener Backport from mainline 2

[Bug middle-end/91001] internal compiler error: in extract_insn, at recog.c:2310

2019-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91001 --- Comment #4 from Jakub Jelinek --- *** Bug 91105 has been marked as a duplicate of this bug. ***

  1   2   >