https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203
Sergio Martins changed:
What|Removed |Added
CC||gcc at bobbyperu dot info
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38172
--- Comment #13 from Sergio Martins ---
Any point in using warn_unused_result instead of nodiscard on compilers that
support both ?
Probably a good time to close this bug. While it would be nice to have it fixed
there's no point on wasting resou
nt: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at bobbyperu dot info
Target Milestone: ---
Testcase fails to work with gcc, works with clang.
=
struct QSize
{
QSize(int w, int h) : wd(w), ht(h) {}
QSize expandedTo() const __attribute__ ((__warn_unused_res
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66177
--- Comment #1 from Sergio Martins ---
It this is known, at least please mention in the documentation it only works
for built-in types.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309
Sergio Martins changed:
What|Removed |Added
CC||gcc at bobbyperu dot info
--- Comment
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at bobbyperu dot info
Target Milestone: ---
gcc is emitting unneeded memory accesses in this code snippet.
Trivial structs up to 16 bytes are passed in r0-r3, no need for