ty: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.o
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
j
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
The following code is accepted by all versions of GCC that I tried (including
"trunk"
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
May or may not be a duplicate of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106119
Consider the following code
oduct: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
Consider the following code:
int range_c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103362
--- Comment #2 from Egor Suvorov ---
Thank you very much, sent a report there:
https://sourceware.org/bugzilla/show_bug.cgi?id=28619
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
Here is an issue that one of my students encountered today:
https://stackoverflow.com/questions/70069809/unrecognized-emulation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98677
--- Comment #4 from Egor Suvorov ---
Note that the issue requires both UBSanitizer and Valgrind enabled
simultaneously. Running with just one of them does not result in an error.
The versions are ones installed in Ubuntu 20.04.3 Focal Fossa (amd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100764
--- Comment #1 from Egor Suvorov ---
UPD: compiling with `g++ -v -std=c++20` on Godbolt's GCC 11.1 yields the
following information about versions:
Using built-in specs.
COLLECT_GCC=/opt/compiler-explorer/gcc-11.1.0/bin/g++
Target: x86_64-linux
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
The following snippet, when compiled with `g++ -std=c++20`:
template
struct LiteralResolver {
constexpr
: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
Possible duplicate of this StackOverflow
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188
--- Comment #5 from Egor Suvorov ---
Created attachment 50214
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50214&action=edit
Preprocessor output for Egor Suvorov's example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188
Egor Suvorov changed:
What|Removed |Added
CC||egor_suvorov at mail dot ru
--- Comment
: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
Consider the following code:
#include
int main() {
std::regex regex(&quo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019
--- Comment #1 from Egor Suvorov ---
Also, I would expect a warning in this case:
requires {
foo(); // Looks like a statement.
};
but not this:
requires {
static_cast(foo());
};
or this:
requires {
{ foo() }; // expression chec
ve warning
emitted
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: egor_suvorov at mail dot ru
Target
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Target Milestone: ---
Consider the following test case:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/testsuite/g%2B%2B.dg/cpp0x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93642
Egor Suvorov changed:
What|Removed |Added
CC||egor_suvorov at mail dot ru
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66096
Egor Suvorov changed:
What|Removed |Added
CC||egor_suvorov at mail dot ru
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60434
--- Comment #3 from Egor Suvorov ---
Yes, here is result both with C++03 and with C++11 (they're absolutely the
same):
a.cpp: In function 'int main()':
a.cpp:5:19: warning: format '%f' expects argument of type 'double', but
argument 2 has type 'l
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60434
--- Comment #2 from Egor Suvorov ---
Created attachment 32283
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32283&action=edit
Output of gcc with '-v -save-temps -std=c++11 -Wformat'
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
As you know, C++11 defines %Lf for writing and reading long double and %lf/%f
for double. I can successfully use them in printf in MinGW, but it gives me
false
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: egor_suvorov at mail dot ru
Created attachment 31482
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31482&action=edit
Output of gcc with '-v -save-temps'
Here's a full code:
int arr[1];
int n =
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59564
--- Comment #1 from Egor Suvorov ---
Created attachment 31483
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31483&action=edit
Preprocessed source file
24 matches
Mail list logo