Bug 133694 - double precision constants are zero
Summary: double precision constants are zero
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc34
Version: 3
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-09-26 14:11 UTC by bud davis
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 3.4.2-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-05 08:30:17 UTC


Attachments (Terms of Use)

Description bud davis 2004-09-26 14:11:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031030

Description of problem:
the first data statement that defines a double precision constant is
always zero.

this bug was created by a patch I submitted to gcc that was included
in gcc-3.4.2

more details here:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17541

the patch is a one-liner.

this problem is VERY SERIOUS to g77 users.

can we please get this into FC-3 ?





Version-Release number of selected component (if applicable):
gcc-3.4.2 

How reproducible:
Always

Steps to Reproduce:
compile this:

        program test
        double precision x,one
        data one/1.d0/
        write(*,*) one
        end


    

Actual Results:  0.0

Expected Results:  1.0

Additional info:

Comment 1 Jakub Jelinek 2004-10-05 08:30:17 UTC
Should be fixed in gcc-3.4.2-4.


Note You need to log in before you can comment on or make changes to this bug.