[Bug fortran/87644] [7/8/9 Regression] ICE due to variable named "parameters"

2019-03-11 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87644 Fritz Reese changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/89672] New: NULL pointer check optimized out for the return value of memchr(NULL, c, 0)

2019-03-11 Thread him at revl dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89672 Bug ID: 89672 Summary: NULL pointer check optimized out for the return value of memchr(NULL, c, 0) Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: nor

[Bug c/43673] Incorrect warning: use of 'D' length modifier with 'a' type character

2019-03-11 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43673 --- Comment #5 from Xiong Hu XS Luo --- Ben's reply regarding to testing dfp on other targets: " > I suggest to test it on a platform where dfp is not supported as well, At this stage, the patches on the trunk don't identify any targets as supp

[Bug c/43673] Incorrect warning: use of 'D' length modifier with 'a' type character

2019-03-11 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43673 --- Comment #4 from Xiong Hu XS Luo --- Hi, Joseph, recently, I summited a quick fix in https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01949.html for this issue. Actually this was introduced by the initial patch https://gcc.gnu.org/ml/gcc-patches

[Bug c++/86521] [8/9 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template

2019-03-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 --- Comment #6 from Jason Merrill --- (In reply to Jason Merrill from comment #4) > The cast is ambiguous > > To construct a 'base', we consider the two constructors > > 1) base(const base&); > 2) base(base&&); > > for each of them we could co

[Bug c/43673] Incorrect warning: use of 'D' length modifier with 'a' type character

2019-03-11 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43673 Xiong Hu XS Luo changed: What|Removed |Added CC||joseph at codesourcery dot com,

[Bug c++/86521] [8/9 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template

2019-03-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 --- Comment #5 from Jason Merrill --- Author: jason Date: Tue Mar 12 03:19:22 2019 New Revision: 269602 URL: https://gcc.gnu.org/viewcvs?rev=269602&root=gcc&view=rev Log: PR c++/86521 - wrong overload resolution with ref-qualifiers. Her

[Bug c++/86521] [8/9 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template

2019-03-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 --- Comment #4 from Jason Merrill --- The cast is ambiguous To construct a 'base', we consider the two constructors 1) base(const base&); 2) base(base&&); for each of them we could convert the argument by either 3) operator U () && 4) operato

[Bug c++/89244] __builtin_is_constant_evaluated not documented

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89244 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/89644] [8/9 Regression] false-positive -Warray-bounds on strncpy with unterminated array

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89644 Martin Sebor changed: What|Removed |Added Keywords||patch Blocks|

[Bug target/89650] [9 Regression] ICE in pre_and_rev_post_order_compute, at cfganal.c:1055 since r269119

2019-03-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89650 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2019-03-10 00:00:00

[Bug demangler/89671] Demangling segfault

2019-03-11 Thread juanpotatodev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89671 --- Comment #1 from Hasan --- The Arch package: https://www.archlinux.org/packages/community/x86_64/telegram-desktop/ The source of the package: https://github.com/telegramdesktop/tdesktop

[Bug fortran/66695] [7/8/9 Regression] [F03] ICE with binding-name equal to the name of a use-associated procedure

2019-03-11 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695 --- Comment #9 from Jürgen Reuter --- Sorry if that maybe a stupid question but is it wise that close before the new release to start such a bigger coding?

[Bug demangler/89671] New: Demangling segfault

2019-03-11 Thread juanpotatodev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89671 Bug ID: 89671 Summary: Demangling segfault Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee:

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #13 from Jörn Engel --- None of those examples convince me. If you or I know that a zero-argument is impossible, but the compiler doesn't know, wouldn't that still be UB? And if the compiler knows, it can remove the branch either wa

[Bug middle-end/89655] GCC crashes building linux kernel for arm 32-bit (culprit r269453)

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

[Bug bootstrap/89656] [9 Regression] profiledbootstrap failure on aarch64-linux since r269453

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89656 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 Jakub Jelinek changed: What|Removed |Added Keywords|wrong-code | --- Comment #9 from Jakub Jelinek ---

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Mar 11 22:27:39 2019 New Revision: 269598 URL: https://gcc.gnu.org/viewcvs?rev=269598&root=gcc&view=rev Log: PR fortran/89651 * trans-openmp.c (gfc_omp_clause_default_

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #12 from Jakub Jelinek --- (In reply to Jörn Engel from comment #11) > Out of curiosity, if the only non-broken way to call __builtin_ctz(foo) is > via "foo ? __builtin_ctz(foo) : 32", why isn't the conditional moved into > __builtin

[Bug fortran/67740] Wrong association status of allocatable character pointer in derived types

2019-03-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67740 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug fortran/66695] [7/8/9 Regression] [F03] ICE with binding-name equal to the name of a use-associated procedure

2019-03-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #11 from Jörn Engel --- I stand corrected. Thank you very much! Out of curiosity, if the only non-broken way to call __builtin_ctz(foo) is via "foo ? __builtin_ctz(foo) : 32", why isn't the conditional moved into __builtin_ctz()? I

[Bug fortran/66695] [7/8/9 Regression] [F03] ICE with binding-name equal to the name of a use-associated procedure

2019-03-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66695 --- Comment #8 from Thomas Koenig --- Created attachment 45946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45946&action=edit First step towards a patch Expect quite a few regressions, but this seems to do the trick for this PR and PR 77

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #10 from Andrew Pinski --- I forgot to list what L15 was: .L15: tzcntl %eax, %eax vzeroupper ret

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #9 from Andrew Pinski --- (In reply to Jörn Engel from comment #6) > True for one, but not the other. > > return mask ? __builtin_ctz(mask) : 32; > 1099: 83 f6 ffxor$0x,%esi > 109c:

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #8 from Jörn Engel --- Updated testcase below fails to remove the branch with my gcc-8. /* * usage: * gcc -std=gnu11 -Wall -Wextra -g -march=core-avx2 -mbmi -fPIC -O3 % && ./a.out < /dev/zero */ #include #include #include #incl

[Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables

2019-03-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61261 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #7 from Jakub Jelinek --- int foo (int x) { return x ? __builtin_ctz (x) : 32; } works without conditionals just fine for me, both in 8.x and trunk, both C and C++, both -O2 and -O3.

[Bug fortran/67123] ICE with source allocation

2019-03-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67123 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from a

[Bug middle-end/89655] GCC crashes building linux kernel for arm 32-bit (culprit r269453)

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89655 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Mar 11 21:58:43 2019 New Revision: 269597 URL: https://gcc.gnu.org/viewcvs?rev=269597&root=gcc&view=rev Log: PR middle-end/89655 PR bootstrap/89656 * vr-values

[Bug bootstrap/89656] [9 Regression] profiledbootstrap failure on aarch64-linux since r269453

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89656 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Mar 11 21:58:43 2019 New Revision: 269597 URL: https://gcc.gnu.org/viewcvs?rev=269597&root=gcc&view=rev Log: PR middle-end/89655 PR bootstrap/89656 * vr-values

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #6 from Jörn Engel --- True for one, but not the other. return mask ? __builtin_ctz(mask) : 32; 1099: 83 f6 ffxor$0x,%esi 109c: 74 47 je 10e5 109e:

[Bug libstdc++/71312] mutexes for shared_ptr atomics should be padded to cacheline size

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71312 --- Comment #1 from Jonathan Wakely --- A slightly simpler fix: --- a/libstdc++-v3/src/c++11/shared_ptr.cc +++ b/libstdc++-v3/src/c++11/shared_ptr.cc @@ -34,7 +34,9 @@ namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden) __gnu_cxx::__mutex&

[Bug c++/89668] make[2]: autogen: Command not found

2019-03-11 Thread jiapei at longervision dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89668 --- Comment #4 from Pei JIA --- I just strictly follow http://linuxfromscratch.org/lfs/view/stable/chapter06/gcc.html, and I'm using the following command line: su nobody -s /bin/bash -c "PATH=$PATH make -k check" Should I do: su nobody -s

[Bug fortran/89661] FAIL: gfortran.dg/class_61.f90 -O (internal compiler error)

2019-03-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89661 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #5 from Jakub Jelinek --- (In reply to Jörn Engel from comment #4) > Fair enough. That means the only way to get tzcnt without a conditional is > by using inline asm. Of course not. Either you can use _tzcnt_u32, or you can use x ?

[Bug c++/89668] make[2]: autogen: Command not found

2019-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89668 --- Comment #3 from Andrew Pinski --- You can also look at the progress by tail -f gcc.log or gcc.sum if you want. But yes there are many testcases which causes this to be slow especially if you are not using -j.

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #4 from Jörn Engel --- Fair enough. That means the only way to get tzcnt without a conditional is by using inline asm. Annoying, but something I can work with. Annoying because for CPUs with BMI1, tzcnt is well-defined and I explic

[Bug fortran/89462] [7/8/9 Regression] gfortran loops in code generation

2019-03-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89462 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug libstdc++/71312] mutexes for shared_ptr atomics should be padded to cacheline size

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71312 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/89668] make[2]: autogen: Command not found

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

