public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59522] New: "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus
@ 2013-12-16  6:18 abhilash_bhandari at yahoo dot co.in
  2013-12-16  9:01 ` [Bug c++/59522] " pinskia at gcc dot gnu.org
  2013-12-16  9:02 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: abhilash_bhandari at yahoo dot co.in @ 2013-12-16  6:18 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3288 bytes --]

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
>From gcc-bugs-return-437683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 16 07:07:09 2013
Return-Path: <gcc-bugs-return-437683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22148 invoked by alias); 16 Dec 2013 07:07:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22105 invoked by uid 48); 16 Dec 2013 07:07:04 -0000
From: "octoploid at yandex dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/59265] [4.9 Regression] Segmentation fault in ipa_note_param_call for -fprofile-use in SPEC CPU2006
Date: Mon, 16 Dec 2013 07:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: octoploid at yandex dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-59265-4-bqmh7XPCoh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59265-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59265-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-12/txt/msg01338.txt.bz2
Content-length: 434

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY265

--- Comment #7 from Markus Trippelsdorf <octoploid at yandex dot com> ---
Created attachment 31444
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id1444&actioníit
testcase

 % c++ -o nsLocalFileUnix.o -c -fprofile-use -fno-exceptions -std=gnu++0x -O2
nsLocalFileUnix.ii
/var/tmp/mozilla-central/xpcom/io/nsLocalFileUnix.cpp:2053:1: internal compiler
error: Segmentation fault


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/59522] "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus
  2013-12-16  6:18 [Bug c++/59522] New: "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus abhilash_bhandari at yahoo dot co.in
@ 2013-12-16  9:01 ` pinskia at gcc dot gnu.org
  2013-12-16  9:02 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-12-16  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The one thing is your new g++ is it executing your newly build cc1plus?  That
is the main reason why it would fail.  Try add -B . to the command line if you
are still in the build directory.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/59522] "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus
  2013-12-16  6:18 [Bug c++/59522] New: "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus abhilash_bhandari at yahoo dot co.in
  2013-12-16  9:01 ` [Bug c++/59522] " pinskia at gcc dot gnu.org
@ 2013-12-16  9:02 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-12-16  9:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> Bugzilla isn't the right place for these kind of questions, use gcc-help
> mailing list.

Even gcc-help might not be the correct place to ask this question.  gcc@ might
be better since this is a question about modifying gcc rather than using gcc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-16  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-16  6:18 [Bug c++/59522] New: "cc1plus: error: unrecognized command line option ‘-fmy-loop-block’ " is generated when g++ is run but not with cc1plus abhilash_bhandari at yahoo dot co.in
2013-12-16  9:01 ` [Bug c++/59522] " pinskia at gcc dot gnu.org
2013-12-16  9:02 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).