https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
Martin Sebor changed:
What|Removed |Added
CC||sylvestre at debian dot org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
--- Comment #2 from Daniel Fruzynski ---
Sometimes actual location is not reported at all:
[code]
#include
#include
struct S
{
char* str;
int n;
char out[10];
};
void test(S* s)
{
if (s->str)
snprintf(s->out, sizeof(s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429
--- Comment #1 from Daniel Fruzynski ---
Another test case, this time "note:" with argument range also points to
incorrect line:
[code]
#include
struct S
{
unsigned char n;
char out[2];
};
void test(S* s) // line 9
{
snprintf(s->o