Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#800 closed bug (fixed)

GHC 6.5 enforces "-x c" option in the Cc phase making it impossibble to compile C++ files with ghc driver

Reported by: kyra@… Owned by: igloo
Priority: high Milestone: 6.6.1
Component: Compiler Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

GHC 6.4.x enforces "-x c" option ONLY for HCc phase. This makes possible to use GHC driver to compile C++ files.

GHC 6.5 enforces "-x c" option ALSO for Cc phase. Now ANY file compiled with "-x c" option is treated as "c" file, regardless of extension.

Change History (7)

comment:1 Changed 11 years ago by Lemmih

Resolution: fixed
Status: newclosed

comment:2 Changed 11 years ago by simonpj

Milestone: 6.6.1
Resolution: fixed
Status: closedreopened
Version: 6.56.6

comment:3 Changed 11 years ago by simonpj

Owner: set to igloo
Status: reopenednew

comment:4 Changed 11 years ago by simonmar

Priority: normalhigh

comment:5 Changed 11 years ago by igloo

Resolution: fixed
Status: newclosed

I've now pushed the fix to the 6.6 branch.

comment:6 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:7 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.