On January 27th, this site will be read-only as we migrate to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,672 Users
  • 2,269,776 Discussions
  • 7,916,820 Comments

Discussions

Studio 12.6b, Solaris 11.3/amd64 iropt -help dumps core

RaiderOfTheLostSPARC
RaiderOfTheLostSPARC Member Posts: 259 Blue Ribbon

Hi,

I'm pretty sure that's a known bug?

$ /opt/developerstudio12.6b/lib/compilers/bin/iropt -help

  ******  General Usage Information about IROPT  ******

To get general help information about IROPT, use -help

To list all the optimization phases in IROPT, use -phases

To get help on a particular phase, use -help=phase

To turn on phases, use -A<phase_name>+<phase_name>+...+<phase_name>

To turn off phases, use -R<phase_name>+<phase_name>+...+<phase_name>

To use phase-specific flags, use -A<phase_name>:<flags list>

compiler(iropt) error:   no ir file specified 

/opt/developerstudio12.6b/lib/compilers/bin/iropt'__1cFquita6Fpkc_v_+0x43 [0x78a183]

/opt/developerstudio12.6b/lib/compilers/bin/iropt'__1cJscan_args6FippcI_pnJNAME_DESC__+0x31a0 [0x9dfb20]

/opt/developerstudio12.6b/lib/compilers/bin/iropt'main+0x7c [0xbe196c]

/opt/developerstudio12.6b/lib/compilers/bin/iropt'0x15a8e4 [0x55a8e4]

Abort(coredump)

$ pstack core | c++filt                      

core 'core' of 13157:   /opt/developerstudio12.6b/lib/compilers/bin/iropt -help

ffff80ffbf432c4a __lwp_sigqueue () + a

ffff80ffbf3d4d91 raise () + 19

ffff80ffbf3a9912 abort () + ca

000000000078a198 void quita(const char*) () + 58

00000000009dfb20 NAME_DESC*scan_args(int,char**,unsigned) () + 31a0

0000000000be196c main () + 7c

000000000055a8e4 ???????? ()

https://blogs.oracle.com/mandalika/oracle-solaris-studio-cc:-tuning-iropt-for-inline-control

Best Answer

  • User12617643-Oracle
    User12617643-Oracle Member Posts: 2
    edited Jun 9, 2017 2:23PM Answer ✓

    Thanks for the report.  I filed the following bug:

         BUG 26248673 - iropt -help dumps core

    Note, iropt's -help flag is an internal, undocumented flag.  It's purpose is to support the iropt development team.  It is not intended for end users.

    Thanks,

    George

Answers

  • User12617643-Oracle
    User12617643-Oracle Member Posts: 2
    edited Jun 9, 2017 2:23PM Answer ✓

    Thanks for the report.  I filed the following bug:

         BUG 26248673 - iropt -help dumps core

    Note, iropt's -help flag is an internal, undocumented flag.  It's purpose is to support the iropt development team.  It is not intended for end users.

    Thanks,

    George

This discussion has been closed.