Opened 10 years ago
Last modified 8 years ago
#3837 closed defect
GCC 4.x - simulation issues — at Version 4
| Reported by: | Adrian Pop | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Build Environment | Version: | |
| Keywords: | Cc: |
Description (last modified by )
I have a model (unfortunately non-public) that simulates differently (correctly) with gcc 4.8 but fails with division by zero with: gcc 4.9, gcc 5.x and clang.
Change History (4)
comment:1 by , 10 years ago
comment:3 by , 10 years ago
clang (v 3.8.0) also has the same issues as gcc 5.3.1 but with gcc 4.8 it works.
update: gcc 4.9 does not work either!
comment:4 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | GCC 5.x vs GCC 4.x - simulation issues → GCC 4.x - simulation issues |
Note:
See TracTickets
for help on using tickets.

I tried adding -fno-ipa-pure-const that we have for the compiler but it didn't help as anyway the simulation code is compiled with -O0.