[Bug c++/94939] [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

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

[Bug middle-end/94935] Failure to emit call to absvsi2 for __builtin_abs with -ftrapv

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94935 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Last reconfirmed|

[Bug c++/94939] [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

2020-05-03 Thread tobias.pankr...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94939 Tobias Pankrath changed: What|Removed |Added Target||x86_64 Host|

[Bug c++/94939] New: [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

2020-05-03 Thread tobias.pankr...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94939 Bug ID: 94939 Summary: [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?) Product: gcc Version: 9.2.1 Status: UNCONFIRME

[Bug target/94934] Failure to inline addv

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94934 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Component|tree-opti

[Bug c++/94932] [10/11 Regression] ICE in ovl_skip_hidden, at cp/tree.c:2292 since r10-8016-gbce54ed494fd0e61

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

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

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

[Bug c++/94926] [9/10/11 regression] invalid use of incomplete type not recogniced for static self reference of templated struct since r9-297-g683be2f77b3ce4db

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

[Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-05-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #19 from CVS Commits --- The releases/gcc-9 branch has been updated by Bin Cheng : https://gcc.gnu.org/g:28d68fde77363520d64b2a7ea480040cf7cb004d commit r9-8561-g28d68fde77363520d64b2a7ea480040cf7cb004d Author: Bin Cheng Date: Mo

[Bug fortran/94925] Undesired runtime warning message

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #1 from Richard Biener --- The code printing this diagnostic is guarded with if (gfc_option.rtcheck & GFC_RTCHECK_ARRAY_TEMPS) { char * msg; if (fsym && proc_name) msg = xasprintf ("An a

[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

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

[Bug target/94915] MAX_EXPR weirdly optimized on x86 with -mtune=core2

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94915 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #1 from Richard

[Bug c/94902] internal compiler error: output_operand: invalid use of register 'frame'

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

[Bug fortran/94909] Rejects valid code for recursion where there is none

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94909 --- Comment #2 from Richard Biener --- how's a%dot_(b) not a recursion? (not exactly understanding what that deferred thing is ...)

[Bug tree-optimization/94908] Failure to optimally optimize certain shuffle patterns

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94908 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/94907] [10/11 Regression] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Summary|ICE: Segmentati

[Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903 Richard Biener changed: What|Removed |Added Known to work||10.0, 4.8.1 Last reconfirmed|

[Bug c/94902] internal compiler error: output_operand: invalid use of register 'frame'

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94902 Richard Biener changed: What|Removed |Added Summary|[10 Regression] internal|internal compiler error:

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #4 from Richard Biener

[Bug middle-end/94895] ICE in expand_block_tm, at trans-mem.c:2643

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94895 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-04 Status|UNCONFIRMED

[Bug c++/94907] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug fortran/94909] Rejects valid code for recursion where there is none

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94909 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/94926] [9/10/11 regression] invalid use of incomplete type not recogniced for static self reference of templated struct since r9-297-g683be2f77b3ce4db

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94926 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug c++/94932] [10/11 Regression] ICE in ovl_skip_hidden, at cp/tree.c:2292 since r10-8016-gbce54ed494fd0e61

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94932 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-04 Status|UNCONFIRMED

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confir

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

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

[Bug sanitizer/94910] detect_stack_use_after_return=1 is much slower than clang's

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

[Bug fortran/94931] request: print include path

2020-05-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #5 from Steve Kargl --- On Mon, May 04, 2020 at 01:33:43AM +, ryofurue at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 > > --- Comment #4 from Ryo Furue --- > > There is only place gfortran will sear

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org Summ

[Bug c++/94938] New: internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Bug ID: 94938 Summary: internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522 Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug fortran/94931] request: print include path

2020-05-03 Thread ryofurue at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #4 from Ryo Furue --- > There is only place gfortran will search for files that > it installs for intrinsic modules, openmp files, and > openacc files. There are no user files here. I see your point! So, should a library developer

[Bug fortran/94931] request: print include path

2020-05-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #3 from Steve Kargl --- On Mon, May 04, 2020 at 01:13:22AM +, ryofurue at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 > > --- Comment #2 from Ryo Furue --- > Thanks for the detailed description. >

[Bug fortran/94931] request: print include path

2020-05-03 Thread ryofurue at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #2 from Ryo Furue --- Thanks for the detailed description. > % gfcx -v -o z a.f90 | & grep -- -fin > > yields > > -fintrinsic-modules-path > /usr/home/kargl/work/lib/gcc/i586-unknown-freebsd13.0/10.0.0/finclude So, I wonder if it

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #2 from Christoph --- Created attachment 48434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48434&action=edit Pre-processed source code

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #1 from Christoph --- Created attachment 48433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48433&action=edit S file

[Bug c++/94937] New: ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Bug ID: 94937 Summary: ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/94780] [8/9 Regression] ICE in walk_body at gcc/tree-nested.c:713 since r6-3632-gf6f69fb09c5f81df

