Opened 5 years ago

Closed 5 years ago

#7514 closed bug (fixed)

Rename cmmz flags

Reported by: thoughtpolice Owned by: simonpj
Priority: normal Milestone:
Component: Compiler Version: 7.6.1
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:


This patch renames the cmmz flags to cmm for consistency. It was originally posted here:

I'm creating this ticket so it doesn't get lost.

Attachments (1)

rename-cmmz-flags.patch (12.9 KB) - added by thoughtpolice 5 years ago.
Patch to rename flags

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by thoughtpolice

Attachment: rename-cmmz-flags.patch added

Patch to rename flags

comment:1 Changed 5 years ago by thoughtpolice

Status: newpatch

comment:2 Changed 5 years ago by simonpj

difficulty: Unknown
Owner: set to simonpj

I'll do this.

comment:3 Changed 5 years ago by simonpj

Resolution: fixed
Status: patchclosed

Done. Thanks Austin!

commit f6f881f09c1ac69be2ae1850cb3067459f623360
Author: Austin Seipp <>
Date:   Mon Dec 17 04:21:50 2012 -0600

    Rename all of the 'cmmz' flags and make them more consistent.
    There's only a single compiler backend now, so the 'z' suffix means
    nothing. Also, the flags were confusingly named ('cmm-foo' vs
    'foo-cmm',) and counter-intuitively, '-ddump-cmm' did not do at all what
    you expected since the new backend went live.
    Basically, all of the -ddump-cmmz-* flags are now -ddump-cmm-*. Some were
    renamed to be more consistent.
    This doesn't update the manual; it already mentions '-ddump-cmm' and
    that flag implies all the others anyway, which is probably what you
    Signed-off-by: Austin Seipp <>

 compiler/cmm/CmmPipeline.hs  |   37 +++++++++++++++----------------
 compiler/cmm/CmmProcPoint.hs |    2 +-
 compiler/main/DynFlags.hs    |   48 ++++++++++++++++++++---------------------
 compiler/main/HscMain.hs     |    8 +++---
 4 files changed, 46 insertions(+), 49 deletions(-)
Note: See TracTickets for help on using tickets.