https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
Artem changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
--- Comment #8 from Artem ---
(In reply to Manuel López-Ibáñez from comment #7)
> See https://gcc.gnu.org/wiki/FAQ#misoptimization
>
> and https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
Thank you for the links.
However
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
--- Comment #6 from Artem ---
(In reply to Manuel López-Ibáñez from comment #5)
>
> Your code is still broken and it may get miscompiled with a different
> version of GCC or a different compiler or due to any changes to the
> surrounding code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
--- Comment #4 from Artem ---
Thank you very much.
This help
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
--- Comment #2 from Artem ---
Thank you for help.
Could you please also advise which kind of optimization performed here. Could
it be switched off by using some compiler options? (because there are a lot of
such places in the source code)
Also I
: unassigned at gcc dot gnu.org
Reporter: tyoma.ariv at gmail dot com
Target Milestone: ---
#define NIN 2
struct struct1 {
char ggint[NIN][6];
char dummy;
};
/*--*/
int get_struct1cnt(struct struct1 *gr