Ticket #1153 (closed bug: wontfix)

Opened 5 years ago

Last modified 3 years ago

'parrot -O2 oofib.pir' errors out, when -O1 succeeds

Reported by: coke Owned by:
Priority: normal Milestone:
Component: imcc Version: trunk
Severity: medium Keywords:
Cc: whiteknight Language:
Patch status: Platform:

Description (last modified by coke) (diff)

Originally reported as  http://rt.perl.org/rt3/Ticket/Display.html?id=49968.

$ ./parrot examples/benchmarks/oofib.pir
fib(24) = 46368 0.298038005828857s
$ ./parrot -O1 examples/benchmarks/oofib.pir
fib(24) = 46368 0.298038005828857s
$ ./parrot -O2 examples/benchmarks/oofib.pir
Class 'B' not found

Still occurring in

Change History

  Changed 5 years ago by coke

  • description modified (diff)

Still occuring in r47566

  Changed 5 years ago by cotto

parrot's -O2 is known to be pretty broken. Perhaps we should deprecate it, make sure that it spits out some noisy warnings or otherwise make sure it doesn't trip people who expect it to work up.

follow-up: ↓ 6   Changed 5 years ago by coke

Then lets make O2 do the same as O1 for now (in case anyone is using it). we can leave the option in for now and then it later when we have working code.

  Changed 5 years ago by coke

  • owner set to coke

  Changed 5 years ago by coke

  • owner coke deleted

in reply to: ↑ 3   Changed 4 years ago by jkeenan

  • component changed from none to core

Replying to coke:

Then lets make O2 do the same as O1 for now (in case anyone is using it). we can leave the option in for now and then it later when we have working code.

coke, cotto:

Do you want to take any particular action with respect to this ticket?

Thank you very much.

kid51

  Changed 4 years ago by bacek

  • component changed from core to imcc

It's imcc optimizer actually.

follow-up: ↓ 9   Changed 4 years ago by cotto

I have a dim view of most of imcc's optimizations. My recommendation would be to either rip out any broken optimizations or just to tell people that non-default optimizations are known to be incorrect.

in reply to: ↑ 8   Changed 4 years ago by jkeenan

  • cc whiteknight added

Replying to cotto:

I have a dim view of most of imcc's optimizations. My recommendation would be to either rip out any broken optimizations or just to tell people that non-default optimizations are known to be incorrect.

Can we get an update on the status of this ticket? Would the problem described have been addressed by the recent work on IMCC isolation?

Thank you very much.

kid51

  Changed 3 years ago by bacek

  • status changed from new to closed
  • resolution set to wontfix

-O2 optimizations if IMCC were removed long time ago. Closing ticket.

Note: See TracTickets for help on using tickets.