[Bug c/61410] New: strcat overwrites destination string when compiling with optimizations
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fox at ucw dot cz The following code #include #include int main(void) { char str[250]; strcpy(str, " "); str[0] = '_'; strcat(str
[Bug c++/61302] New: When returning nullptr in a comma operator, side effects are lost.
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fox at ucw dot cz Consider the following code: #include void* test(void) { return printf("Hello world.\n"), nullptr; } int main(void) { return test