public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/66063] New: under O2 level ,compiler ICE: internal compiler error: in build_int_cst_wide, at tree.c:1222
@ 2015-05-08  3:39 huangcunjian at huawei dot com
  2015-05-08 10:54 ` [Bug c/66063] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: huangcunjian at huawei dot com @ 2015-05-08  3:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66063
           Summary: under O2 level ,compiler ICE: internal compiler error:
                    in build_int_cst_wide, at tree.c:1222
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: huangcunjian at huawei dot com
  Target Milestone: ---

case context:
int main(){
__attribute__((vector_size(16)))l_605= {0x111,0x222,0x222,0x222};
l_605=(l_605>>1)>>1;
return 0;

}


target:
Target: x86_64-suse-linux


command:
 ../../compiler/hcc-x86_64-linux/bin/gcc-4.7 test_2.c 

compiler output:

test_2.c: In function ‘main’:
test_2.c:3:1: internal compiler error: in build_int_cst_wide, at tree.c:1222
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-485812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 08 03:45:57 2015
Return-Path: <gcc-bugs-return-485812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96218 invoked by alias); 8 May 2015 03:45:57 -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 96189 invoked by uid 48); 8 May 2015 03:45:52 -0000
From: "huangcunjian at huawei dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/66064] New:=?UTF-8?Q? under O2 level ,x86-64 compiler ICE,informance:internal compiler error?=: in fold_convert_loc, at fold-const.c:1894
Date: Fri, 08 May 2015 03:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.7.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: huangcunjian at huawei dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-66064-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-05/txt/msg00652.txt.bz2
Content-length: 1362

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

            Bug ID: 66064
           Summary: under O2 level ,x86-64 compiler
                    ICE,informance:internal compiler error: in
                    fold_convert_loc, at fold-const.c:1894
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: huangcunjian at huawei dot com
  Target Milestone: ---

case context:
__attribute__ ((vector_size (16))) g_73 = {0x15FE687EL, 0x5827DF98L,
0xF8411272L, 0x235E695EL};
__attribute__ ((vector_size (16))) g_1124;

int func_1(void)
{  
    __attribute__ ((vector_size (16))) l_1117 = {0x15FE688EL, 0x5827DF98L,
0xF8411272L, 0x235E695EL};
    __attribute__ ((vector_size (16))) zhong = ( g_73 <= g_73);
         g_1124 = (((g_73 < l_1117) == (zhong)) << 9)    ;

    return 0;
}
target :x86_64-suse-linux
host: x86_64-suse-linux
build:x86_64-suse-linux

command:
../../compiler/hcc-x86_64-linux/bin/gcc-4.7 test_1.c -O2

output:
test_1.c:11:1: internal compiler error: in fold_convert_loc, at
fold-const.c:1894
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-485813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 08 04:13:27 2015
Return-Path: <gcc-bugs-return-485813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50955 invoked by alias); 8 May 2015 04:13:26 -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 50918 invoked by uid 48); 8 May 2015 04:13:23 -0000
From: "maltsevm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60277] Bogus "inline function virtual ..." used but never defined
Date: Fri, 08 May 2015 04:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maltsevm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-60277-4-Lajuvx9h5Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60277-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60277-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-05/txt/msg00653.txt.bz2
Content-length: 753

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

Mikhail Maltsev <maltsevm at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maltsevm at gmail dot com

--- Comment #3 from Mikhail Maltsev <maltsevm at gmail dot com> ---
I also wanted to report this bug (it reproduces on trunk), but found this
report and an old duplicate: PR11067 which is resolved as WONTFIX.

IMHO it's not too difficult to fix, including the case "f->Foo::func();"
(though I did not regtest the fix, so I can't say for sure).

The question is: should this warning be emitted or not? Clang does not produce
such warning.


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

* [Bug c/66063] under O2 level ,compiler ICE: internal compiler error: in build_int_cst_wide, at tree.c:1222
  2015-05-08  3:39 [Bug c/66063] New: under O2 level ,compiler ICE: internal compiler error: in build_int_cst_wide, at tree.c:1222 huangcunjian at huawei dot com
@ 2015-05-08 10:54 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-08 10:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.9.0
            Version|4.7.1                       |4.8.4
         Resolution|---                         |FIXED
      Known to fail|                            |4.6.4, 4.7.3

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, not a regression though, thus fixed.


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

end of thread, other threads:[~2015-05-08 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08  3:39 [Bug c/66063] New: under O2 level ,compiler ICE: internal compiler error: in build_int_cst_wide, at tree.c:1222 huangcunjian at huawei dot com
2015-05-08 10:54 ` [Bug c/66063] " rguenth 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).