[Bug c++/89668] make[2]: autogen: Command not found

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89668 --- Comment #1 from Jonathan Wakely --- (In reply to Pei JIA from comment #0) > So, my questions are: > > Is make[2]: autogen: Command not found an ERROR? Is autogen required? This seems pretty clearly documented at https://gcc.gnu.org/inst

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #2 from Jörn Engel --- The input is 32. Does the "undefined-if-zero" thing give gcc license to remove code depending on the output? If it does, why is the code only removed when comparing against 31/32, not when comparing against 30

[Bug c/89670] __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 --- Comment #1 from Andrew Pinski --- __builtin_ctz is undefined if the input is 0 as documented.

[Bug c/89670] New: __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ?

2019-03-11 Thread joern at purestorage dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89670 Bug ID: 89670 Summary: __builtin_ctz(_mm256_movemask_epi8(foo)) assumed to be <31 ? Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libbacktrace/89669] /usr/ccs/bin/ld: Unsatisfied symbols: backtrace_uncompress_zdebug

2019-03-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89669 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libbacktrace/89669] /usr/ccs/bin/ld: Unsatisfied symbols: backtrace_uncompress_zdebug

2019-03-11 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89669 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Mon Mar 11 20:40:34 2019 New Revision: 269594 URL: https://gcc.gnu.org/viewcvs?rev=269594&root=gcc&view=rev Log: PR libbacktrace/89669 * Makefile.am (BUILDTESTS): O

