[Bug sanitizer/88684] Please make SANITIZER_NON_UNIQUE_TYPEINFO a runtime flag (or always true)

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88684 --- Comment #12 from Martin Liška --- (In reply to Rafael Avila de Espindola from comment #11) > (In reply to Martin Liška from comment #10) > > > That said, I'm willing to ack it for GCC9 even then if upstream comes up > > > with something or

[Bug c++/86648] [9 Regression] ICE on class template argument deduction

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86648 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87768] [8 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87768 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

[Bug c++/87768] [8/9 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87768 --- Comment #3 from Alexandre Oliva --- Author: aoliva Date: Thu Jan 17 07:32:29 2019 New Revision: 268006 URL: https://gcc.gnu.org/viewcvs?rev=268006=gcc=rev Log: [PR87768] reset location wrapper suppression when reentering top level

[Bug c++/86648] [9 Regression] ICE on class template argument deduction

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86648 --- Comment #7 from Alexandre Oliva --- Author: aoliva Date: Thu Jan 17 07:32:16 2019 New Revision: 268005 URL: https://gcc.gnu.org/viewcvs?rev=268005=gcc=rev Log: [PR86648] use auto identifier for class placeholder templates dwarf2out

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-16 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Sebastian Huber changed: What|Removed |Added CC||sebastian.huber@embedded-br

[Bug c++/87770] [8/9 Regression] ICE in type_dependent_expression_p, at cp/pt.c:25230

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87770 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #10 from Andrew Pinski --- (In reply to Kamlesh Kumar from comment #9) > $./ccppc -mcpu=e6500 -mabi=elfv2 -msoft-float -m64 test.c Maybe it is because not many people use soft-float with 64bit which explains why this has not been

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #9 from Kamlesh Kumar --- following testcase produces wrong result $cat test.c #include int main () { unsigned int x=-1; double d=x; printf("%lf",d); return 0; } $./ccppc -mcpu=e6500 -mabi=elfv2 -msoft-float -m64 test.c

[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014

2019-01-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146 --- Comment #12 from Alexandre Oliva --- Author: aoliva Date: Thu Jan 17 04:49:55 2019 New Revision: 268004 URL: https://gcc.gnu.org/viewcvs?rev=268004=gcc=rev Log: [PR88146] avoid diagnostics diffs if cdtor_returns_this Diagnostics for

[Bug target/61593] Support '#pragma mark - foo' on non-Darwin targets (by simply ignoring it without warning)

2019-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61593 Eric Gallager changed: What|Removed |Added Keywords||easyhack --- Comment #5 from Eric

Submitting Your Manuscripts

2019-01-16 Thread Journal member
Dear Researcher or Professor, We publish peer-reviewed international scientific journals devoted to promoting the development of science and technology. Now we sincerely invite scholars and researchers to submit papers to the journals or to join in the editorial

[Bug testsuite/87306] test case gcc.dg/vect/bb-slp-pow-1.c fails with its introduction in r263290

2019-01-16 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87306 --- Comment #4 from Kewen Lin --- Author: linkw Revision: 268003 Modified property: svn:log Modified: svn:log at Thu Jan 17 03:24:27 2019 -- --- svn:log (original) +++

[Bug testsuite/87306] test case gcc.dg/vect/bb-slp-pow-1.c fails with its introduction in r263290

2019-01-16 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87306 --- Comment #3 from Kewen Lin --- Author: linkw Date: Thu Jan 17 03:03:38 2019 New Revision: 268003 URL: https://gcc.gnu.org/viewcvs?rev=268003=gcc=rev Log: PR target/87306 * gcc.dg/vect/bb-slp-pow-1.c: Modify to reflect that the

[Bug c/88887] Warn on unexpected continuation of 'return' to new line in if statement.

2019-01-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug middle-end/88781] [meta-bug] bogus/missing -Wstringop-truncation warnings

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781 Martin Sebor changed: What|Removed |Added Version|9.0 |8.0 --- Comment #1 from Martin Sebor

[Bug middle-end/88780] [8/9 Regression] bogus -Wstringop-truncation for copying as many bytes from a string as its length

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 Martin Sebor changed: What|Removed |Added Known to work||7.3.0 Summary|bogus

[Bug middle-end/88780] bogus -Wstringop-truncation for copying as many bytes from a string as its length

2019-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/86125] missing -Wbuiltin-declaration-mismatch on a mismatched return type

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86125 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug c/88886] [9 Regression] ice in get_constant, at c-family/c-format.c:292

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug middle-end/86308] [7/8/9 Regression] ICE in verify_gimple calling an invalid index() declaration

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86308 --- Comment #6 from Martin Sebor --- Updated patch for GCC 9: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00969.html

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #7 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Author: vries > Date: Thu Jan 17 00:08:05 2019 > New Revision: 267996 > > URL: https://gcc.gnu.org/viewcvs?rev=267996=gcc=rev > Log: > [libbacktrace] Handle

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #6 from Tom de Vries --- Author: vries Date: Thu Jan 17 00:08:05 2019 New Revision: 267996 URL: https://gcc.gnu.org/viewcvs?rev=267996=gcc=rev Log: [libbacktrace] Handle DW_FORM_GNU_strp_alt Handle DW_FORM_GNU_strp_alt which

