[Bug libfortran/96886] [10 Regression] valgrind error with optional character argument of unknown length

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

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #13 from Richard Biener --- Note we can still overflow locations so I wonder if we can have a more forgiving failure mode? Return UNKNOWN_LOCATION maybe.

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #12 from Richard Biener --- For PHIs we could use the cache but I see we're simply dropping the BLOCKs there (now that block location is encoded in the location we _do_ have a location BLOCK there as well). At least /* Do not

[Bug sanitizer/96885] "member call on misaligned address" when calling a second base member through a pointer to member of derived class

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

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #14 from Richard Biener --- so void lto_location_cache::input_location_and_block (location_t *loc, tree *block, struct bitpack_d *bp, class lto_input_block *ib,

[Bug c/96834] [9/10/11 Regression] Segmentation fault signal terminated program cc1

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96834 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/96892] New: wrong __stack_chk_guard for comparison

2020-09-02 Thread dongjianqiang2 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 Bug ID: 96892 Summary: wrong __stack_chk_guard for comparison Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/96881] [8/9/10/11 Regression] Clobbers on NULL vs. DCE since r8-1519

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96881 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-09-02 Assignee|unassigne

[Bug fortran/96886] [10 Regression] valgrind error with optional character argument of unknown length

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96886 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3 Priority|P3

[Bug target/96893] New: aarch64:Segmentation fault signal terminated program cc1

2020-09-02 Thread z.zhanghaijian at huawei dot com
f4(); } void f2() {printf("2\n"); f3(); } void f1() {printf("1\n"); f2(); } int main(int argc, char** argv){ f1(); } This produces the error on aarch64: gcc test.c -S -w gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submi

[Bug analyzer/96894] New: Analyzer assumes pointer is NULL, even if pointer was tested to be non-null before

2020-09-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96894 Bug ID: 96894 Summary: Analyzer assumes pointer is NULL, even if pointer was tested to be non-null before Product: gcc Version: 11.0 Status: UNCONFIRMED Severit

[Bug c/96834] [9/10/11 Regression] Segmentation fault signal terminated program cc1

2020-09-02 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96834 --- Comment #7 from z.zhanghaijian at huawei dot com --- (In reply to Richard Biener from comment #5) > (In reply to z.zhanghaij...@huawei.com from comment #4) > > The case like: > > test.c: > > int f31() { } > > void f30() { print

[Bug fortran/96886] [10 Regression] valgrind error with optional character argument of unknown length

2020-09-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96886 Martin Liška changed: What|Removed |Added Known to fail||10.2.0 Known to work|

[Bug fortran/96886] [10 Regression] valgrind error with optional character argument of unknown length

2020-09-02 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96886 --- Comment #3 from Tobias Burnus --- (In reply to Andy May from comment #0) > Looks like a regression between 10.1.0 and 10.2.0. test.f90: I think that's the same issue as reported in PR 94672 comment 12 last week – which has been fixed very re

[Bug target/96882] Wrong assembly code generated with arm-none-eabi-gcc -flto -mfloat-abi=hard options

2020-09-02 Thread emilie.feral at numworks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96882 --- Comment #5 from emilie.feral at numworks dot com --- When compiling without the lto using the command: arm-none-eabi-gcc main.c -Os -mfloat-abi=hard -mthumb -mcpu=cortex-m4 -ffreestanding -nostdlib -lgcc -save-temps -o a.elf I get the followi

[Bug tree-optimization/96888] Missing vectorization opportunity depending on integer type

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96888 Richard Biener changed: What|Removed |Added Blocks||53947 Status|UNCONFIRMED

[Bug target/96893] aarch64:Segmentation fault signal terminated program cc1

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96893 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-09-02 Target|

[Bug target/96895] New: ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 Bug ID: 96895 Summary: ABI of returning V1DF differs between GCC and clang Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Keywords|

[Bug analyzer/96608] Build failure due to cast to type long on MinGW