[Bug libstdc++/89615] FAIL: 17_intro/headers/c++1998/charset.cc (test for excess errors)

2019-03-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89615 --- Comment #4 from dave.anglin at bell dot net --- On 2019-03-06 7:26 p.m., redi at gcc dot gnu.org wrote: > OK, so then maybe something like this: > > --- a/libstdc++-v3/include/ext/codecvt_specializations.h > +++ b/libstdc++-v3/include/ext/code

[Bug tree-optimization/89662] [9 Regression] -Warray-bounds ICE on void* arithmetic

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662 Martin Sebor changed: What|Removed |Added Keywords||patch Summary|[9 Regression]

[Bug preprocessor/89665] inconsistent macro expansion

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89665 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libbacktrace/89669] New: /usr/ccs/bin/ld: Unsatisfied symbols: backtrace_uncompress_zdebug

2019-03-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89669 Bug ID: 89669 Summary: /usr/ccs/bin/ld: Unsatisfied symbols: backtrace_uncompress_zdebug Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c/89667] initializers for character string arrays (char *[]) appear to reside in protected storage

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89667 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/89663] [7/8/9 Regression] ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663 --- Comment #3 from Jakub Jelinek --- Created attachment 45944 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45944&action=edit gcc9-pr89663.patch Untested fix.

