[Bug c/42688] gcc 4.3.3 with -O2 thinks a often non-zero expression is always zero

2010-01-17 Thread mnemo at minimum dot se
--- Comment #3 from mnemo at minimum dot se 2010-01-17 15:39 --- I tried to attach the output of "gcc -E -O2 sqlite3.c" but it's 1.5MB and bugzilla rejects anything bigger than 1KB. Even the unmodified source is larger than this limit, even though you can download it via the sqlite.org U

[Bug c/42688] gcc 4.3.3 with -O2 thinks a often non-zero expression is always zero

2010-01-17 Thread mnemo at minimum dot se
--- Comment #2 from mnemo at minimum dot se 2010-01-17 15:34 --- Using gcc 4.4.1, I see this: 1. "gcc -O2 sqlite3.c" repros the bug 2. "gcc -E sqlite3.c > pp.c" followed by "gcc -O2 pp.c" does _NOT_ repro the bug However, still using gcc 4.4.1, if I do: 1. "gcc -O2 -E sqlite3.c > ppo.c"

[Bug c/42688] gcc 4.3.3 with -O2 thinks a often non-zero expression is always zero

2010-01-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-12 09:10 --- Please attach preprocessed source of the offending file. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added