Opened 12 years ago

Closed 12 years ago

Last modified 48 years ago

#404 closed bug (Fixed)

Double constant leads to malformed .hc

Reported by: chak Owned by: simonmar
Priority: normal Milestone:
Component: Compiler Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The program

> avogadro = 6.022E23
> main = print $ avogadro

when compiled with -O leads to a .hc about which gcc

  Main.hc: In function 'Main_lvl_entry':
  Main.hc:328: warning: integer overflow in expression

The .hc files is attached. 

Attachments (1)

Main.2.hc (12.6 KB) - added by chak 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by chak

Attachment: Main.2.hc added

comment:1 Changed 12 years ago by simonmar

Logged In: YES 

Thanks; fixed.

comment:2 Changed 12 years ago by simonmar

Status: assignedclosed
Note: See TracTickets for help on using tickets.