[Bug c++/104343] improved error message for passing overloaded function to variadic(templated)-argument function

2024-03-17 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 --- Comment #7 from Frank Heckenbach --- #3 points out "Also, GCC 7 has been unsupported for a couple of years." My new "duplicate" report shows that the problem still exists with current versions. You might want to update the version number to

[Bug c++/114362] New: wrong error message "too many arguments" with overloaded function

2024-03-16 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114362 Bug ID: 114362 Summary: wrong error message "too many arguments" with overloaded function Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/114248] New: invalid "scalar object" error

2024-03-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114248 Bug ID: 114248 Summary: invalid "scalar object" error Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/114113] New: bogus -Walloc-zero warning

2024-02-26 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114113 Bug ID: 114113 Summary: bogus -Walloc-zero warning Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/114110] New: unhelpful message about non-movable types

2024-02-26 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114110 Bug ID: 114110 Summary: unhelpful message about non-movable types Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/113854] the expression 'is_invocable_v ... evaluated to 'false'

2024-02-11 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113854 --- Comment #4 from Frank Heckenbach --- (In reply to Jonathan Wakely from comment #1 and #2) > [...] than to get errors deep inside an instantiation stack. But they are deep in the stack; maybe not an instantiation stack, but a requires

[Bug c++/113854] New: the expression 'is_invocable_v ... evaluated to 'false'

2024-02-09 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113854 Bug ID: 113854 Summary: the expression 'is_invocable_v ... evaluated to 'false' Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/113839] misleading syntax error message

2024-02-08 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113839 --- Comment #3 from Frank Heckenbach --- > Except C++ parsing does not allow for that because C++ parsing requires > unlimited look ahead. While that's true in general, I think in specific cases (including most real-world cases), the

[Bug c++/113839] New: misleading syntax error message

2024-02-08 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113839 Bug ID: 113839 Summary: misleading syntax error message Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/111301] New: misleading messages about missing "inline"

2023-09-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111301 Bug ID: 111301 Summary: misleading messages about missing "inline" Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/111281] unhelpful warning output ('nonnull' argument 'v' compared to NULL)

2023-09-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111281 --- Comment #8 from Frank Heckenbach --- I don't suggest to get rid of the warning. As I said in #3, if it's hard to track, a more inclusive wording seems fine to me. But my main grief about this message is the lack of context, i.e. the really

[Bug c++/111281] unhelpful warning output ('nonnull' argument 'v' compared to NULL)

2023-09-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111281 --- Comment #4 from Frank Heckenbach --- FWIW, as stated, the lack of context in the message made it hard to find the actual location of the bug in my code -- in the end even harder than I had expected since it was well hidden. Fortunately I

[Bug c++/111281] unhelpful warning output ('nonnull' argument 'v' compared to NULL)

2023-09-03 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111281 --- Comment #3 from Frank Heckenbach --- Thanks for the additional info. I still think it would be useful if the message told me that, rather than you. ;) - 'nonnull' is a GCC attribute, and quoting it makes it look like it refers to that,

[Bug c++/111281] New: unhelpful warning output ('nonnull' argument 'v' compared to NULL)

2023-09-03 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111281 Bug ID: 111281 Summary: unhelpful warning output ('nonnull' argument 'v' compared to NULL) Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/111140] New: wrong error message

2023-08-24 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40 Bug ID: 40 Summary: wrong error message Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/110312] -Wcast-align=strict warning despite alignas

2023-06-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110312 --- Comment #2 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #1) > The decl has the increased alignment but the type does not in this case. > > So I think the warning is still correct. So there's no way around it other

[Bug c++/110312] New: -Wcast-align=strict warning despite alignas

2023-06-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110312 Bug ID: 110312 Summary: -Wcast-align=strict warning despite alignas Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/92707] type alias on type alias on lambda in unevaluated context does not work

2023-05-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92707 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug tree-optimization/109571] potential null pointer dereference

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109571 --- Comment #3 from Frank Heckenbach --- Thanks for the explanation, that was really helpful. If I understand it correctly, since B has a vtable and A doesn't, upcasting means to add some offset to the pointer, but of course not if it's null.

[Bug c++/109571] New: potential null pointer dereference

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109571 Bug ID: 109571 Summary: potential null pointer dereference Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/109569] warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109569 --- Comment #6 from Frank Heckenbach --- (In reply to Frank Heckenbach from comment #4) > Thanks. > > I just got another similar one, this time with string.insert. But I guess > it's pointless to dissect this one, or do you need more examples

[Bug c++/109569] warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109569 --- Comment #4 from Frank Heckenbach --- Thanks. I just got another similar one, this time with string.insert. But I guess it's pointless to dissect this one, or do you need more examples for your test suite?

