https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106901
--- Comment #5 from Carlos Galvez ---
I also would like to understand why the warning is not triggered if the first
"if (size < expected_size)" is removed.
https://godbolt.org/z/7vqPxhsqo
The possibility of executing the loop and do out-of-bo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753
Triffid Hunter changed:
What|Removed |Added
CC||triffid.hunter at gmail dot com
--- Co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
Brendan Dolan-Gavitt changed:
What|Removed |Added
CC||brendandg at nyu dot edu
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106903
Bug ID: 106903
Summary: Incorrectly accepts call to function template when
deduced type doesn't match adjusted type
Product: gcc
Version: 13.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106750
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96367
Zebediah Figura changed:
What|Removed |Added
CC||zfigura at codeweavers dot com
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96367
--- Comment #4 from Zebediah Figura ---
Forgot to mention:
leslie@terabithia:~/git/wine32$ gcc --version
gcc (Debian 12.2.0-1) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106845
--- Comment #5 from CVS Commits ---
The master branch has been updated by Tim Lange :
https://gcc.gnu.org/g:0ea5e3f4542832b8da016b152695e64a2a386309
commit r13-2582-g0ea5e3f4542832b8da016b152695e64a2a386309
Author: Tim Lange
Date: Sat Sep 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106845
Tim Lange changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904
Bug ID: 106904
Summary: Incorrect -Wstringop-overflow with partial memcpy()
into a nested structure
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904
--- Comment #1 from Andrew Pinski ---
The warning is correct for the reduced testcase as we warning that you are
copying the wrong size for the field
Now I have not looked at the non reduced testcase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904
--- Comment #2 from Zebediah Figura ---
(In reply to Andrew Pinski from comment #1)
> The warning is correct for the reduced testcase as we warning that you are
> copying the wrong size for the field
The field "&ps->wp" is of size 16 (4 ints),
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904
--- Comment #3 from Zebediah Figura ---
>From the warning, it seems like it thinks I wrote
memcpy(&ps->wp.hwnd, &wp, sizeof(wp));
but that's not what I wrote.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873
--- Comment #6 from Kemal Akcam ---
(In reply to Jonathan Wakely from comment #5)
> Read https://en.cppreference.com/w/c/language/object#Alignment (for C) and
> https://en.cppreference.com/w/cpp/language/object#Alignment (for C++).
>
> Instead
14 matches
Mail list logo