2020-09-02 Thread p...@gcc-bugzilla.mail.kapsi.fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96608 Pekka S changed: What|Removed |Added CC||p...@gcc-bugzilla.mail.kaps

[Bug c++/96877] Erroneous warning when default initializing function pointer types defined using std::declval

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96877 --- Comment #5 from Jonathan Wakely --- (In reply to Ian Henriksen from comment #3) > The goal of doing it that way was get the exception specification onto the > pointer type in C++11 and C++14. The intent was to get the equivalent of > > typed

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #15 from Jakub Jelinek --- Short reproducer: $ cat pr94311.c #line 210 static inline __attribute__((always_inline)) void foo (void) { int a = 23; } #line 65570 volatile int v; #define A { int b = 42; foo (); } #define B A A A A A A

[Bug tree-optimization/94301] Missed vector-vector CTOR / permute simplification

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94301 --- Comment #2 from Richard Biener --- OK, so the ICE is the vectorizers fault in generating BLKmode vectors. What remains is the missed optimization on __VEC_PERM: typedef double v2df __attribute__((vector_size(16))); typedef double v4df __att

[Bug target/96759] ICE in extract_insn, at recog.c:2294

2020-09-02 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96759 --- Comment #2 from Kito Cheng --- It work on GCC 9, GCC will split that into two plain move instead of move from a (subreg (parallel [(reg) (reg)])). (insn 23 22 24 (set (reg:SI 83) (reg:SI 10 a0)) "g++.target/riscv/pr96759.C":8:38 -1

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 --- Comment #2 from Jonathan Wakely --- The instructions at https://gcc.gnu.org/bugs are clear about providing the commands used to compile, please remember to state that you used -std=c++20 (a godbolt URL is not sufficient). The branch using me

[Bug target/96893] aarch64:Segmentation fault signal terminated program cc1

2020-09-02 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96893 --- Comment #2 from z.zhanghaijian at huawei dot com --- (In reply to Richard Biener from comment #1) > Please provide a script to generate the testcase. A backtrace would be nice > as well, likely the stack blows up. cat gen.sh #!/bin/bash ech

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #16 from Jakub Jelinek --- One possible way at the libcpp side is to make sure we don't deplete the location_t stuff too much once we are above highest > LINE_MAP_MAX_LOCATION_WITH_COLS. I mean, the comment above this if block says:

[Bug target/96607] GCC feeds SPARC/Solaris linker with unrecognized TLS sequences

2020-09-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96607 Eric Botcazou changed: What|Removed |Added CC|ebotcazou at gcc dot gnu.org | Status|NEW

[Bug target/96607] GCC feeds SPARC/Solaris linker with unrecognized TLS sequences

2020-09-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96607 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/96882] Wrong assembly code generated with arm-none-eabi-gcc -flto -mfloat-abi=hard options

2020-09-02 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96882 --- Comment #6 from Richard Earnshaw --- Yes, the problem is related to returning values in memory and the ABI variants we have. If we have hardware floating-point we generally use registers to return values; if we don't, then we have to return

[Bug fortran/96896] New: Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-02 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 Bug ID: 96896 Summary: Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/96859] Wrong answer with intrinsic merge_bits

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96859 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b567d3bd302933adb253aba9069fd8120c485441 commit r11-2978-gb567d3bd302933adb253aba9069fd8120c485441 Author: Jakub Jelinek Date: W

[Bug c++/93689] ICE with default argument in lambda used as non type template argument

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93689 bastien penavayre changed: What|Removed |Added CC||bastien.penavayre at epitech dot e

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-02 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 --- Comment #1 from Tobias Burnus --- The error occurs for the LHS of: myshape(b) = 0.0 reshape_test:_F.DA0 => myshape[[((reshape_test:b(FULL)))]] (gfc_debug_expr output) (gdb) p lvalue->rank $9 = 0 (gdb) p rvalue->rank $10 = 2 Maybe

[Bug c++/93689] ICE with default argument in lambda used as non type template argument

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93689 --- Comment #7 from bastien penavayre --- somewhat related 93595 ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93595 ) is still in UNCONFIRMED state.

