https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287
Bug ID: 101287
Summary: Implicite template specialization redefines member
function but compiles
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287
--- Comment #1 from Jonathan Wakely ---
The actual code is required though, as https://gcc.gnu.org/bugs says:
template
struct C {
void f() { T x; }
void g() = delete;
};
C c; // OK, definition of C::f is not
instantia
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101286
Jakub Jelinek changed:
What|Removed |Added
Last reconfirmed||2021-07-01
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287
--- Comment #2 from Eligor Kadaf ---
Agree, and the link was incorrect, so there is a correct one:
https://godbolt.org/z/zEz8c7abM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101252
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101179
Andrew Pinski changed:
What|Removed |Added
CC||antoshkka at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101251
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101179
--- Comment #8 from Andrew Pinski ---
*** Bug 101251 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101288
Bug ID: 101288
Summary: Invalid instantiated redeclaration considered valid by
gcc
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101179
--- Comment #9 from Andrew Pinski ---
Here is one more function which should be the same:
int f0(int y)
{
const bool x = y % 100 == 0;
return (y & ((4 << (x * 2)) - 1)) != 0;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101286
Jakub Jelinek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621
sandra at gcc dot gnu.org changed:
What|Removed |Added
CC||sandra at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101279
--- Comment #1 from Andrew Pinski ---
See also https://gcc.gnu.org/legacy-ml/gcc/2009-02/msg00408.html which was a
way forward for wrapv but there was not much work on it really since that year.
The work on this has a huge impact to the IR real
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
Harold Gutch changed:
What|Removed |Added
CC||gcc_bugzilla at foobar dot
franken
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
--- Comment #2 from Harold Gutch ---
Created attachment 51098
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51098&action=edit
revert the change of condition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Bug ID: 101289
Summary: bogus -Wvla-paramater warning when using const for vla
param
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210701 (experimental) [master revision
:b1f5e3e73:a688c284dd3848b6c4ea553035f0f9769fb4fbc9] (GCC)
$ cat mutant.c
typedef *a;
typedef struct {
struct {
struct {
struct {
struct {
struct {
struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Martin Sebor changed:
What|Removed |Added
Target Milestone|--- |11.2
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Martin Sebor changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070
sandra at gcc dot gnu.org changed:
What|Removed |Added
CC||sandra at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101279
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101274
--- Comment #4 from Thomas Rodgers ---
I did some more reading of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4878.pdf and it would
seem that you are not even guaranteed a deterministic ordering of the
application of binary_op on th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548
Martin Sebor changed:
What|Removed |Added
Keywords||patch
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Martin Sebor changed:
What|Removed |Added
Keywords||patch
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101275
Kito Cheng changed:
What|Removed |Added
CC||kito at gcc dot gnu.org
--- Comment #1 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860
--- Comment #50 from Martin Liška ---
(In reply to David Binderman from comment #49)
> Created attachment 51095 [details]
> C source code
>
> Command line is
>
> /home/dcb/gcc/working/./gcc/xgcc -B/home/dcb/gcc/working/./gcc/ -g -O3
> -march
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101283
--- Comment #4 from Richard Biener ---
It might make sense to provide targets a means to opt-out of CTF/BTF support
and thus diagnose -gctf as unsupported on them.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101285
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |9.5
Keywords|
rking/./gcc/specs
COLLECT_GCC=/home/dcb/gcc/working/./gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../trunk.git/configure --prefix=/home/dcb/gcc/results.20210701
--disable-multilib --disable-werror --with-pkgversion=91c771ec8a3b6497
--enable-checking=df,extra,fold,rtl,yes --enabl
e-languages=c,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101290
Richard Biener changed:
What|Removed |Added
Keywords||accepts-invalid
Component|tre
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101280
--- Comment #7 from CVS Commits ---
The master branch has been updated by Richard Biener :
https://gcc.gnu.org/g:c4804ff24401733e3b470a49b8a6c9306e6cfcfa
commit r12-1973-gc4804ff24401733e3b470a49b8a6c9306e6cfcfa
Author: Richard Biener
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101173
--- Comment #11 from CVS Commits ---
The master branch has been updated by Richard Biener :
https://gcc.gnu.org/g:c4804ff24401733e3b470a49b8a6c9306e6cfcfa
commit r12-1973-gc4804ff24401733e3b470a49b8a6c9306e6cfcfa
Author: Richard Biener
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101256
--- Comment #4 from Martin Liška ---
I managed reducing a test-case:
$ cat driver.cpp
#include
#include
template
const T& max(const T& a, const T& b)
{
return (a < b) ? b : a;
}
signed char var_5 = -128;
unsigned int var_11 = 21444792
101 - 134 of 134 matches
Mail list logo