From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5315 invoked by alias); 19 Jun 2013 21:00:13 -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 5200 invoked by uid 48); 19 Jun 2013 21:00:07 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/39246] FAIL: gcc.dg/uninit-13.c Date: Wed, 19 Jun 2013 21:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: diagnostic 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-Flags: X-Bugzilla-Changed-Fields: cc 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: 2013-06/txt/msg01044.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39246 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #11 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to meadori from comment #10) > I just bumped into this again while looking through some XFAILS. > I think Andreas' analysis is correct, but I am not sure how to > fix the problem. This explanation would be clearer if you used the option -lineno (or -all) = when dumping. Ideally, the warning should be given in "return f". Perhaps there is a way = to adjust the locations? I guess that for: 4 typedef _Complex float C; 5 C foo() 6 { 7 C f; 8 __imag__ f =3D 0; /* { dg-warning "is used" "unconditional"= } */ __real__ f =3D 0; 9 return f; 10 } there is no warning, no? >>From gcc-bugs-return-424666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 21:01:38 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8275 invoked by alias); 19 Jun 2013 21:01:38 -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 8247 invoked by uid 48); 19 Jun 2013 21:01:34 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57653] filename information discarded when using -imacros Date: Wed, 19 Jun 2013 21:01: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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 component 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: 2013-06/txt/msg01045.txt.bz2 Content-length: 513 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57653 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org Component|middle-end |c --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Can you provide a complete testcase? Thanks. >>From gcc-bugs-return-424668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 21:06:30 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16553 invoked by alias); 19 Jun 2013 21:06:29 -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 16330 invoked by uid 48); 19 Jun 2013 21:06:26 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44613] Declaring an array with non-constant length inside a switch corrupts stack pointer. Date: Wed, 19 Jun 2013 21:06: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: 4.4.3 X-Bugzilla-Keywords: wrong-code 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-Flags: X-Bugzilla-Changed-Fields: cc 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: 2013-06/txt/msg01047.txt.bz2 Content-length: 487 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44613 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b.r.longbons at gmail dot = com --- Comment #8 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- *** Bug 57646 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-424667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 21:06:29 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16369 invoked by alias); 19 Jun 2013 21:06:28 -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 16311 invoked by uid 48); 19 Jun 2013 21:06:25 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57646]=?UTF-8?Q?=20bogus=20warning=20about=20uninitialized=20=E2=80=98saved=5Fstack?=.=?UTF-8?Q?1=E2=80=99=20with=20gotos=20and=20VLAs?= Date: Wed, 19 Jun 2013 21:06: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: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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 cc resolution 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: 2013-06/txt/msg01046.txt.bz2 Content-length: 628 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57646 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- I think it is exactly the same. *** This bug has been marked as a duplicate of bug 44613 *** >>From gcc-bugs-return-424669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 21:26:59 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31532 invoked by alias); 19 Jun 2013 21:26:58 -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 31497 invoked by uid 48); 19 Jun 2013 21:26:54 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57655] [4.8/4.9 Regression] ICE: in create_pre_exit, at mode-switching.c:418 with -mno-fp-ret-in-387 -mvzeroupper -mxop and __builtin_ilogbl() Date: Wed, 19 Jun 2013 21:26: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: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed 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: 2013-06/txt/msg01048.txt.bz2 Content-length: 1288 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57655 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2013-06-19 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Ever confirmed|0 |1 --- Comment #1 from Uro=C5=A1 Bizjak --- --cut here-- Index: i386.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 --- i386.c (revision 200211) +++ i386.c (working copy) @@ -6498,7 +6498,7 @@ construct_container (enum machine_mode mode, enum /* Likewise, error if the ABI requires us to return values in the x87 registers and the user specified -mno-80387. */ - if (!TARGET_80387 && in_return) + if (!TARGET_FLOAT_RETURNS_IN_80387 && in_return) for (i =3D 0; i < n; i++) if (regclass[i] =3D=3D X86_64_X87_CLASS || regclass[i] =3D=3D X86_64_X87UP_CLASS --cut here-- >>From gcc-bugs-return-424670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 21:57:24 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19302 invoked by alias); 19 Jun 2013 21:57:24 -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 19264 invoked by uid 48); 19 Jun 2013 21:57:20 -0000 From: "allan at archlinux dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57653] filename information discarded when using -imacros Date: Wed, 19 Jun 2013 21:57: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allan at archlinux dot 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: 2013-06/txt/msg01049.txt.bz2 Content-length: 336 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57653 --- Comment #2 from Allan McRae --- # echo "int main() { return }" > foo.c # touch foo.h # gcc -imacros foo.h foo.c=20 : In function =E2=80=98main=E2=80=99: :1:21: error: expected expression before =E2=80=98}=E2=80=99 = token >>From gcc-bugs-return-424671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 19 22:10:07 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28661 invoked by alias); 19 Jun 2013 22:10:06 -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 28598 invoked by uid 48); 19 Jun 2013 22:10:02 -0000 From: "ishiura-compiler at ml dot kwansei.ac.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57656] New: Wrong constant folding Date: Wed, 19 Jun 2013 22:10: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ishiura-compiler at ml dot kwansei.ac.jp 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg01050.txt.bz2 Content-length: 1420 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57656 Bug ID: 57656 Summary: Wrong constant folding Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ishiura-compiler at ml dot kwansei.ac.jp GCC 4.8.2 for i686 miscompiles the following code. $ cat error.c int main (void) { int a = -1; int b = 2147483647; int c = 2; int t = 1 - ((a - b) / c); // t = 1 - ( -2147483648 / 2 ) if (t != 1073741825) { __builtin_abort(); } return 0; } $ i686-pc-linux-gnu-gcc-4.8.2 error.c -O2 $ ./a.out Aborted (core dumped) There was no problem with an x86_64 target. $ i686-pc-linux-gnu-gcc-4.8.2 -v Using built-in specs. COLLECT_GCC=i686-pc-linux-gnu-gcc-4.8.2 COLLECT_LTO_WRAPPER=/usr/local/i686-tools/gcc-4.8.2/libexec/gcc/i686-pc-linux-gnu/4.8.2/lto-wrapper Target: i686-pc-linux-gnu Configured with: /home/hassy/gcc/configure --prefix=/usr/local/i686-tools/gcc-4.8.2/ --with-gmp=/usr/local/gmp-5.1.1/ --with-mpfr=/usr/local/mpfr-3.1.2/ --with-mpc=/usr/local/mpc-1.0.1/ --disable-multilib --disable-nls --enable-languages=c Thread model: posix gcc version 4.8.2 20130607 (prerelease) (GCC)