[Bug c/36008] Function produces wrong results when inlined.

2008-04-22 Thread xavier at tddft dot org
--- Comment #3 from xavier at tddft dot org 2008-04-22 17:16 --- The code comes from spglib, a library to calculate symmetry groups from crystals, so it is quite complex. The problem is that I didn't wrote it I don't understand it enough to be able to produce a small self-contained test

[Bug c/36008] Function produces wrong results when inlined.

2008-04-22 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2008-04-22 14:13 --- Please provide a self-contained testcase (see http://gcc.gnu.org/bugs.html ) that ideally abort()s on a wrong result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36008

[Bug c/36008] Function produces wrong results when inlined.

2008-04-22 Thread xavier at tddft dot org
--- Comment #1 from xavier at tddft dot org 2008-04-22 13:53 --- Created an attachment (id=15510) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15510&action=view) the code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36008