public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64564] New: Internal compiler error: Segmentation fault caused by IPA ICF
@ 2015-01-12  9:27 Hale.Wang at arm dot com
  2015-01-12 10:28 ` [Bug ipa/64564] " Hale.Wang at arm dot com
  0 siblings, 1 reply; 2+ messages in thread
From: Hale.Wang at arm dot com @ 2015-01-12  9:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64564
           Summary: Internal compiler error: Segmentation fault caused by
                    IPA ICF
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Hale.Wang at arm dot com

Created attachment 34417
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34417&action=edit
Generated by pre-compile the source code from
newlib/newlib/libc/stdlib/envlock.c

GCC build fails for ARM target(caused by the IPA ICF update @219377).

I built the latest gcc trunk with the configuration: '--target=arm-none-eabi'.

The compile command is: 'arm-none-eabi-gcc -O2 envlock.i -S -mthumb'.(The
attachment envlock.i is generated by pre-compile the source code from
newlib/newlib/libc/stdlib/envlock.c)

And the error message is reported as: 
newlib/newlib/libc/stdlib/envlock.c:61:1: internal compiler error: Segmentation
fault
 }
 ^
0xa421ff crash_signal
    ../../src/gcc/gcc/toplev.c:366
0xf728af tree_check
    ../../src/gcc/gcc/tree.h:2778
0xf728af target_opts_for_fn
    ../../src/gcc/gcc/tree.h:4681
0xf728af ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
    ../../src/gcc/gcc/ipa-icf.c:431
0xf73533 ipa_icf::sem_function::equals(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
    ../../src/gcc/gcc/ipa-icf.c:386
0xf7596a ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool)
    ../../src/gcc/gcc/ipa-icf.c:1893
0xf7a29c ipa_icf::sem_item_optimizer::execute()
    ../../src/gcc/gcc/ipa-icf.c:1712
0xf7aec1 ipa_icf_driver
    ../../src/gcc/gcc/ipa-icf.c:2441
0xf7aec1 ipa_icf::pass_ipa_icf::execute(function*)
    ../../src/gcc/gcc/ipa-icf.c:2489
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Best regards,
-Hale Wang


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

* [Bug ipa/64564] Internal compiler error: Segmentation fault caused by IPA ICF
  2015-01-12  9:27 [Bug ipa/64564] New: Internal compiler error: Segmentation fault caused by IPA ICF Hale.Wang at arm dot com
@ 2015-01-12 10:28 ` Hale.Wang at arm dot com
  0 siblings, 0 replies; 2+ messages in thread
From: Hale.Wang at arm dot com @ 2015-01-12 10:28 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: 7167 bytes --]

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

--- Comment #2 from Hale Wang <Hale.Wang at arm dot com> ---
(In reply to Uroš Bizjak from comment #1)
> Already fixed.
> 
> *** This bug has been marked as a duplicate of bug 64551 ***

I have confirmed that this bug is already fixed. Thank you very much.
>From gcc-bugs-return-472782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 12 10:40:11 2015
Return-Path: <gcc-bugs-return-472782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14549 invoked by alias); 12 Jan 2015 10:40:10 -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 13712 invoked by uid 55); 12 Jan 2015 10:40:01 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64550] [5 Regression] IPA fixes cause ICE in tree-ssa.c:939
Date: Mon, 12 Jan 2015 10:40: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: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64550-4-5ff7iofSO0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64550-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/msg00776.txt.bz2
Content-length: 603

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

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Jan 12 10:39:25 2015
New Revision: 219457

URL: https://gcc.gnu.org/viewcvs?rev=219457&root=gcc&view=rev
Log:
Fix for PR64550.

        PR ipa/64550
    * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
    volatility for correct operands.
    * gcc.dg/ipa/PR64550.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/ipa/PR64550.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf-gimple.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-472783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 12 10:41:38 2015
Return-Path: <gcc-bugs-return-472783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16264 invoked by alias); 12 Jan 2015 10:41:38 -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 16218 invoked by uid 48); 12 Jan 2015 10:41:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64550] [5 Regression] IPA fixes cause ICE in tree-ssa.c:939
Date: Mon, 12 Jan 2015 10:41: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: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64550-4-yVGqLPfsa1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64550-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/msg00777.txt.bz2
Content-length: 140

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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in 5.0.0.
>From gcc-bugs-return-472784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 12 10:43:16 2015
Return-Path: <gcc-bugs-return-472784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19858 invoked by alias); 12 Jan 2015 10:43:15 -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 19201 invoked by uid 48); 12 Jan 2015 10:43:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64563] [5 Regression] ICE with "-Wall -Wextra" at -Os and above on x86_64-linux-gnu
Date: Mon, 12 Jan 2015 10:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-64563-4-3lgwrNfXe8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64563-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/msg00778.txt.bz2
Content-length: 700

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34419
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4419&actioníit
gcc5-pr64563.patch

Untested fix.  I think == VR_RANGE is what was meant.  ~[type_min, type_max] is
very unlikely and the warning wouldn't do what is meant to do.


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12  9:27 [Bug ipa/64564] New: Internal compiler error: Segmentation fault caused by IPA ICF Hale.Wang at arm dot com
2015-01-12 10:28 ` [Bug ipa/64564] " Hale.Wang at arm dot com

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).