[Bug c++/89668] New: make[2]: autogen: Command not found

2019-03-11 Thread jiapei at longervision dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89668 Bug ID: 89668 Summary: make[2]: autogen: Command not found Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/89667] New: initializers for character string arrays (char *[]) appear to reside in protected storage

2019-03-11 Thread rick at regreer dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89667 Bug ID: 89667 Summary: initializers for character string arrays (char *[]) appear to reside in protected storage Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug tree-optimization/89664] [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/89660] [9 Regression] Rejects-valid error with -Wredundant-move starting with r269427

2019-03-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89660 --- Comment #2 from Marek Polacek --- Untested patch: --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -9433,10 +9433,12 @@ maybe_warn_pessimizing_move (tree retval, tree functype) } /* Warn if the move is redundant. It is redundant

[Bug tree-optimization/89662] [9 Regression] -Warray-bounds ICE in contains_struct_check, at tree.h:3545

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug middle-end/89663] [7/8/9 Regression] ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug preprocessor/89665] inconsistent macro expansion

2019-03-11 Thread gciofono at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89665 --- Comment #2 from Giacinto Cifelli --- It mentions the following: "A parameter in the replacement list, unless preceded by a # or ## preprocessing token or followed by a ## preprocessing token (see below), is replaced by the corresponding argum

[Bug tree-optimization/89664] [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug middle-end/89663] [7/8/9 Regression] ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #3 from Richard Biener --- (In reply to jos...@codesourcery.com from comment #2) > On Mon, 4 Mar 2019, rguenth at gcc dot gnu.org wrote: > > > where the first result is off. The IL looks like > > > > int r = (int) ((long double

[Bug tree-optimization/82608] missing -Warray-bounds on an out-of-bounds VLA index

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 --- Comment #1 from Martin Sebor --- A few more test cases: $ cat z.c && gcc -O2 -S -Wall z.c int idx_negative (void) { int n = 4; char a[n]; return a[-99]; // -Warray-bounds (since GCC 8) } int idx_cst_too_big (void) { int

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jfeng33 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #7 from Jim Feng --- (In reply to Jakub Jelinek from comment #6) > (In reply to Jim Feng from comment #5) > > (In reply to Jakub Jelinek from comment #4) > > > On the other side, the testcase is invalid, because you are summing > > >

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #6 from Jakub Jelinek --- (In reply to Jim Feng from comment #5) > (In reply to Jakub Jelinek from comment #4) > > On the other side, the testcase is invalid, because you are summing > > uninitialized data. It is like if you did: > >

[Bug c++/68160] Can bind packed field if it's packed with #pragma pack(push, 1)

2019-03-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68160 Eric Gallager changed: What|Removed |Added CC||jason at redhat dot com,

[Bug c++/60972] Mixing #pragma pack and __attribute__((packed)) leads to spurious warnings.

2019-03-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60972 Eric Gallager changed: What|Removed |Added CC||jason at redhat dot com,

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jfeng33 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #5 from Jim Feng --- (In reply to Jakub Jelinek from comment #4) > On the other side, the testcase is invalid, because you are summing > uninitialized data. It is like if you did: > program pr89651 > integer :: n > real, allocata

[Bug c/82179] Optionally compile free calls in such a way that the passed pointer is clobbered after the call

2019-03-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82179 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/89660] [9 Regression] Rejects-valid error with -Wredundant-move starting with r269427

2019-03-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89660 --- Comment #1 from Marek Polacek --- Slightly reduced: namespace std { template T &&move(T &&); } template struct D { template D (D x) : k(&x.foo ()) {} S &foo (); int *k; }; D bar (); struct F { D baz () { D f = bar ();

[Bug ipa/89666] FAIL: gcc.dg/ipa/ipa-icf-39.c scan-ipa-dump-times icf "Unified;" 2

2019-03-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89666 --- Comment #2 from John David Anglin --- Looks like test needs: /* { dg-require-alias "" } */

