public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/65305] New: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c
@ 2015-03-03 17:32 hjl.tools at gmail dot com
  2015-03-03 18:32 ` [Bug ipa/65305] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-03-03 17:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65305
           Summary: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and
                    FAIL: gcc.target/i386/pr63995-2.c
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ienkovich at gcc dot gnu.org

On Linux/x86, r221149 gave

FAIL: gcc.target/i386/chkp-strchr.c (internal compiler error)
FAIL: gcc.target/i386/chkp-strchr.c (test for excess errors)
FAIL: gcc.target/i386/pr63995-2.c (internal compiler error)
FAIL: gcc.target/i386/pr63995-2.c (test for excess errors)

[hjl@gnu-6 gcc]$ ./xgcc -B./ -O2 -g -fcheck-pointer-bounds -mmpx
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr63995-2.c
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr63995-2.c:
In function ‘init.chkp’:
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr63995-2.c:28:1:
internal compiler error: Segmentation fault
 }
 ^
0xd23b34 crash_signal
    /export/gnu/import/git/sources/gcc/gcc/toplev.c:383
0xe334f1 gimple_code
    /export/gnu/import/git/sources/gcc/gcc/gimple.h:1553
0xe33f66 gimple_call_num_args
    /export/gnu/import/git/sources/gcc/gcc/gimple.h:2843
0xe42a81 ipa_sra_check_caller
    /export/gnu/import/git/sources/gcc/gcc/tree-sra.c:5039
0x83bfb8 cgraph_node::call_for_symbol_thunks_and_aliases(bool (*)(cgraph_node*,
void*), void*, bool, bool)
    /export/gnu/import/git/sources/gcc/gcc/cgraph.c:2192
0xe42f0c ipa_sra_preliminary_function_checks
    /export/gnu/import/git/sources/gcc/gcc/tree-sra.c:5134
0xe42fb6 ipa_early_sra
    /export/gnu/import/git/sources/gcc/gcc/tree-sra.c:5163
0xe43306 execute
    /export/gnu/import/git/sources/gcc/gcc/tree-sra.c:5268
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.
[hjl@gnu-6 gcc]$ 

r221131 is OK.
>From gcc-bugs-return-479212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 03 17:33:00 2015
Return-Path: <gcc-bugs-return-479212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16198 invoked by alias); 3 Mar 2015 17:32:59 -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 16097 invoked by uid 55); 3 Mar 2015 17:32:53 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
Date: Tue, 03 Mar 2015 17:32: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: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P1
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-65287-4-AVlbwYUTgY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65287-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65287-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-03/txt/msg00356.txt.bz2
Content-length: 467

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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Tue Mar  3 17:32:21 2015
New Revision: 221156

URL: https://gcc.gnu.org/viewcvs?rev"1156&root=gcc&view=rev
Log:
    PR ipa/65287
    * ipa-icf.c (sem_variable::parse): Skip all alias variables.
    * gcc.dg/ipa/pr65287.c: New test.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug ipa/65305] [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c
  2015-03-03 17:32 [Bug ipa/65305] New: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c hjl.tools at gmail dot com
@ 2015-03-03 18:32 ` hjl.tools at gmail dot com
  2015-03-03 22:23 ` ebotcazou at gcc dot gnu.org
  2015-03-04 10:30 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-03-03 18:32 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-03
                 CC|                            |jamborm at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r221148.


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

* [Bug ipa/65305] [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c
  2015-03-03 17:32 [Bug ipa/65305] New: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c hjl.tools at gmail dot com
  2015-03-03 18:32 ` [Bug ipa/65305] " hjl.tools at gmail dot com
@ 2015-03-03 22:23 ` ebotcazou at gcc dot gnu.org
  2015-03-04 10:30 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2015-03-03 22:23 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It looks like we can now have cgraph_edge with null call_stmt so:

Index: tree-sra.c
===================================================================
--- tree-sra.c  (revision 221159)
+++ tree-sra.c  (working copy)
@@ -5036,6 +5036,8 @@ ipa_sra_check_caller (struct cgraph_node
   for (cgraph_edge *cs = node->callers; cs; cs = cs->next_caller)
     {
       gimple call_stmt = cs->call_stmt;
+      if (!call_stmt)
+       continue;
       unsigned count = gimple_call_num_args (call_stmt);
       for (unsigned i = 0; i < count; i++)
        {

is very likely the way to go.


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

* [Bug ipa/65305] [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c
  2015-03-03 17:32 [Bug ipa/65305] New: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c hjl.tools at gmail dot com
  2015-03-03 18:32 ` [Bug ipa/65305] " hjl.tools at gmail dot com
  2015-03-03 22:23 ` ebotcazou at gcc dot gnu.org
@ 2015-03-04 10:30 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2015-03-04 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Presumably fixed by Jan's patch.


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

end of thread, other threads:[~2015-03-04 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 17:32 [Bug ipa/65305] New: [5 regression] FAIL: gcc.target/i386/chkp-strchr.c and FAIL: gcc.target/i386/pr63995-2.c hjl.tools at gmail dot com
2015-03-03 18:32 ` [Bug ipa/65305] " hjl.tools at gmail dot com
2015-03-03 22:23 ` ebotcazou at gcc dot gnu.org
2015-03-04 10:30 ` ebotcazou 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).