From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10913 invoked by alias); 25 Mar 2013 22:48:44 -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 10900 invoked by uid 48); 25 Mar 2013 22:48:35 -0000 From: "diffgeom at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56732] New: ICE Date: Mon, 25 Mar 2013 22:48: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: diffgeom at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01845.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56732 Bug #: 56732 Summary: ICE Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: diffgeom@gmail.com Created attachment 29723 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D29723 Preprocessed source code I was trying to compile Ndless with GCC 4.8.0 (configured to cross-compile = to arm-none-eabi), and it fails on this file. This compiled in GCC 4.7.2. It s= eems that it compiles only if I remove the optimization flag or change it to -O1, but not with -O2, -O3, or -Os. The command line used to compile it is: "/usr/local/bin/arm-none-eabi-gcc" -mcpu=3Darm7tdmi -I "/home/rajiv/.ndless/include" -I "/home/rajiv/ndless/ndless/Ndless-SDK/ndless/bin/../include" -I "/home/rajiv/ndless/ndless/Ndless-SDK/ndless/bin/../3rd/nSDL/include" -I "/home/rajiv/ndless/ndless/Ndless-SDK/ndless/bin/../3rd/nspireio/include" -= fpic -fno-builtin -D _TINSPIRE -Os -nostdlib -Wall -W -Wno-strict-aliasing -c ploaderhook.c The error occurs at function plh_hook: ploaderhook.c: In function =E2=80=98plh_hook=E2=80=99: ploaderhook.c:156:1: internal compiler error: in advance_target_bb, at sched-rgn.c:3552 HOOK_DEFINE(plh_hook) { ^ 0x78f082 advance_target_bb ../../gcc-4.8.0/gcc/sched-rgn.c:3551 0x78f082 advance_target_bb ../../gcc-4.8.0/gcc/sched-rgn.c:3546 0xb35ec2 commit_schedule ../../gcc-4.8.0/gcc/haifa-sched.c:5619 0xb40292 schedule_block(basic_block_def**, void*) ../../gcc-4.8.0/gcc/haifa-sched.c:6416 0x7946aa schedule_region ../../gcc-4.8.0/gcc/sched-rgn.c:3048 0x7946aa schedule_insns ../../gcc-4.8.0/gcc/sched-rgn.c:3384 0x7946aa schedule_insns() ../../gcc-4.8.0/gcc/sched-rgn.c:3363 0x794a1c rest_of_handle_sched2 ../../gcc-4.8.0/gcc/sched-rgn.c:3608 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Operating System: Ubuntu 12.10 x86_64 Output of arm-none-eabi-gcc -v: Using built-in specs. COLLECT_GCC=3Darm-none-eabi-gcc COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/arm-none-eabi/4.8.0/lto-wrapper Target: arm-none-eabi Configured with: ../gcc-4.8.0/configure --target=3Darm-none-eabi --prefix=3D/usr/local --enable-interwork --enable-multilib --enable-languages=3Dc,c++ --with-system-zlib --with-newlib --disable-shared --with-gnu-as --with-gnu-ld --with-float=3Dsoft --disable-werror Thread model: single gcc version 4.8.0 (GCC) I have attached the preprocessed source code. -Rajiv >>From gcc-bugs-return-418405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 25 22:55:55 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14891 invoked by alias); 25 Mar 2013 22:55:55 -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 14821 invoked by uid 48); 25 Mar 2013 22:55:48 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56725] extra spaces in error message Date: Mon, 25 Mar 2013 22:55: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01846.txt.bz2 Content-length: 1973 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56725 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-03-25 CC| |manu at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2013-03-25 22:55:48 UTC --- This is because the second error is not an error but a note clarifying with first error. In g++, some notes are "indented" because the output is such a mess it is hard to find out stuff. The fix is to replace the second permerr= or by inform like: (totally untested) Index: gcc/cp/call.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/cp/call.c (revision 197018) +++ gcc/cp/call.c (working copy) @@ -5834,15 +5834,15 @@ convert_like_real (conversion *convs, tr complain); else if (t->kind =3D=3D ck_identity) break; } - permerror (loc, "invalid conversion from %qT to %qT", - TREE_TYPE (expr), totype); - if (fn) - permerror (DECL_SOURCE_LOCATION (fn), - " initializing argument %P of %qD", argnum, fn); + if (permerror (loc, "invalid conversion from %qT to %qT", + TREE_TYPE (expr), totype) + && fn) + inform (DECL_SOURCE_LOCATION (fn), + "when initializing argument %P of %qD", argnum, fn); return cp_convert (totype, expr, complain); } if (issue_conversion_warnings && (complain & tf_warning)) >>From gcc-bugs-return-418406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 25 23:02:11 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20327 invoked by alias); 25 Mar 2013 23:02:11 -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 20270 invoked by uid 48); 25 Mar 2013 23:02:04 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49880] SuperH: ICE when -m4 is used with -mdiv=call-div1 Date: Mon, 25 Mar 2013 23:02: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-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01847.txt.bz2 Content-length: 284 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49880 --- Comment #5 from Oleg Endo 2013-03-25 23:02:04 UTC --- Although it doesn't show up here, I've also backported the fix to the 4.7 branch and committed it as rev. 197071. OK to close this PR?