[Bug tree-optimization/96897] New: Failure to optimize not+not+dec+and+not to add+or

2020-09-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96897 Bug ID: 96897 Summary: Failure to optimize not+not+dec+and+not to add+or Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/96897] Failure to optimize not+not+dec+and+not to add+or

2020-09-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96897 --- Comment #1 from Marc Glisse --- We already transform to return ~(-2 - x) | x; so this is really asking for ~(-2 - x) --> x + 1

[Bug target/96898] New: [nvptx] libatomic support

2020-09-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96898 Bug ID: 96898 Summary: [nvptx] libatomic support Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assigne

[Bug target/96893] aarch64:Segmentation fault signal terminated program cc1

2020-09-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96893 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug target/96893] aarch64:Segmentation fault signal terminated program cc1

2020-09-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96893 Martin Liška changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Martin Liška ---

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 --- Comment #2 from Michael Matz --- The psABI doesn't say anything about such types, no. Maybe it could in some additional info pages, but it's always a problem to codify behaviour retroactively in it, when conflicting implementations already e

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 H.J. Lu changed: What|Removed |Added URL||https://gitlab.com/x86-psAB

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 --- Comment #4 from H.J. Lu --- (In reply to Michael Matz from comment #2) > The psABI doesn't say anything about such types, no. Maybe it could in some > additional info pages, but it's always a problem to codify behaviour > retroactively > in

[Bug target/96899] New: [10.2 Regression] [SH] Bootstrap fails when building libgomp

2020-09-02 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96899 Bug ID: 96899 Summary: [10.2 Regression] [SH] Bootstrap fails when building libgomp Product: gcc Version: 10.2.0 URL: https://buildd.debian.org/status/fetch.php?pkg=gc

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #17 from Jakub Jelinek --- Created attachment 49175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49175&action=edit gcc11-pr94311.patch Untested patch which implements location and block caching and the above test passes with

[Bug target/96791] ICE in convert_mode_scalar, at expr.c:412

2020-09-02 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96791 --- Comment #8 from acsawdey at gcc dot gnu.org --- Another small test case, reduced from my compile failure of c/c-typeck.c and modified to provoke truncation from POImode to various other modes: typedef int *a; struct b { a ba; }; enum c { c1=1

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 --- Comment #5 from Richard Biener --- (In reply to Michael Matz from comment #2) > The psABI doesn't say anything about such types, no. Maybe it could in some > additional info pages, but it's always a problem to codify behaviour > retroactivel

[Bug target/96899] [10.2 Regression] [SH] Bootstrap fails when building libgomp

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96899 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #5) > (In reply to Michael Matz from comment #2) > > The psABI doesn't say anything about such types, no. Maybe it could in some > > additional info pages, but it's

[Bug target/96899] [10 Regression] [SH] Bootstrap fails when building libgomp

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96899 Richard Biener changed: What|Removed |Added Summary|[10.2 Regression] [SH] |[10 Regression] [SH]

[Bug tree-optimization/96897] Failure to optimize not+not+dec+and+not to add+or

2020-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96897 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/96899] [10 Regression] [SH] Bootstrap fails when building libgomp

2020-09-02 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96899 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to Richard Biener from comment #1) > Did it work with GCC 10.1? Yes. I'm currently performing some test builds and will hopefully start bisecting soon.

[Bug target/96895] ABI of returning V1DF differs between GCC and clang

2020-09-02 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96895 --- Comment #7 from Michael Matz --- (In reply to Richard Biener from comment #5) > So vector types with element type T and N, a power-of-two, not otherwise > specified are passes the same as > > struct S { T a[N] }; > > ? No. structs, if the

[Bug tree-optimization/96822] [11 regression] Starting with r11-2883 ICE in decompose, at wide-int.h:984

