Opened 9 years ago

Closed 9 years ago

Last modified 44 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: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

The program

> avogadro = 6.022E23
> main = print $ avogadro

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

  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 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by chak

comment:1 Changed 9 years ago by simonmar

Logged In: YES 
user_id=48280

Thanks; fixed.

comment:2 Changed 9 years ago by simonmar

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.