[Bug tree-optimization/109565] -Wstrict-overflow false positive

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109565 --- Comment #5 from Frank Heckenbach --- > Agreed, but you asked for it with that option. Nope, I asked for warnings about signed integer overflow. > So you shouldn't have to care about begin(c) < end(c) either, it has to be > true. But you

[Bug c++/109569] warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109569 --- Comment #1 from Frank Heckenbach --- At least I found a work-around (for now): Moving, rather than copying the (emtpy) shared_ptr parameter to the (unused) shared_ptr member avoids the warning. Still, I'd like to know if this is an actual

[Bug c++/109569] New: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109569 Bug ID: 109569 Summary: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination

[Bug tree-optimization/109565] -Wstrict-overflow false positive

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109565 --- Comment #2 from Frank Heckenbach --- Maybe technically correct, but not useful to the user. The user's code doesn't involve pointers at all. It makes two queries about a span object. As the user, I don't even (and shouldn't have to) care

[Bug c++/109565] New: -Wstrict-overflow false positive

2023-04-20 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109565 Bug ID: 109565 Summary: -Wstrict-overflow false positive Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/109563] accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109563 --- Comment #2 from Frank Heckenbach --- Since I can't easily upgrade to trunk, I need to know if the warning is bogus in 12.2 and I can safely disable it, or do I need to worry about the generated code?

[Bug c++/109563] New: accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109563 Bug ID: 109563 Summary: accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]

[Bug c++/109561] New: -Wmaybe-uninitialized false positive false positive false positive false positive false positive

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109561 Bug ID: 109561 Summary: -Wmaybe-uninitialized false positive false positive false positive false positive false positive Product: gcc Version: 12.2.0 Status:

[Bug c/109550] warning: "p" may be used uninitialized

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109550 --- Comment #2 from Frank Heckenbach --- It might be useful then to actually say to in the warning, e.g. "p[...] may be used uninitialized". This might have saved me some debugging effort. But actually, that's not all. This code still gives

[Bug c/109550] New: warning: "p" may be used uninitialized

2023-04-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109550 Bug ID: 109550 Summary: warning: "p" may be used uninitialized Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/88508] std::bad_cast in std::basic_ostringstream.oss.fill()

2023-04-09 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88508 --- Comment #6 from Frank Heckenbach --- Yet ironically, char8_t and char16_t are meant to be used with a certain encoding (UTF-8 and UTF-16, respectively) which is locale-independent, whereas char is very much locale-dependent (with even EBCDIC

[Bug libstdc++/88508] std::bad_cast in std::basic_ostringstream.oss.fill()

2023-04-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88508 --- Comment #4 from Frank Heckenbach --- (In reply to Jonathan Wakely from comment #3) I don't think my description is "completely wrong". I'm basically saying the same as you, in plain English. char8_t was introduced as the preferred type for

[Bug libstdc++/88508] std::bad_cast in std::basic_ostringstream.oss.fill()

2023-04-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88508 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug c++/109367] bogus -Wunused-function warning

2023-03-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 --- Comment #2 from Frank Heckenbach --- My full testcase consists of many includes files, libraries etc. The type declarations (corresponding to the first two lines of the stripped-down example) are in a header to be called from other

[Bug c++/109367] New: bogus -Wunused-function warning

2023-03-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 Bug ID: 109367 Summary: bogus -Wunused-function warning Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/104577] needs copy constructor for class non-type template parameter

2022-12-27 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104577 --- Comment #3 from Frank Heckenbach --- (In reply to mail from comment #2) > I looked a bit further into this and into what the standard says. GCC does > partially the correct thing in this case, whereas several other compilers do > the wrong

[Bug c++/106774] warning about comparison to true/false

2022-08-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106774 --- Comment #6 from Frank Heckenbach --- > --- Comment #4 from Eric Gallager --- > (In reply to Richard Biener from comment #3) > > that's more coding style though? > > Yeah I personally prefer the more explicit way of writing it with both >

[Bug c++/106774] warning about comparison to true/false

2022-08-29 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106774 --- Comment #2 from Frank Heckenbach --- This should cover all cases mentioned: void t (bool a, int i, float e, double f) { // Boolean literal comparisons if (a == true) // better: if (a) return; if (a == false) // better: if (!a)

[Bug c++/106774] New: warning about comparison to true/false

2022-08-29 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106774 Bug ID: 106774 Summary: warning about comparison to true/false Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/60523] Warning flag for octal literals [-Woctal-literals]

2022-08-29 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60523 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug c++/97165] [10/11/12/13 Regression] Infinite error stream on invalid code

2022-08-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97165 --- Comment #8 from Frank Heckenbach --- Actually not infinite, just very many, see 106549. (Can the title be changed? It's why I didn't see this as a possible duplicate.)

