SCC ab cd

2008-05-29 Thread Serge D. Mechveliani
Dear GHC developers,

ghc-6.8.2  compiles  {-# SCC ab cd #-}   as all right.

And the GHC  candidate of May 27, 2008  reports the error:

spaces are not allowed in SCC. 

Do you think that this latter has more sense?
Is not this a matter of the programmer to give string names to SCC 
points?

Regards,

-
Serge Mechveliani
[EMAIL PROTECTED]
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: SCC ab cd

2008-05-29 Thread Isaac Dupree

Serge D. Mechveliani wrote:

Dear GHC developers,

ghc-6.8.2  compiles  {-# SCC ab cd #-}   as all right.

And the GHC  candidate of May 27, 2008  reports the error:

spaces are not allowed in SCC. 


Do you think that this latter has more sense?
Is not this a matter of the programmer to give string names to SCC 
points?


see http://hackage.haskell.org/trac/ghc/ticket/2071 .  Agree or 
disagree.  it probably never worked -- Did you ever get any useful 
profiling information when you had spaces in your SCC?  Or did it just 
not work anyway (in which case a sooner error message is probably better)


-Isaac
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs