From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48183 invoked by alias); 2 Apr 2015 11:15:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 48151 invoked by uid 48); 2 Apr 2015 11:15:05 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65661] New: ICE in operator[], at vec.h:736, called from partition_view_init Date: Thu, 02 Apr 2015 11:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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 Message-ID: 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-04/txt/msg00125.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65661 Bug ID: 65661 Summary: ICE in operator[], at vec.h:736, called from partition_view_init Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org $ gcc src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c: In function =E2=80=98= f1=E2=80=99: src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c:17:1: internal compiler error: in operator[], at vec.h:736 f1 (struct T x, int i) ^ 0x6b2ac0 vec::operator[](unsigned int) /home/vries/gcc_versions/devel/src/gcc/vec.h:736 0xff2c45 partition_view_init /home/vries/gcc_versions/devel/src/gcc/tree-ssa-live.c:314 0xff2f25 partition_view_bitmap(_var_map*, bitmap_head*, bool) /home/vries/gcc_versions/devel/src/gcc/tree-ssa-live.c:394 0xfc9ccd coalesce_ssa_name() /home/vries/gcc_versions/devel/src/gcc/tree-ssa-coalesce.c:1335 0xf4d560 remove_ssa_form /home/vries/gcc_versions/devel/src/gcc/tree-outof-ssa.c:1018 0xf4dee5 rewrite_out_of_ssa(ssaexpand*) /home/vries/gcc_versions/devel/src/gcc/tree-outof-ssa.c:1252 0x823ef3 execute /home/vries/gcc_versions/devel/src/gcc/cfgexpand.c:5932 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-482574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 02 11:17:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49696 invoked by alias); 2 Apr 2015 11:17:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49676 invoked by uid 48); 2 Apr 2015 11:17:12 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65661] ICE in operator[], at vec.h:736, called from partition_view_init Date: Thu, 02 Apr 2015 11:17: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: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: Message-ID: In-Reply-To: References: 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-04/txt/msg00126.txt.bz2 Content-length: 906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65661 --- Comment #1 from vries at gcc dot gnu.org --- At -O2, it's called from parition_to_var: ... $ gcc src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c -O2 src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c: In function =E2=80=98= f1=E2=80=99: src/gcc/testsuite/c-c++-common/ubsan/object-size-9.c:97:1: internal compiler error: in operator[], at vec.h:736 } ^ 0x6b2ac0 vec::operator[](unsigned int) /home/vries/gcc_versions/devel/src/gcc/vec.h:736 0xfcd71c partition_to_var /home/vries/gcc_versions/devel/src/gcc/tree-ssa-live.h:107 0xfce796 execute /home/vries/gcc_versions/devel/src/gcc/tree-ssa-copyrename.c:469 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ... >>From gcc-bugs-return-482575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 02 11:20:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46335 invoked by alias); 2 Apr 2015 11:20:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40900 invoked by uid 48); 2 Apr 2015 11:20:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65661] ICE in operator[], at vec.h:736, called from partition_view_init Date: Thu, 02 Apr 2015 11:20: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: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: In-Reply-To: References: 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-04/txt/msg00127.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65661 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Duh, I can't reproduce. Hasn't this been by any chance already fixed?