[Bug fortran/88871] [9 regression] ICE segmentation fault in f951

2019-01-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88871 --- Comment #10 from Thomas Koenig --- Created attachment 45447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45447=edit Patch that appears to work This should fix the linked-list problem. I'll probably submit tomorrow.

[Bug fortran/88871] [9 regression] ICE segmentation fault in f951

2019-01-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88871 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > This bug is the cause of: > > FAIL: experimental/filesystem/operations/canonical.cc execution test And also: FAIL:

[Bug c/88886] [9 Regression] ice in get_constant, at c-family/c-format.c:292

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug fortran/87939] [F18] Support STAT= and ERRMSG= specifiers to CRITICAL and TEAM statements

2019-01-16 Thread weeks at iastate dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87939 --- Comment #1 from Nathan Weeks --- My bad: END CRITICAL does not accept STAT= or ERRMSG= arguments in Fortran 2018.

[Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 --- Comment #7 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00962.html

[Bug libbacktrace/88244] [libbacktrace] Failure to open .gnu_debuglink is silent

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88244 --- Comment #1 from Tom de Vries --- Discussed here ( https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00932.html ).

[Bug libstdc++/88888] New: Cannot construct filesystem::path from variable length array

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 Bug ID: 8 Summary: Cannot construct filesystem::path from variable length array Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #4 from Jonathan Wakely --- This bug is the cause of: FAIL: experimental/filesystem/operations/canonical.cc execution test The trailing slashes in the paths cause the _wstat calls to fail.

[Bug go/56431] -lpthread should be added to -lgo

2019-01-16 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56431 --- Comment #8 from Ian Lance Taylor --- The workaround for this is probably to change gcc/go/gospec.c to remove the need_thread variable. That would have the effect of changing the only use of need_thread to only test library > 0, which would

Optimizer (-O3) Disabling IEEE Exception Handling

2019-01-16 Thread Damian McGuckin
Hi, I hope this has not been addressed before but my search returned nothing the same. I found vaguely related stuff but not this. I am talking is straightforward optimization, i.e. -O3 (say), which I read the manual page to say, does not affect IEEE 754 stuff at all. The following code

[Bug c/88887] New: Warn on unexpected continuation of 'return' to new line in if statement.

2019-01-16 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 Bug ID: 7 Summary: Warn on unexpected continuation of 'return' to new line in if statement. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/88423] [9 Regression] ICE in begin_move_insn, at sched-ebb.c:175

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88423 --- Comment #4 from David Malcolm --- The code_label is for a tablejump_p, immediately before the jump_table_data.

[Bug go/88500] [SH]: SETCONTEXT_CLOBBERS_TLS needs to be handled in libgo

2019-01-16 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88500 --- Comment #1 from Ian Lance Taylor --- SETCONTEXT_CLOBBERS_TLS is set by libgo/configure.ac if this program fails to exit successfully. So the first step in fixing this bug is finding out why this program fails on SH. #include #include

[Bug c/88726] [7 Regression] GCC thinks that translation unit does not contain a definition of inline function.