2020-09-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96822 seurer at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|UNCO

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2f983fa69005b603ea1758a013b4134d5b0f24a8 commit r11-2981-g2f983fa69005b603ea1758a013b4134d5b0f24a8 Author: Jonathan Wakely Date:

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #46 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2f983fa69005b603ea1758a013b4134d5b0f24a8 commit r11-2981-g2f983fa69005b603ea1758a013b4134d5b0f24a8 Author: Jonathan Wakely Date:

[Bug target/96814] [11 Regression] wrong code with -march=cascadelake since r11-1445-g502d63b6d6141597

2020-09-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96814 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #2

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread milasudril at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 --- Comment #4 from milasudril at gmail dot com --- Actually, I did not even try without the c++20 flag: template< class T, std::size_t N > bool operator<( const std::array& lhs, const std::array& rhs ); (3) (until C++

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 --- Comment #5 from Jonathan Wakely --- (In reply to milasudril from comment #4) > Actually, I did not even try without the c++20 flag: That's irrelevant. The bug happens when using c++20, so the bug report should include the options necessary t

[Bug tree-optimization/96897] Failure to optimize sub+not involving constant to add

2020-09-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96897 Gabriel Ravier changed: What|Removed |Added Summary|Failure to optimize |Failure to optimize sub+not

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #26 from Jonathan Wakely --- (In reply to Manuel López-Ibáñez from comment #22) > My point is that the fix cannot be only limited to tweaking stdbool.h, as > long as any C++ mode still defines false as a macro. As I said in comment 1

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:33c34c4c2466fd4fd050ed8e2d5996c35ebdeef6 commit r10-8702-g33c34c4c2466fd4fd050ed8e2d5996c35ebdeef6 Author: Jonathan Wakel

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #27 from Jonathan Wakely --- The original testcase gets a warning even for -std=c++98 now, thanks to dmalcolm's r268589 (included in GCC 9.1).

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Jonathan Wakely changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Commen

[Bug c++/93317] return type deduction fails for templated unary function

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93317 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/69194] [5/6 Regression] internal compiler error: in extract_insn, at recog.c:2286

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69194 Jonathan Wakely changed: What|Removed |Added CC||max.kan...@nu-cost.com --- Comment #7

[Bug libstdc++/92978] std::gcd mishandles mixed-signedness

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92978 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c71644776f4e8477289a4de16239dbb420db6945 commit r11-2983-gc71644776f4e8477289a4de16239dbb420db6945 Author: Jonathan Wakely Date:

[Bug libstdc++/92978] std::gcd mishandles mixed-signedness

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92978 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:31782bd45331ef3006f624d7b1cc9cd11b4abb84 commit r10-8703-g31782bd45331ef3006f624d7b1cc9cd11b4abb84 Author: Jonathan Wakel

[Bug c++/64194] [C++14] for function template with auto return

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 Jonathan Wakely changed: What|Removed |Added CC||max.kan...@nu-cost.com --- Comment #13

[Bug c++/93317] return type deduction fails for templated unary function

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93317 --- Comment #3 from Jonathan Wakely --- Oops, wrong bug number, I meant PR 64194 *** This bug has been marked as a duplicate of bug 64194 ***

[Bug middle-end/96900] New: bogus -Warray-bounds on strlen with valid pointer obtained from just-past-the-end

2020-09-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96900 Bug ID: 96900 Summary: bogus -Warray-bounds on strlen with valid pointer obtained from just-past-the-end Product: gcc Version: 11.0 Status: UNCONFIRMED Severity

[Bug c++/96877] Erroneous warning when default initializing function pointer types defined using std::declval

2020-09-02 Thread insertinterestingnamehere at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96877 --- Comment #6 from Ian Henriksen --- Thanks, this makes sense. I originally got this idea from https://stackoverflow.com/a/27489923. The discussion there implied there was some kind of ambiguity in the standard and showed some examples where ex

[Bug c++/96901] New: [11 Regression] Many libstdc++ tests FAIL on i686-linux due to a PCH FE bug

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96901 Bug ID: 96901 Summary: [11 Regression] Many libstdc++ tests FAIL on i686-linux due to a PCH FE bug Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: norm

