[Bug middle-end/36008] Function produces wrong results when inlined.

2008-04-23 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-04-23 10:03 --- Created an attachment (id=15515) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15515&action=view) simplified bravais.c gcc -c mathfunc.c gcc -o t.ok bravais.c mathfunc.o -O gcc -o t.fail bravais.c mathfunc.o -

[Bug middle-end/36008] Function produces wrong results when inlined.

2008-04-22 Thread xavier at tddft dot org
--- Comment #6 from xavier at tddft dot org 2008-04-22 22:51 --- I have managed to create a test case: Correct case: [EMAIL PROTECTED]:~$ gcc-4.3 bravais.c mathfunc.c -O3 -fno-inline bravais.c: In function ‘main’: bravais.c:83: warning: incompatible implicit declaration of built-in

[Bug middle-end/36008] Function produces wrong results when inlined.

2008-04-22 Thread xavier at tddft dot org
--- Comment #5 from xavier at tddft dot org 2008-04-22 22:49 --- Created an attachment (id=15514) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15514&action=view) Test case 2nd file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36008

[Bug middle-end/36008] Function produces wrong results when inlined.

2008-04-22 Thread xavier at tddft dot org
--- Comment #4 from xavier at tddft dot org 2008-04-22 22:49 --- Created an attachment (id=15513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15513&action=view) Test case, 1st file (no includes) -- xavier at tddft dot org changed: What|Removed