2019-01-16 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88726 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/88720] [7 Regression] Strange error message about nested function declared but not defined when using inline.

2019-01-16 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88720 --- Comment #5 from Joseph S. Myers --- Author: jsm28 Date: Wed Jan 16 21:40:33 2019 New Revision: 267987 URL: https://gcc.gnu.org/viewcvs?rev=267987=gcc=rev Log: Fix diagnostics for never-defined inline and nested functions (PR c/88720, PR

[Bug c/88720] [7 Regression] Strange error message about nested function declared but not defined when using inline.

2019-01-16 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88720 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/88726] [7 Regression] GCC thinks that translation unit does not contain a definition of inline function.

2019-01-16 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88726 --- Comment #5 from Joseph S. Myers --- Author: jsm28 Date: Wed Jan 16 21:40:33 2019 New Revision: 267987 URL: https://gcc.gnu.org/viewcvs?rev=267987=gcc=rev Log: Fix diagnostics for never-defined inline and nested functions (PR c/88720, PR

[Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug d/87824] x86_64-linux multilib issues

2019-01-16 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824 --- Comment #18 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Wed Jan 16 20:40:21 2019 New Revision: 267985 URL: https://gcc.gnu.org/viewcvs?rev=267985=gcc=rev Log: [D] Fix failing EH execution test on i386. Turn off partitioning

[Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline

2019-01-16 Thread will_schmidt at vnet dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532 Will Schmidt changed: What|Removed |Added CC||will_schmidt at vnet dot ibm.com ---

[Bug c/88886] [9 Regression] ice in get_constant, at c-family/c-format.c:292

2019-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug target/88861] [9 Regression] ICE in calc_dfs_tree, at dominance.c:458

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88861 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/88886] New: ice in get_constant, at c-family/c-format.c:292

2019-01-16 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Bug ID: 6 Summary: ice in get_constant, at c-family/c-format.c:292 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/88861] [9 Regression] ICE in calc_dfs_tree, at dominance.c:458

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88861 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Wed Jan 16 20:13:23 2019 New Revision: 267984 URL: https://gcc.gnu.org/viewcvs?rev=267984=gcc=rev Log: Fix ICE due to "combine" creating unreachable EH blocks (PR target/88861) PR

[Bug target/83531] Build broken on macOS 10.13.2

2019-01-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #5 from Iain Sandoe --- * thanks for looking at this! (my machines are all tied up right now, so any testing won't happen before 'tomorrow') * apologies if this comes across as negative - but TBH I'm a bit nervous about applying

[Bug target/88885] GCC ICE internal compiler error: Segmentation fault in mpd

2019-01-16 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #1 from Khem Raj --- there are more errors probably same root cause http://errors.yoctoproject.org/Errors/Details/216895/ http://errors.yoctoproject.org/Errors/Details/216899/

[Bug target/88885] New: GCC ICE internal compiler error: Segmentation fault in mpd

2019-01-16 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 Bug ID: 5 Summary: GCC ICE internal compiler error: Segmentation fault in mpd Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/51310] -finit-bla doesn't initialize *all* items of type bla to the requested constant.

2019-01-16 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 --- Comment #10 from Toon Moene --- On 1/14/19 11:52 PM, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51310 > > --- Comment #9 from Dominique d'Humieres --- > Output from the test in comment 0 is now > >

[Bug tree-optimization/86214] [8/9 Regression] Strongly increased stack usage

2019-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86214 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug lto/88858] ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88858 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/65396] Function template default template arguments not merged

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65396 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2016-01-24 00:00:00 |2019-1-16 --- Comment #4 from

[Bug tree-optimization/88760] GCC unrolling is suboptimal

2019-01-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88760 --- Comment #12 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #11) > > As an experiment I hacked the AArch64 assembly of the function generated > with -funroll-loops to replace the peeled prologue version with a simple

[Bug c++/65396] Function template default template arguments not merged

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65396 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/88864] default template arguments not merged across all declarations

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

[Bug c++/88864] default template arguments not merged across all declarations

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88864 --- Comment #1 from Jonathan Wakely --- I'm pretty sure this is a dup of an existing bug.

