public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cnsun at uwaterloo dot ca" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/104178] New: -fcompare-debug failure at -O3 -m32 Date: Sat, 22 Jan 2022 05:04:26 +0000 [thread overview] Message-ID: <bug-104178-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104178 Bug ID: 104178 Summary: -fcompare-debug failure at -O3 -m32 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cnsun at uwaterloo dot ca Target Milestone: --- $ gcc-trunk small.c -w -m32 -fcompare-debug -O3 gcc-trunk: error: small.c: ‘-fcompare-debug’ failure (length) $ cat small.c static int a, g, h, k, l, m, p, r, s, u, w, z, aa, ab, ac, ad; char b, ae, af; struct c { int d; int e; } e[1]; static char f; static short i; static struct c j, x; static unsigned n; int *o, *t; static char q; int v; int y; int ag; int ah; int ai; int aj; int ak; static char al() { int am[] = {0, 1, 9, 6, 3, 4, 3, 0, 3, 4, 3, 9, 0, 6, 1, 1, 6, 0, 2, 4, 6, 4, 2, 4, 6, 1, 1, 6, 0, 9, 9, 0, 3, 0, 3, 4, 3, 0, 3}; int an = 8, ao = r; int c[] = {2, 2, 2, 2, 2}; char ap; if (ao) { ap = af; for (; t; t++) printf("index = \n"); } af = r = ao; int *aq = 0; { int *b[] = {o, o, o, o, o, o, o, o, o, o, o, o, o}; if (r) { struct c c[] = {*e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e, *e}; k = ab; for (; u;) { struct c d = {1}; ak = 0; int ar = f ^ p; as: if (ar) { printf("", p); p = a ^ p; } } } if (z) goto at; a = l; an = 5; } if (f) { int *au[10]; aa = 0; for (; aa < 10; aa++) au[aa] = &an; for (; m;) ; a = r; } if (g) f = 1; for (; f;) { while (an < 5 || i) ae = q; int c[] = {*o, *o, *o, *o, *o, *o, *o, *o, *o, *o, *o, *o, *o}; if (w) for (;;) { if (r) break; a = a ^ printf(&b); for (; ac; ac++) ; } else *aq = r; ai = r; n = (an || ~r) + n || j.d; if (r) a = a ^ 5; if (s) printf(&b); printf("", s); if (p) { s = 3; for (; s;) if (ap) ap = 0; } int av = h ^ q, aw = j.e ^ av; while (h++) { a = a ^ 5; if (k) printf(&b); } if (aw) v = j.e ^ q; at: b = ag = w = 0; if (f) goto ax; z = h; a = k; if (n) printf("", m); if (k) { printf("", k); m = n & m + k; } a = j.d; u = n + l; if (ah) break; ay: if (l) q = j.d; } int az = i || m; int ba = g || f; g = i = az; *e = x; char bb = n & m & p || r; ax: if (y) { printf("", ba); goto as; } af = bb; b = i | n; if (j.d) printf("", e); char bc = p & n | i; n = bc; int bd = l & m; m = bd; if (aj) { printf("", ad); m = l; goto ay; } l = f; j = e[0]; } int main() { al(); } $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/tmp.OLkXuGPSxC-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220121 (experimental) [master -gcaca8eddd] (GCC) $
next reply other threads:[~2022-01-22 5:04 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-22 5:04 cnsun at uwaterloo dot ca [this message] 2022-01-22 5:05 ` [Bug c/104178] " cnsun at uwaterloo dot ca 2022-01-22 8:00 ` [Bug middle-end/104178] [12 Regreession] " pinskia at gcc dot gnu.org 2022-01-22 9:23 ` jakub at gcc dot gnu.org 2022-01-22 11:52 ` [Bug tree-optimization/104178] " pinskia at gcc dot gnu.org 2022-05-06 8:32 ` jakub at gcc dot gnu.org 2023-05-08 12:23 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-104178-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).