public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
@ 2014-09-06 19:36 schwab@linux-m68k.org
2014-09-07 20:04 ` [Bug ipa/63196] " danglin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2014-09-06 19:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
Bug ID: 63196
Summary: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3
-fomit-frame-pointer (internal compiler error)
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
CC: rguenther at suse dot de
Target: m68k-*-*
Appeared with r214957.
$ gcc/xg++ -Bgcc/ ../gcc/testsuite/g++.dg/torture/pr57140.C -nostdinc++ -I
m68k-linux/libstdc++-v3/include/m68k-linux -I m68k-linux/libstdc++-v3/include
-I ../libstdc++-v3/libsupc++ -I ../libstdc++-v3/include/backward -I
../libstdc++-v3/testsuite/util -O3 -fomit-frame-pointer -S
../gcc/testsuite/g++.dg/torture/pr57140.C: In member function ‘AdhocTag*
AdhocAdmin::handleListUsersForm(gloox::Tag*, const gloox::DataForm&)’:
../gcc/testsuite/g++.dg/torture/pr57140.C:174:11: internal compiler error: in
fix_loop_structure, at loop-init.c:252
AdhocTag *AdhocAdmin::handleListUsersForm(Tag *tag, const DataForm &form) {
^
0xa437bb fix_loop_structure(bitmap_head*)
../../gcc/loop-init.c:252
0xbb7ec6 repair_loop_structures
../../gcc/tree-cfgcleanup.c:775
0xbb7ec6 cleanup_tree_cfg()
../../gcc/tree-cfgcleanup.c:805
0xacbbe4 execute_function_todo
../../gcc/passes.c:1704
0xacc723 execute_todo
../../gcc/passes.c:1808
0xace599 execute_one_ipa_transform_pass
../../gcc/passes.c:1996
0xace599 execute_all_ipa_transforms()
../../gcc/passes.c:2027
0x837674 cgraph_node::expand()
../../gcc/cgraphunit.c:1737
0x838a08 expand_all_functions
../../gcc/cgraphunit.c:1880
0x838a08 symbol_table::compile()
../../gcc/cgraphunit.c:2209
0x83a3dc symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2286
0x622bc3 cp_write_global_declarations()
../../gcc/cp/decl2.c:4666
>From gcc-bugs-return-461364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Sep 06 20:32:56 2014
Return-Path: <gcc-bugs-return-461364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5937 invoked by alias); 6 Sep 2014 20:32:54 -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 5899 invoked by uid 48); 6 Sep 2014 20:32:50 -0000
From: "jbglaw@lug-owl.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/63197] New: tc-m68k.c: Wrong warning "array subscript is below array bounds"
Date: Sat, 06 Sep 2014 20:32: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.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jbglaw@lug-owl.de
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: <bug-63197-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-09/txt/msg01198.txt.bz2
Content-length: 1798
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63197
Bug ID: 63197
Summary: tc-m68k.c: Wrong warning "array subscript is below
array bounds"
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: jbglaw@lug-owl.de
Building Binutils's GAS with a recent GCC (ie. 4.9.1) for --target=m68k-linux
fails due to a false warning, which aborts the build since -Werror is used.
Cf. Buildrobot build #351394
(http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=351394):
gcc -DHAVE_CONFIG_H -I. -I/home/vaxbuild/repos/binutils_gdb/gas -I.
-I/home/vaxbuild/repos/binutils_gdb/gas -I../bfd
-I/home/vaxbuild/repos/binutils_gdb/gas/config
-I/home/vaxbuild/repos/binutils_gdb/gas/../include
-I/home/vaxbuild/repos/binutils_gdb/gas/..
-I/home/vaxbuild/repos/binutils_gdb/gas/../bfd
-DLOCALEDIR="\"/home/vaxbuild/build/m68k-linux/_install_/share/locale\"" -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT
tc-m68k.o -MD -MP -MF .deps/tc-m68k.Tpo -c -o tc-m68k.o `test -f
'config/tc-m68k.c' || echo
'/home/vaxbuild/repos/binutils_gdb/gas/'`config/tc-m68k.c
/home/vaxbuild/repos/binutils_gdb/gas/config/tc-m68k.c: In function
‘md_assemble’:
/home/vaxbuild/repos/binutils_gdb/gas/config/tc-m68k.c:4514:36: error: array
subscript is below array bounds [-Werror=array-bounds]
n = (the_ins.numo - the_ins.fragb[n - 1].fragoff);
^
cc1: all warnings being treated as errors
make[3]: *** [tc-m68k.o] Error 1
Alan Modra had described it here:
https://sourceware.org/ml/binutils/2014-08/msg00236.html
>From gcc-bugs-return-461365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Sep 06 20:44:10 2014
Return-Path: <gcc-bugs-return-461365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8759 invoked by alias); 6 Sep 2014 20:44:09 -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 8732 invoked by uid 48); 6 Sep 2014 20:44:06 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63195] [5.0 regression] stage3 build/gengtype miscompiled
Date: Sat, 06 Sep 2014 20:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: build, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-63195-4-tCdOnOI2BL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63195-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63195-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-09/txt/msg01199.txt.bz2
Content-length: 719
https://gcc.gnu.org/bugzilla/show_bug.cgi?idc195
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-09-06
CC| |segher at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
I cannot reproduce this. You have --enable-languages=c and it fails in java?
... Oh never mind, it needs checking=release to fail. How strange.
Anyway: mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/63196] [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
@ 2014-09-07 20:04 ` danglin at gcc dot gnu.org
2014-09-08 7:56 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-07 20:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-09-07
CC| |danglin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Also seen on hppa-unknown-linux-gnu.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/63196] [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
2014-09-07 20:04 ` [Bug ipa/63196] " danglin at gcc dot gnu.org
@ 2014-09-08 7:56 ` rguenth at gcc dot gnu.org
2014-09-08 8:20 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-08 7:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Target Milestone|--- |5.0
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/63196] [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
2014-09-07 20:04 ` [Bug ipa/63196] " danglin at gcc dot gnu.org
2014-09-08 7:56 ` rguenth at gcc dot gnu.org
@ 2014-09-08 8:20 ` rguenth at gcc dot gnu.org
2014-09-08 14:29 ` rguenth at gcc dot gnu.org
2015-03-05 14:28 ` yroux at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-08 8:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so the issue here is that we are copying a function during inline transform
whose loops state needs fixups. That's undesirable.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/63196] [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
` (2 preceding siblings ...)
2014-09-08 8:20 ` rguenth at gcc dot gnu.org
@ 2014-09-08 14:29 ` rguenth at gcc dot gnu.org
2015-03-05 14:28 ` yroux at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-08 14:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Sep 8 14:28:51 2014
New Revision: 215016
URL: https://gcc.gnu.org/viewcvs?rev=215016&root=gcc&view=rev
Log:
2014-09-08 Richard Biener <rguenther@suse.de>
PR ipa/63196
* tree-inline.c (copy_loops): The source loop header should
always be non-NULL.
(tree_function_versioning): If loops need fixup after removing
unreachable blocks fix them.
* omp-low.c (simd_clone_adjust): Do not add incr block to
loop under construction.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/tree-inline.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/63196] [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error)
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
` (3 preceding siblings ...)
2014-09-08 14:29 ` rguenth at gcc dot gnu.org
@ 2015-03-05 14:28 ` yroux at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: yroux at gcc dot gnu.org @ 2015-03-05 14:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63196
--- Comment #6 from Yvan Roux <yroux at gcc dot gnu.org> ---
Author: yroux
Date: Thu Mar 5 14:28:05 2015
New Revision: 221216
URL: https://gcc.gnu.org/viewcvs?rev=221216&root=gcc&view=rev
Log:
gcc/
2015-03-05 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r212011, r214942, r214957, r215012, r215016, r218115,
r218733, r218746, r220491.
2015-02-06 Sebastian Pop <s.pop@samsung.com>
Brian Rzycki <b.rzycki@samsung.com>
PR tree-optimization/64878
* tree-ssa-threadedge.c: Include tree-ssa-loop.h.
(fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi.
Stop recursion at loop phi nodes after having visited a loop phi node.
2014-12-15 Richard Biener <rguenther@suse.de>
PR middle-end/64246
* cfgloop.c (mark_loop_for_removal): Make safe against multiple
invocations on the same loop.
2014-12-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/64284
* tree-ssa-threadupdate.c (duplicate_seme_region): Mark
the loop for removal if we copied the loop header.
2014-11-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/64083
* tree-ssa-threadupdate.c (thread_through_all_blocks): Do not
forcibly mark loop for removal the wrong way.
2014-09-08 Richard Biener <rguenther@suse.de>
PR ipa/63196
* tree-inline.c (copy_loops): The source loop header should
always be non-NULL.
(tree_function_versioning): If loops need fixup after removing
unreachable blocks fix them.
* omp-low.c (simd_clone_adjust): Do not add incr block to
loop under construction.
2014-09-08 Richard Biener <rguenther@suse.de>
PR bootstrap/63204
* cfgloop.c (mark_loop_for_removal): Track former header
unconditionally.
* cfgloop.h (struct loop): Add former_header member unconditionally.
* loop-init.c (fix_loop_structure): Enable bogus loop removal
diagnostic unconditionally.
2014-09-05 Richard Biener <rguenther@suse.de>
* cfgloop.c (mark_loop_for_removal): Record former header
when ENABLE_CHECKING.
* cfgloop.h (strut loop): Add former_header member when
ENABLE_CHECKING.
* loop-init.c (fix_loop_structure): Sanity check loops
marked for removal if they re-appeared.
2014-09-05 Richard Biener <rguenther@suse.de>
* cfgloop.c (mark_loop_for_removal): New function.
* cfgloop.h (mark_loop_for_removal): Declare.
* cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
(merge_blocks): Likewise.
(duplicate_block): Likewise.
* except.c (sjlj_emit_dispatch_table): Likewise.
* tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
* tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
(thread_through_loop_header): Likewise.
2014-06-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/61607
* tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
loop if we redirected its latch edge.
(thread_block_1): Do not cancel loops prematurely.
gcc/testsuite/
2015-03-05 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r218115, r218733, r218746, r220491.
2015-02-06 Sebastian Pop <s.pop@samsung.com>
Brian Rzycki <b.rzycki@samsung.com>
PR tree-optimization/64878
* testsuite/gcc.dg/tree-ssa/ssa-dom-thread-8.c: New.
2014-12-15 Richard Biener <rguenther@suse.de>
PR middle-end/64246
* gnat.dg/opt46.adb: New testcase.
* gnat.dg/opt46.ads: Likewise.
* gnat.dg/opt46_pkg.adb: Likewise.
* gnat.dg/opt46_pkg.ads: Likewise.
2014-12-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/64284
* gcc.dg/torture/pr64284.c: New testcase.
2014-11-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/64083
* gcc.dg/torture/pr64083.c: New testcase.
Added:
branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr64083.c
branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr64284.c
branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-8.c
branches/linaro/gcc-4_9-branch/gcc/testsuite/gnat.dg/opt46.adb
branches/linaro/gcc-4_9-branch/gcc/testsuite/gnat.dg/opt46.ads
branches/linaro/gcc-4_9-branch/gcc/testsuite/gnat.dg/opt46_pkg.adb
branches/linaro/gcc-4_9-branch/gcc/testsuite/gnat.dg/opt46_pkg.ads
Modified:
branches/linaro/gcc-4_9-branch/gcc/ChangeLog.linaro
branches/linaro/gcc-4_9-branch/gcc/cfghooks.c
branches/linaro/gcc-4_9-branch/gcc/cfgloop.c
branches/linaro/gcc-4_9-branch/gcc/cfgloop.h
branches/linaro/gcc-4_9-branch/gcc/except.c
branches/linaro/gcc-4_9-branch/gcc/loop-init.c
branches/linaro/gcc-4_9-branch/gcc/omp-low.c
branches/linaro/gcc-4_9-branch/gcc/testsuite/ChangeLog.linaro
branches/linaro/gcc-4_9-branch/gcc/tree-eh.c
branches/linaro/gcc-4_9-branch/gcc/tree-inline.c
branches/linaro/gcc-4_9-branch/gcc/tree-ssa-threadedge.c
branches/linaro/gcc-4_9-branch/gcc/tree-ssa-threadupdate.c
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-05 14:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-06 19:36 [Bug ipa/63196] New: [5.0 regression] FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal compiler error) schwab@linux-m68k.org
2014-09-07 20:04 ` [Bug ipa/63196] " danglin at gcc dot gnu.org
2014-09-08 7:56 ` rguenth at gcc dot gnu.org
2014-09-08 8:20 ` rguenth at gcc dot gnu.org
2014-09-08 14:29 ` rguenth at gcc dot gnu.org
2015-03-05 14:28 ` yroux 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).