[Bug libstdc++/88884] New: std::filesystem::absolute("//") does not produce an absolute path on mingw

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Bug ID: 4 Summary: std::filesystem::absolute("//") does not produce an absolute path on mingw Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug target/88734] [8/9 Regression] AArch64's ACLE intrinsics give an ICE instead of compile error when option mismatch.

2019-01-16 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88734 --- Comment #4 from Tamar Christina --- Hi Jakub, Thanks for the patch, I've started a testrun but the fix looks sensible to me. I'll post the result as soon as it's finished.

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 --- Comment #9 from Marek Polacek --- (In reply to Marek Polacek from comment #4) > So one idea would to be to walk_tree on the expression at the end of > finish_decltype_type, looking for compound literals and call check_narrowing. Scratch

[Bug debug/88046] [9 Regression] ICE in add_data_member_location_attribute at gcc/dwarf2out.c:19237 since r261885

2019-01-16 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88046 --- Comment #7 from Tamar Christina --- Author: tnfchris Date: Wed Jan 16 17:50:38 2019 New Revision: 267980 URL: https://gcc.gnu.org/viewcvs?rev=267980=gcc=rev Log: Fix PR88046 on AArch64 and Arm bare metal targets. gcc/testsuite/ChangeLog:

[Bug tree-optimization/88760] GCC unrolling is suboptimal

2019-01-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88760 --- Comment #11 from ktkachov at gcc dot gnu.org --- Thank you all for the input. Just to add a bit of data. I've instrumented 510.parest_r to count the number of loop iterations to get a feel for how much of the unrolled loop is spent in the

[Bug target/83531] Build broken on macOS 10.13.2

2019-01-16 Thread mcccs at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #4 from MCCCS --- Iain could you please test if this patch works for you too? If so, I'll send it as a patch tomorrow (For me, it even fixes g++.dg/other/darwin-cfstring1.C): Index: fixincludes/fixincl.x

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #8 from Segher Boessenkool --- There is no bug, so we don't have to do anything. To make slightly better code we could make the soft float routines be prototyped?

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-16 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #18 from Marc Glisse --- (In reply to Jakub Jelinek from comment #17) > Without the #c11 patch (+ removal of the !INTEGRAL_TYPE_P special case from > the above committed change + fixing up ptrs_compare_unequal, or something >

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #3 from Jonathan Wakely --- The "nonexistent-path/.." part is reported as https://sourceforge.net/p/mingw-w64/bugs/782/

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread umesh.kalappa0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #7 from Umesh Kalappa --- Segher,true ,so how do we fix the case , modify the __floatunsidf to clear arg higher 32 bits , before it use ?

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #2 from Jonathan Wakely --- But that fix looks wrong, it means "file/" will resolve to "file" and that's wrong a for a non-directory, because "file/" should fail. Testcase demonstrating the mingw bugs: #include #include void

[Bug c++/86610] [8/9 Regression] non-const operator erroneously called in lambda in templated function

2019-01-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86610 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/88734] [8/9 Regression] AArch64's ACLE intrinsics give an ICE instead of compile error when option mismatch.

2019-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88734 --- Comment #3 from Jakub Jelinek --- Actually, with -Wsystem-headers we do warn about that: include/arm_neon.h:33073:9: warning: ‘#pragma GCC option’ is not a string [-Wpragmas] 33073 | #pragma GCC target(("arch=armv8.2-a+sm4")) |

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 --- Comment #8 from Marek Polacek --- That is most likely a bug in the package. GCC 8 wasn't very good at detecting narrow conversions, but in GCC 9 things have improved, so probably we just detect invalid code now. The problem in this PR is

[Bug target/88734] [8/9 Regression] AArch64's ACLE intrinsics give an ICE instead of compile error when option mismatch.

2019-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88734 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug fortran/81849] Size of automatic array argument specified by host-associated variable.

2019-01-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81849 --- Comment #10 from Jürgen Reuter --- Actually, it was Thomas Koenig in r267953, so not your commits, but very close.^^ The report is PR88871.

[Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427

2019-01-16 Thread trnka at scm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84487 Tomáš Trnka changed: What|Removed |Added CC||trnka at scm dot com --- Comment #12 from

[Bug fortran/81849] Size of automatic array argument specified by host-associated variable.

2019-01-16 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81849 --- Comment #9 from Steve Kargl --- On Wed, Jan 16, 2019 at 07:13:37AM +, juergen.reuter at desy dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81849 > > --- Comment #8 from Jürgen Reuter --- > I think this fix or something

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #7

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #6 from Segher Boessenkool --- Sure, with 32-bit ABIs the registers are just 32 bits, for all intents and purposes. But we have -m64 here. (see also the "lwa" insn). I think that because __floatunsidf has no prototype all its args

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 --- Comment #6 from Martin Liška --- Upstream bug: https://github.com/xianyi/OpenBLAS/issues/1964

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Wed Jan 16 15:58:34 2019 New Revision: 267976 URL: https://gcc.gnu.org/viewcvs?rev=267976=gcc=rev Log: PR c++/78244 - narrowing conversion in template not detected. *

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/88684] Please make SANITIZER_NON_UNIQUE_TYPEINFO a runtime flag (or always true)

2019-01-16 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88684 --- Comment #11 from Rafael Avila de Espindola --- (In reply to Martin Liška from comment #10) > > That said, I'm willing to ack it for GCC9 even then if upstream comes up > > with something or if they don't care, eventually as a GCC only tweak.

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 --- Comment #6 from Marek Polacek --- And of course r265789 changed int{(p(), 0U)} from being dependent to being non-dependent, so scenario 2) to scenario 1).

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 --- Comment #4 from Andrew Pinski --- Replace: : : "r" (i), "r" (n), With: : "+r" (i), "+r" (n), :

[Bug rtl-optimization/88879] [9 Regression] ICE in sel_target_adjust_priority, at sel-sched.c:3332

2019-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88879 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug rtl-optimization/88879] [9 Regression] ICE in sel_target_adjust_priority, at sel-sched.c:3332

2019-01-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88879 Alexander Monakov changed: What|Removed |Added CC||abel at gcc dot gnu.org --- Comment

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 --- Comment #3 from Martin Liška --- (In reply to Andrew Pinski from comment #2) > The inline asm modifies the 0th and 1st operands. I think the inline asm is > broken . You are right, they are modified. Can you please help me how to fix the

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 --- Comment #5 from Marek Polacek --- (My proof-of-concept patch to deal with narrowing in decltype fixed this PR as a result.)

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2019-01-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #12 from Martin Jambor --- Author: jamborm Date: Wed Jan 16 15:41:07 2019 New Revision: 267975 URL: https://gcc.gnu.org/viewcvs?rev=267975=gcc=rev Log: [PR 88214] Check that an argument is a pointer 2019-01-16 Martin Jambor

[Bug c++/88815] [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 --- Comment #4 from Marek Polacek --- There can be three scenarios: 1) decltype is in a template and it has no dependent expressions -- PROBLEM - we call finish_compound_literal from cp_parser_functional_cast - processing_template_decl is 1, so

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2019-01-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #11 from Martin Jambor --- Author: jamborm Date: Wed Jan 16 15:37:33 2019 New Revision: 267974 URL: https://gcc.gnu.org/viewcvs?rev=267974=gcc=rev Log: [PR 88214] Check that an argument is a pointer 2019-01-16 Martin Jambor

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 --- Comment #2 from Andrew Pinski --- The inline asm modifies the 0th and 1st operands. I think the inline asm is broken .

[Bug driver/88883] New: [AArch64] gcc/config/aarch64/aarch64.opt: aarch64_branch_protection_string type

2019-01-16 Thread p...@gcc-bugzilla.mail.kapsi.fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3 Bug ID: 3 Summary: [AArch64] gcc/config/aarch64/aarch64.opt: aarch64_branch_protection_string type Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #4 from Bill Schmidt --- "Values shorter than 32 bits are sign-extended or zero-extended, depending on whether they are signed or unsigned." Source:

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 --- Comment #1 from Andrew Pinski --- That inline asm looks big and suspicious.

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #13 from Iain Sandoe --- (In reply to Richard Biener from comment #12) > OK, so C++ has > > else if ((DECL_NAME (decl) == NULL_TREE) >&& TREE_CODE (decl) == NAMESPACE_DECL) > dump_decl (cxx_pp, decl,

  1   2   >