2020-05-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780 --- Comment #7 from Andreas Schwab --- This also crashes on riscv64: /daten/riscv64/gcc/gcc-20200502/gcc/testsuite/gcc.dg/pr94780.c: In function 'foo': /daten/riscv64/gcc/gcc-20200502/gcc/testsuite/gcc.dg/pr94780.c:8:1: internal compiler error:

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #6 from Arseny Solokha --- Thank you. (In reply to Dr. Jürgen Sauermann from comment #5) > Not sure how I can create a testcase file other than preprocessing or > minimizing it. Of course preprocessing is what you've been asked to d

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #5 from Dr. Jürgen Sauermann --- Hi, above is one preprocessed source file for which the warning has occurred. g++ version was 11.0.0 (latest from github). Compiled with: g++ -E -DHAVE_CONFIG_H -I. -I..-Wall -I sql -Werror -I/

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #4 from Dr. Jürgen Sauermann --- Created attachment 48431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48431&action=edit preprocessed apl-Bif_F12_FORMAT.cc, gzip'ed preprocessed source file apl-Bif_F12_FORMAT.cc

[Bug fortran/94931] request: print include path

2020-05-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

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

[Bug tree-optimization/94930] Failure to optimize out subvsi in expansion of __builtin_memcmp with 1 as the operand with -ftrapv

2020-05-03 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94930 --- Comment #1 from Marc Glisse --- AFAIK -ftrapv doesn't work very well and is kind of abandoned, in favor of -fsanitize=signed-integer-overflow (possibly with -fsanitize-undefined-trap-on-error), which does generate the code you expect.

[Bug analyzer/93993] ICE in make_region_for_unexpected_tree_code, at analyzer/region-model.cc:4786

2020-05-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93993 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #5 fr

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #2 from Dr. Jürgen Sauermann --- I checked different g++ versions; the problem occurs in versions 9, 10, and 11 of g++ but not in version 8. I tried to shrink the code to the bare minimum but if I do so then the warning is no longer

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #4 from Jonathan Wakely --- Fixed on master, backport for gcc-10 will have to wait until after the 10.1 release.

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d commit r11-30-g22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d Author: Jonathan Wakely Date:

[Bug libstdc++/90943] Visiting inherited variants no longer works in 9.1

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90943 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.4 |---

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Andreas Schwab changed: What|Removed |Added Target|sparc-*-* |sparc-*-* riscv64-*-* --- Comment #3 fr

[Bug libstdc++/94936] pmr::synchronized_pool_resource crashes without -pthread

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/94936] New: pmr::synchronized_pool_resource crashes without -pthread

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 Bug ID: 94936 Summary: pmr::synchronized_pool_resource crashes without -pthread Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priori

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread rhalbersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #2 from rhalbersma --- Sorry, my bad, but that particular overload of __fill_a1 calls __builtin_memset. I was under the impression that this was the reason for the missing constexpr. It would be great if simply adding _GLIBCXX20_CONST

[Bug middle-end/94935] New: Failure to emit call to absvsi2 for __builtin_abs with -ftrapv

2020-05-03 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94935 Bug ID: 94935 Summary: Failure to emit call to absvsi2 for __builtin_abs with -ftrapv Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/94934] New: Failure to inline addv

2020-05-03 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94934 Bug ID: 94934 Summary: Failure to inline addv Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug libstdc++/94933] New: std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread rhalbersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 Bug ID: 94933 Summary: std::fill_n delegates to __builtin_memset which is not constexpr Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Jonathan Wakely changed: What|Removed |Added Known to fail||6.4.0, 7.5.0, 8.4.0 CC

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug c++/90736] [9 Regression] Bogus error with alignas

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736 Jonathan Wakely changed: What|Removed |Added CC||soap at gentoo dot org --- Comment #9