[Bug ipa/89666] FAIL: gcc.dg/ipa/ipa-icf-39.c scan-ipa-dump-times icf "Unified;" 2

2019-03-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89666 --- Comment #1 from John David Anglin --- Created attachment 45942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45942&action=edit ICF

[Bug ipa/89666] New: FAIL: gcc.dg/ipa/ipa-icf-39.c scan-ipa-dump-times icf "Unified;" 2

2019-03-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89666 Bug ID: 89666 Summary: FAIL: gcc.dg/ipa/ipa-icf-39.c scan-ipa-dump-times icf "Unified;" 2 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #4 from Mathias Stearn --- @Jakub, This code doesn't have either mutable or noexcept, so the "wrong place in the grammer" issue doesn't apply. That part of the fix seems correct and useful. While it seems correct to fix what the c++1

[Bug preprocessor/89665] inconsistent macro expansion

2019-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89665 --- Comment #1 from Andrew Pinski --- The question here is does it match what the C standard says it should be instead.

[Bug c/89663] [7/8/9 Regression] ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-11 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #2 from joseph at codesourcery dot com --- On Mon, 4 Mar 2019, rguenth at gcc dot gnu.org wrote: > where the first result is off. The IL looks like > > int r = (int) ((long double) log (p) * (long double) inv_log_of_base); > >

[Bug tree-optimization/89662] [9 Regression] -Warray-bounds ICE in contains_struct_check, at tree.h:3545

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug preprocessor/89665] New: inconsistent macro expansion

2019-03-11 Thread gciofono at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89665 Bug ID: 89665 Summary: inconsistent macro expansion Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor

[Bug tree-optimization/89664] [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/89662] [9 Regression] -Warray-bounds ICE in contains_struct_check, at tree.h:3545

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/89654] [8/9 Regression] Invalid reload with -march=skylake -m32

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

[Bug tree-optimization/89644] False-positive -Warray-bounds diagnostic on strncpy

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89644 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug tree-optimization/89644] False-positive -Warray-bounds diagnostic on strncpy

2019-03-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89644 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/89664] [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug tree-optimization/89664] New: [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522

2019-03-11 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89664 Bug ID: 89664 Summary: [8/9 Regression] ICE in free_bb, at tree-ssa-math-opts.c:522 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/89663] New: ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831

2019-03-11 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663 Bug ID: 89663 Summary: ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug fortran/89661] FAIL: gfortran.dg/class_61.f90 -O (internal compiler error)

2019-03-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89661 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/89662] New: [9 Regression] ICE in contains_struct_check, at tree.h:3545

2019-03-11 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662 Bug ID: 89662 Summary: [9 Regression] ICE in contains_struct_check, at tree.h:3545 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug libstdc++/77691] [7/8/9 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #30 from Jonathan Wakely --- Created attachment 45940 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45940&action=edit Patch to fix resource_adaptor failures due to max_align_t bugs Could you please try this patch on Soalris an

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #4 from Jakub Jelinek --- On the other side, the testcase is invalid, because you are summing uninitialized data. It is like if you did: program pr89651 integer :: n real, allocatable :: t(:) n = 10 allocate (t(n)) print *,

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/89661] New: FAIL: gfortran.dg/class_61.f90 -O (internal compiler error)

2019-03-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89661 Bug ID: 89661 Summary: FAIL: gfortran.dg/class_61.f90 -O (internal compiler error) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal P

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

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

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Mar 11 16:28:11 2019 New Revision: 269588 URL: https://gcc.gnu.org/viewcvs?rev=269588&root=gcc&view=rev Log: PR libstdc++/89460 Fix Networking TS test failures on HP-UX Check for av

[Bug c++/89660] [9 Regression] Rejects-valid error with -Wredundant-move starting with r269427

2019-03-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89660 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/89660] [9 Regression] Rejects-valid error with -Wredundant-move starting with r269427

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89660 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

  1   2   >