[Bug c++/106549] New: excessive error messages with nested undefined template

2022-08-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106549 Bug ID: 106549 Summary: excessive error messages with nested undefined template Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103724] [9/10/11/12 Regression] invalid warning: iteration 7 invokes undefined behavior

2022-03-09 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 --- Comment #7 from Frank Heckenbach --- (In reply to Richard Biener from comment #6) > (In reply to Frank Heckenbach from comment #5) > > (In reply to Richard Biener from comment #4) > > > One thing we could do is annotate struct loop * with

[Bug c++/104577] New: needs copy constructor to call method of class non-type template parameter

2022-02-16 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104577 Bug ID: 104577 Summary: needs copy constructor to call method of class non-type template parameter Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/104495] call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 --- Comment #10 from Frank Heckenbach --- If it was me, it wasn't intentional, sorry. The select box on the web form defaults to "FIXED" for me even on reload (F5). I had to click on the link to itself to get a clean form (set to "DUPLICATE").

[Bug libstdc++/104495] call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 Frank Heckenbach changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #7 from Frank

[Bug libstdc++/104495] call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 --- Comment #5 from Frank Heckenbach --- As I replacement, I'll use the following code. It's a simple double-checked lock, probably not as efficient as the original, but seems to work. Posted here as RFC and for anyone else who encounters the

[Bug libstdc++/104495] call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 --- Comment #4 from Frank Heckenbach --- Indeed, it has 2.31. 2.34 is only just in Debian experimental, and apparently not available as a backport. Since I need my code to run on various systems and I can't realistically compile a new glibc

[Bug libstdc++/104495] call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 --- Comment #2 from Frank Heckenbach --- % g++ -print-multiarch x86_64-linux-gnu Debian 11.2, Linux 5.10.0-9-amd64

[Bug libstdc++/104495] New: call_once hangs in call after exceptional call

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104495 Bug ID: 104495 Summary: call_once hangs in call after exceptional call Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/104494] New: -Wsuggest-attribute=noreturn catch 22

2022-02-10 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104494 Bug ID: 104494 Summary: -Wsuggest-attribute=noreturn catch 22 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/104231] New: private ignored in non-type template parameter

2022-01-25 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104231 Bug ID: 104231 Summary: private ignored in non-type template parameter Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/69818] warn for C++ functional cast expression on pointer or reference (i.e. add -Wfunctional-cast)

2022-01-23 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69818 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug tree-optimization/103724] [9/10/11/12 Regression] invalid warning: iteration 7 invokes undefined behavior

2022-01-19 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 --- Comment #5 from Frank Heckenbach --- (In reply to Richard Biener from comment #4) > One thing we could do is annotate struct loop * with the (high level) > optimizations we've applied so that when we emit this warning we could say > >

[Bug c++/94061] defaulted member operator <=> defined as deleted if a base has protected member operator <=>

2022-01-08 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94061 --- Comment #3 from Frank Heckenbach --- (In reply to Patrick Palka from comment #2) > How do you define it? It works if we define it as > > auto operator <=> (const B& b) const { > return A::operator<=>(b); > } > > but not if it's

[Bug c++/94061] defaulted member operator <=> defined as deleted if a base has protected member operator <=>

2022-01-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94061 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug c++/103947] New: wishlist: warning if explicitly defaulted (spaceship) operator is deleted

2022-01-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103947 Bug ID: 103947 Summary: wishlist: warning if explicitly defaulted (spaceship) operator is deleted Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug c/103725] New: warning: assuming signed overflow does not occur when simplifying conditional to constant

2021-12-14 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103725 Bug ID: 103725 Summary: warning: assuming signed overflow does not occur when simplifying conditional to constant Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c/103724] invalid warning: iteration 7 invokes undefined behavior

2021-12-14 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 Frank Heckenbach changed: What|Removed |Added Summary|warning |invalid warning: iteration

[Bug c/103724] New: warning

2021-12-14 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 Bug ID: 103724 Summary: warning Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at

[Bug c++/103703] New: ICE with -Wmismatched-tags

2021-12-13 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103703 Bug ID: 103703 Summary: ICE with -Wmismatched-tags Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 --- Comment #2 from Frank Heckenbach --- https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html

[Bug c/103098] New: bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 Bug ID: 103098 Summary: bogus error: the last argument must be an 8-bit immediate Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102921] error: modification of '' is not a constant expression

2021-10-24 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921 --- Comment #1 from Frank Heckenbach --- The following program, compiled with "-std=c++20" gives this error message; I don't even understand what it's trying to tell me: error: modification of '' is not a constant expression #include

[Bug c++/102921] New: error: modification of '' is not a constant expression

2021-10-24 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921 Bug ID: 102921 Summary: error: modification of '' is not a constant expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal