: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
```
#include
struct xx {
int a;
int operator<=>(const xx&) const = default;
};
int f(std::set &x) {
x.emplace(0);
return 0;
}
```
: In in
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
I see a lot of old code that has copy constructors defined, but not move
constructors. This pessimizes code since the definition of the
Summary: 'cout << str' segfaults
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nunoplopes at
--- Comment #2 from nunoplopes at sapo dot pt 2007-06-24 19:07 ---
unfortunately I don't have a short reproducing test case. The whole framework
is a bit complex to allow me to extract a simple test case. This problem seems
to be related with some initialization that is perform
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
CC: gil.hur at sf dot snu.ac.kr, jeehoon.kang at sf dot
snu.ac.kr,
regehr at cs dot utah.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82177
--- Comment #2 from Nuno Lopes ---
(In reply to Andrew Pinski from comment #1)
> I don't see how this can ever be defined code.
>
> By definition yi will never be equal to pi unless by accident.
Sure, that's ok, but then pi = &x, and so the sto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82177
--- Comment #3 from Nuno Lopes ---
Sorry, I forgot to include the code for b.c:
void f(int*x, int*y) {}
: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
CC: gil.hur at sf dot snu.ac.kr, jeehoon.kang at sf dot
snu.ac.kr,
juneyoung.lee at sf dot snu.ac.kr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282
--- Comment #2 from Nuno Lopes ---
This is different from PR82177. That bug is in AA, this one is not.
See the C source:
uintptr_t u = (uintptr_t) (x + 1);
uintptr_t v = (uintptr_t) y;
// if b1 true, then b2 must be true as well
int b1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282
--- Comment #4 from Nuno Lopes ---
There are two major transformations going on:
if (u != v) {
v = u;
}
=>
v = u
(with v, u integers)
and:
glb = (int*)(uinptr_t)foo)
=>
glb = foo
Doing both triggers the end-to-end miscompilatio
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
GCC 4.92 miscompiles Z3. I've tried Cygwin and Linux, 32 and 64 bits, and all
miscompile.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66021
--- Comment #1 from Nuno Lopes ---
Sorry, a bit more information the problem:
On function void
reduce_args_tactic::imp::populate_decl2args_proc::operator()(app * n), when
compiled with -O0 no call to memory::deallocate(void* p) is made, while wi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66021
--- Comment #2 from Nuno Lopes ---
Created attachment 35465
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35465&action=edit
test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66021
--- Comment #3 from Nuno Lopes ---
Created attachment 35467
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35467&action=edit
reduced test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66021
Nuno Lopes changed:
What|Removed |Added
Attachment #35467|0 |1
is obsolete|
iority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nunoplopes at sapo dot pt
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: solaris 9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19218
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
The following program doesn't compile with gcc trunk:
https://gcc.godbolt.org/z/PGqMGn
```
#include
#include
using namespace std;
struct expr {
strong_ordering operator<
IRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
struct expr {
std::strong_ordering operator<=>(const expr &rhs) const;
//bool operator==(
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106811
Nuno Lopes changed:
What|Removed |Added
CC||nunoplopes at sapo dot pt
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106811
--- Comment #3 from Nuno Lopes ---
> > I suggest adopting the concept of poison that LLVM has. It allows
> > operations to
> > have undefined behavior, while still allow them to be moved freely.
> > I have some slides that may serve as an intro
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nunoplopes at sapo dot pt
Target Milestone: ---
The following program gets a false-positive when compiled with `-Wall -O3
-fstrict-enums`:
// switch to 0 to make
21 matches
Mail list logo