[Bug c++/59522] New: "cc1plus: error:=?UTF-8?Q?=20unrecognized=20command=20line=20option=20=E2=80=98=2Dfmy=2Dloop=2Dblock=E2=80=99=20?=" is generated when g++ is run but not with cc1plus

abhilash_bhandari at yahoo dot co.in gcc-bugzilla@gcc.gnu.org
Mon Dec 16 06:18:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59522

            Bug ID: 59522
           Summary: "cc1plus: error: unrecognized command line option
                    ‘-fmy-loop-block’ " is generated when g++ is run but
                    not with cc1plus
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: abhilash_bhandari at yahoo dot co.in

Hi All,

I want to add a new command line option '-fmy-loop-block'. I have followed the
gcc manual and added the option in common.opt . 

fmy-loop-block
Common Report Var(flag_my_loop_block) Optimization
Enable My Loop Blocking transformation

The option gets recognized by cc1plus but not by g++. 

Is there any other place where I need to register this option so that it works
with g++? Any help will be greatly appreciated.

Thanks and Regards,
Abhilash Bhandari


More information about the Gcc-bugs mailing list