--- Comment #19 from kargl at gcc dot gnu dot org 2007-06-21 04:08 ---
(In reply to comment #18)
>
> I had ONLY HOPEd VOLATILE statement in fortran 77 EXTENSION of gfortran.
> I thought that would be convenient
> on small modification of legacy fortran 77 program.
You've completed miss
--- Comment #18 from sunjoong at gmail dot com 2007-06-21 03:27 ---
I appreciate kargl's comments; they were helpful.
I had known there is VOLATILE attribute in new Fortran standard
but I had worked with "LEGACY" fortran77 program!
I'll write C code if I shuld write one; that is more co
--- Comment #17 from kargl at gcc dot gnu dot org 2007-06-21 02:24 ---
(In reply to comment #16)
> Thank all of you.
> I could understand what make it different.
>
> There is no 'volatile' statement in fortran77 syntax of gfortran.
> Of course, volatile is not fortran77 standard, I thin
--- Comment #16 from sunjoong at gmail dot com 2007-06-20 23:34 ---
Thank all of you.
I could understand what make it different.
There is no 'volatile' statement in fortran77 syntax of gfortran.
Of course, volatile is not fortran77 standard, I think,
but a certian implimentation support
--- Comment #28 from pinskia at gcc dot gnu dot org 2007-06-20 21:17
---
*** Bug 32440 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-20 21:17 ---
This is the way C++ works, yes before GCC 4.1.0, GCC did not work this way but
GCC was incorrect.
*** This bug has been marked as a duplicate of 2922 ***
--
pinskia at gcc dot gnu dot org changed:
Wh
Processing commands for [EMAIL PROTECTED]:
> clone 429657 -1
Bug#429657: gcc-4.1: optimisation bug abs() in nested if
Bug 429657 cloned as bug 429805.
> reassign -1 abuse-sdl
Bug#429805: gcc-4.1: optimisation bug abs() in nested if
Bug reassigned from package `gcc-4.1' to `abuse-sdl'.
> retitle
clone 429657 -1
reassign -1 abuse-sdl
retitle -1 uses abs() instead of labs()
quit
abuse-sdl-0.7.0 has a gun aiming problem due to a mis-optimisation.
attached is a canned example.
The "dx" and "dy" are defined as longs, so you have to use rather
labs() (and #include to get the prototype).
Th
8 matches
Mail list logo