public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
@ 2015-01-09 17:04 ` renlin at gcc dot gnu.org
  2015-01-09 18:05 ` renlin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: renlin at gcc dot gnu.org @ 2015-01-09 17:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

renlin at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|alpha-linux-gnu             |alpha-linux-gnu,
                   |                            |arm-none-linux-gnueabi
                 CC|                            |renlin at gcc dot gnu.org

--- Comment #1 from renlin at gcc dot gnu.org ---
I observed the same issue on arm-none-linux-gnueabi target


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

* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
  2015-01-09 17:04 ` [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private) renlin at gcc dot gnu.org
@ 2015-01-09 18:05 ` renlin at gcc dot gnu.org
  2015-01-09 21:41 ` sje at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: renlin at gcc dot gnu.org @ 2015-01-09 18:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

renlin at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #2 from renlin at gcc dot gnu.org ---
*** Bug 64552 has been marked as a duplicate of this bug. ***


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

* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
  2015-01-09 17:04 ` [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private) renlin at gcc dot gnu.org
  2015-01-09 18:05 ` renlin at gcc dot gnu.org
@ 2015-01-09 21:41 ` sje at gcc dot gnu.org
  2015-01-09 22:35 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: sje at gcc dot gnu.org @ 2015-01-09 21:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

Steve Ellcey <sje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mliska at suse dot cz,
                   |                            |sje at gcc dot gnu.org

--- Comment #3 from Steve Ellcey <sje at gcc dot gnu.org> ---
Looks like it is this patch based on the email in the thread.

https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00310.html


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

* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-01-09 21:41 ` sje at gcc dot gnu.org
@ 2015-01-09 22:35 ` marxin at gcc dot gnu.org
  2015-01-12  9:29 ` ubizjak at gmail dot com
  2015-01-12 13:22 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-01-09 22:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Hello.

Sorry for such issue during Friday evening. The problem is that for target
compiler, target_option_default_node == NULL. I am not so familiar with options
if this is correct situation?

Anyway, following suggested patch return NULL as cl_target_option that compared
correctly:


diff --git a/gcc/tree.h b/gcc/tree.h
index e9af9bf..d3f13e8 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4678,6 +4678,10 @@ target_opts_for_fn (const_tree fndecl)
   tree fn_opts = DECL_FUNCTION_SPECIFIC_TARGET (fndecl);
   if (fn_opts == NULL_TREE)
     fn_opts = target_option_default_node;
+
+  if (fn_opts == NULL_TREE)
+    return NULL;
+
   return TREE_TARGET_OPTION (fn_opts);
 }


Martin
>From gcc-bugs-return-472681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 09 23:22:12 2015
Return-Path: <gcc-bugs-return-472681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24214 invoked by alias); 9 Jan 2015 23:22:11 -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 24116 invoked by uid 48); 9 Jan 2015 23:22:05 -0000
From: "egall at gwmail dot gwu.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/60670] omp.h may differ between multilibs
Date: Fri, 09 Jan 2015 23:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egall at gwmail dot gwu.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-60670-4-mHA2s8EkCh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60670-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60670-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: 2015-01/txt/msg00675.txt.bz2
Content-length: 993

https://gcc.gnu.org/bugzilla/show_bug.cgi?id`670

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #9 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #2)
> > --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
> > Or the header needs to include all variants with proper #ifdef-ery
>
> This is difficult for a header generated per multilib at build time.
>

GNU diff can can merge two C/C++ header files with the proper ifdef-ery: see:
http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#If-then-else
and also:
http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#Detailed%20If-then-else

This could be done as part of the generation of the header at build time.


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

* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-01-09 22:35 ` marxin at gcc dot gnu.org
@ 2015-01-12  9:29 ` ubizjak at gmail dot com
  2015-01-12 13:22 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2015-01-12  9:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Hale.Wang at arm dot com

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
*** Bug 64564 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-472764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 12 09:29:42 2015
Return-Path: <gcc-bugs-return-472764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10764 invoked by alias); 12 Jan 2015 09:29:42 -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 10658 invoked by uid 48); 12 Jan 2015 09:29:38 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64564] Internal compiler error: Segmentation fault caused by IPA ICF
Date: Mon, 12 Jan 2015 09:29: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64564-4-rDvMrmfq05@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64564-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64564-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00758.txt.bz2
Content-length: 503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64564

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Already fixed.

*** This bug has been marked as a duplicate of bug 64551 ***
>From gcc-bugs-return-472767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 12 09:35:23 2015
Return-Path: <gcc-bugs-return-472767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20478 invoked by alias); 12 Jan 2015 09:35:22 -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 20436 invoked by uid 48); 12 Jan 2015 09:35:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64561] [5 Regression] HAVE_LD_PIE_COPYRELOC is defined to 1 for broken linker
Date: Mon, 12 Jan 2015 09:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-64561-4-KmoObrMZA2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64561-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: 2015-01/txt/msg00761.txt.bz2
Content-length: 291

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd561

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
       [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-01-12  9:29 ` ubizjak at gmail dot com
@ 2015-01-12 13:22 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-12 13:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #8 from ktkachov at gcc dot gnu.org ---
*** Bug 64566 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2015-01-12 13:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-64551-4@http.gcc.gnu.org/bugzilla/>
2015-01-09 17:04 ` [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private) renlin at gcc dot gnu.org
2015-01-09 18:05 ` renlin at gcc dot gnu.org
2015-01-09 21:41 ` sje at gcc dot gnu.org
2015-01-09 22:35 ` marxin at gcc dot gnu.org
2015-01-12  9:29 ` ubizjak at gmail dot com
2015-01-12 13:22 ` ktkachov 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).