public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63569] [5.0 Regression] Wrong code with volatile and ICF
Date: Fri, 21 Nov 2014 12:48:00 -0000	[thread overview]
Message-ID: <bug-63569-4-cmWfcwdcou@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63569-4@http.gcc.gnu.org/bugzilla/>

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

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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Problem is that IPA ICF contains compare_operand that is called recursively and
handles all tree types. Richard correctly pointed that we should split the
method to memory-related operand comparison and the rest (declarations,..).

I hope I can send the path on Monday-Tuesday next week.

Thanks,
Martin
>From gcc-bugs-return-467940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 21 12:52:14 2014
Return-Path: <gcc-bugs-return-467940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21036 invoked by alias); 21 Nov 2014 12:52:14 -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 20991 invoked by uid 48); 21 Nov 2014 12:52:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63598] [5.0 Regression] ICE: in ipa_merge_profiles at ipa-utils.c:396
Date: Fri, 21 Nov 2014 12:52: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: UNCONFIRMED
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-63598-4-7ZA8Nht2XT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63598-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: 2014-11/txt/msg02412.txt.bz2
Content-length: 296

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Can you please check if the issue still persists?
I would appreciate further information related to PR, or do we have any GCC fam
machine I can debug it?

Thanks,
Martin
>From gcc-bugs-return-467941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 21 13:05:57 2014
Return-Path: <gcc-bugs-return-467941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30982 invoked by alias); 21 Nov 2014 13:05:56 -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 30674 invoked by uid 48); 21 Nov 2014 13:05:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63856] [5 Regression] ICE: verify_gimple failed: invalid argument to gimple call with -O2 -fPIC
Date: Fri, 21 Nov 2014 13:05: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
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-63856-4-kuMsEGl6yv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63856-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63856-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: 2014-11/txt/msg02413.txt.bz2
Content-length: 1342

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I cannot reproduce the bug:
../configure --prefix=/home/marxin/Programming/bin/gcc3 --disable-multilib
--enable-languages=c,c++ --disable-bootstrap

./xgcc -B ./ -O2 -fPIC ~/Programming/testcases/PR63856/testcase.c
-fdump-ipa-icf-details

uname -a
Linux marxinbox.suse.cz 3.16.6-2-desktop #1 SMP PREEMPT Mon Oct 20 13:47:22 UTC
2014 (feb42ea) x86_64 x86_64 x86_64 GNU/Linux

gcc version 5.0.0 20141121 (experimental) (GCC) 


ipa-icf-details log:
Equal symbols: 1
Fraction of visited symbols: 33.33%

  debug message: All BBs are equal
 (equals_private:487)
Equals called for:g:f (1:0) (g:f) with result: true

Semantic equality hit:g->f
Assembler symbol names:g->f
g (v2si A, int N)
{
  vector(4) short int D.1840;

  <bb 2>:
  _2 = VIEW_CONVERT_EXPR<vector(4) short int>(A_1(D));
  D.1840 = _2;
  _6 = (long unsigned int) N_5(D);
  _7 = _6 * 2;
  _8 = &D.1840 + _7;
  _9 = *_8;
  _10 = (int) _9;
  return _10;

}


f (v2si A, int N)
{
  vector(4) short int D.1835;

  <bb 2>:
  _2 = VIEW_CONVERT_EXPR<vector(4) short int>(A_1(D));
  D.1835 = _2;
  _6 = (long unsigned int) N_5(D);
  _7 = _6 * 2;
  _8 = &D.1835 + _7;
  _9 = *_8;
  _10 = (int) _9;
  return _10;

}

Thanks,
Martin
>From gcc-bugs-return-467942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 21 13:08:33 2014
Return-Path: <gcc-bugs-return-467942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1015 invoked by alias); 21 Nov 2014 13:08:33 -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 955 invoked by uid 48); 21 Nov 2014 13:08:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64006] __builtin_mul_overflow fails to signal overflow
Date: Fri, 21 Nov 2014 13:08: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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to attachments.created
Message-ID: <bug-64006-4-eGUjgAfK4v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64006-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: 2014-11/txt/msg02414.txt.bz2
Content-length: 513

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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34068
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4068&actioníit
gcc5-pr64006.patch

Untested fix.


  parent reply	other threads:[~2014-11-21 12:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  6:49 [Bug tree-optimization/63569] New: " pinskia at gcc dot gnu.org
2014-10-17  6:51 ` [Bug tree-optimization/63569] " pinskia at gcc dot gnu.org
2014-10-17 22:28 ` pinskia at gcc dot gnu.org
2014-11-11  6:42 ` trippels at gcc dot gnu.org
2014-11-21  8:01 ` trippels at gcc dot gnu.org
2014-11-21 11:26 ` [Bug ipa/63569] " marxin at gcc dot gnu.org
2014-11-21 12:48 ` marxin at gcc dot gnu.org [this message]
2014-11-26 23:50 ` pinskia at gcc dot gnu.org
2014-12-02 13:26 ` pinskia at gcc dot gnu.org
2014-12-12 10:30 ` trippels at gcc dot gnu.org
2014-12-19 12:41 ` marxin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63569-4-cmWfcwdcou@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).