Ticket #1641 (closed merge: fixed)

Opened 1 year ago

Last modified 4 months ago

Binders generated by instance deriving are affected by -auto-all

Reported by: sorear Assigned to: igloo
Priority: normal Milestone: 6.8.3
Component: Compiler Version: 6.7
Severity: normal Keywords:
Cc: iampure@gmail.com, kfrdbs@gmail.com, dbueno@gmail.com Difficulty: Unknown
Test Case: Architecture: Unknown
Operating System: Unknown

Description

Running the attached X.hs with profiling produces a profile which mentions deriver bindings. Hopefully, this is a dup of #1636 with a test case; if not it is at least an easily fixable bug in its own right.

Attachments

X.hs (182 bytes) - added by sorear on 08/25/07 07:31:31.
failing source code
a.out.prof (1.9 kB) - added by sorear on 08/25/07 07:46:39.
GHC 6.7.20070712 output

Change History

08/25/07 07:31:31 changed by sorear

  • attachment X.hs added.

failing source code

08/25/07 07:46:01 changed by guest

  • cc set to iampure@gmail.com.

08/25/07 07:46:39 changed by sorear

  • attachment a.out.prof added.

GHC 6.7.20070712 output

08/25/07 07:48:07 changed by sorear

  • summary changed from Binders generated by instance deriving are affected by -auto to Binders generated by instance deriving are affected by -auto-all.

08/27/07 00:27:34 changed by guest

  • cc changed from iampure@gmail.com to iampure@gmail.com, kfrdbs@gmail.com.

11/05/07 09:13:35 changed by igloo

  • milestone set to 6.8 branch.

Thanks for the report!

11/13/07 06:31:43 changed by simonmar

  • owner set to simonmar.
  • milestone changed from 6.8 branch to 6.8.3.

I'll check this for 6.8.3

11/17/07 08:54:09 changed by dbueno

  • cc changed from iampure@gmail.com, kfrdbs@gmail.com to iampure@gmail.com, kfrdbs@gmail.com, dbueno@gmail.com.

11/17/07 08:55:27 changed by dbueno

This bug manifests not only when using derived instances, but with explicit ones as well. I can attach extra files if desired.

05/13/08 08:33:53 changed by simonmar

  • owner changed from simonmar to igloo.
  • type changed from bug to merge.

To merge:

Tue May 13 01:44:00 PDT 2008  Simon Marlow <marlowsd at gmail.com>
  * FIX #1641: don't add auto sccs to compiler-generated bindings

05/16/08 14:30:51 changed by igloo

  • status changed from new to closed.
  • resolution set to fixed.

Merged