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

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).