[Bug middle-end/96900] [9/10/11 Regression] bogus -Warray-bounds on strlen with valid pointer obtained from just-past-the-end

2020-09-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96900 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Known to fail|

[Bug c++/96901] [11 Regression] Many libstdc++ tests FAIL on i686-linux due to a PCH FE bug

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96901 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug libstdc++/56109] Add light-weight ABI-compatible debug checks to standard containers

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

[Bug c++/96901] [11 Regression] Many libstdc++ tests FAIL on i686-linux due to a PCH FE bug

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96901 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #6 from Jonathan Wakely --- Thanks for the analysis.

[Bug libgomp/96902] New: internal compiler error in gimplify_scan_omp_clauses with "!$omp target enter data" directive

2020-09-02 Thread michalak at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96902 Bug ID: 96902 Summary: internal compiler error in gimplify_scan_omp_clauses with "!$omp target enter data" directive Product: gcc Version: 9.1.0 Status: UNCONFIRMED

[Bug fortran/96902] internal compiler error in gimplify_scan_omp_clauses with "!$omp target enter data" directive

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96902 Jakub Jelinek changed: What|Removed |Added Component|libgomp |fortran CC|

[Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973

2020-09-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96903 Bug ID: 96903 Summary: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/96904] New: [11 regression] excess errors from old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C after r11-2979

2020-09-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96904 Bug ID: 96904 Summary: [11 regression] excess errors from old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C after r11-2979 Product: gcc Version: 11.0 Status

[Bug middle-end/96900] [9/10/11 Regression] bogus -Warray-bounds on strlen with valid pointer obtained from just-past-the-end

2020-09-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96900 --- Comment #2 from Martin Sebor --- The underlying cause is fold_nonarray_ctor_reference() returning a scalar zero for apparently out-of-bounds references when determining the initializer for s.a from &s.a[sizeof s.a]. Its caller, constant_byte

[Bug testsuite/96904] [11 regression] excess errors from old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C after r11-2979

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96904 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/96894] Analyzer assumes pointer is NULL, even if pointer was tested to be non-null before

2020-09-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96894 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96905] New: ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 Bug ID: 96905 Summary: ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #29 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f049cda373d29ea1bce4065b24cbb392cdc5b172 commit r11-2985-gf049cda373d29ea1bce4065b24cbb392cdc5b172 Author: Jonathan Wakely Date:

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/96904] [11 regression] excess errors from old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C after r11-2979

2020-09-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96904 --- Comment #2 from seurer at gcc dot gnu.org --- Yup, thanks

[Bug target/96906] New: Failure to optimize __builtin_ia32_psubusw128 compared to 0 to __builtin_ia32_pminuw128 compared to operand

2020-09-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96906 Bug ID: 96906 Summary: Failure to optimize __builtin_ia32_psubusw128 compared to 0 to __builtin_ia32_pminuw128 compared to operand Product: gcc Version: 11.0 Status: UNCO

[Bug c/96907] New: [docs] document builtins for fputc and putc

2020-09-02 Thread ndesaulniers at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96907 Bug ID: 96907 Summary: [docs] document builtins for fputc and putc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/96905] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2020-09-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/96905] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2020-09-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 --- Comment #2 from Marek Polacek --- It looks like we've never cp_genericized the consteval function.

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 bastien penavayre changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/96907] [docs] document builtins for fputc and putc

2020-09-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96907 --- Comment #1 from Andrew Pinski --- putc was added by g-b53b5aa509 fputc has been there since before 2003.

[Bug d/96869] __vectors unsupported in hardware should be rejected at compile-time

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96869 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:f0a3bab43fda3084eaf1bdaac58936757f30ea35 commit r11-2988-gf0a3bab43fda3084eaf1bdaac58936757f30ea35 Author: Iain Buclaw Date: Mon Au

[Bug d/96869] __vectors unsupported in hardware should be rejected at compile-time

2020-09-02 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96869 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96905] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2020-09-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 --- Comment #3 from Jakub Jelinek --- Yeah, we certainly never want to genericize them.

  1   2   >