<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/112880>112880</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            unexpected output results on x86_64-linux-gnu
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Elowen-jjw
      </td>
    </tr>
</table>

<pre>
    ```
#include "csmith.h"
uint8_t b;
int32_t c;
int32_t *d = &c;
int32_t *e;
int32_t f = 1;
int32_t **g = &e;
int32_t h = 7;
int32_t **i = &e;
void n();
long j(long a, long b) { return a; }
void k(int32_t *l) {
 int32_t *s = &h;
  *s &= *d = safe_sub_func_uint8_t_u_u(j(*l, 0), (*l = 0 || n) >= 3);
  *s |= **g;
}
uint64_t m() {
  int32_t *o = &f;
 *i = o;
  return b;
}
int p;
int main() {
  int32_t q = 0;
  m();
  k(&q);
  printf("%d\n", c);
  printf("%d\n", h);
  return 0;
}
```
```
% gcc test.c -O0 -fsanitize=undefined,address && ./a.out
1
1
% clang test.c -O0 -w && ./a.out
0
1

%clang -v
clang version 18.1.6
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/sdu/clang+llvm/LLVM-18.1.6/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
```
Please help me explain why this file produced different output results, thank you.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VU1v4zYQ_TXjy8CCNPqwfNDBkVdFgS1aoEWvBi1SFhOK9IpknPTXF_qw449N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