From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6755 invoked by alias); 22 Apr 2014 13:32:41 -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 6725 invoked by uid 48); 22 Apr 2014 13:32:37 -0000 From: "jirik.svoboda at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/60846] Add 128-bit integer types for general use on 32-bit/64-bit CPUs Date: Tue, 22 Apr 2014 13:32: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: enhancement X-Bugzilla-Who: jirik.svoboda at seznam dot cz 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_status 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: 2014-04/txt/msg01592.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60846 Jiri Svoboda changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WORKSFORME |--- --- Comment #4 from Jiri Svoboda --- As an example: jirka@omelette:/tmp> echo "__int128 i;" > test.c jirka@omelette:/tmp> gcc -o test -m64 test.c /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.18/csu/../sysdeps/x86_64/start.S:118: undefined reference to `main' collect2: error: ld returned 1 exit status jirka@omelette:/tmp> gcc -c -m64 test.c jirka@omelette:/tmp> echo "__int128 i;" > test.c jirka@omelette:/tmp> gcc -c -m64 test.c jirka@omelette:/tmp> gcc -c -m32 test.c test.c:1:1: error: =E2=80=98__int128=E2=80=99 is not supported for this tar= get __int128 i; ^ jirka@omelette:/tmp> gcc --version gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388] Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. jirka@omelette:/tmp> gcc -dumpmachine x86_64-suse-linux jirka@omelette:/tmp>=20 So it works for x86_64 64-bit target, but not for 32-bit target. And I mean I would like to have this functionality in all 32-bit and 64-bit targets, not just in some. Since I'm developping a cross-platform network s= tack which runs on Intel (32-bit, 64-bit), PowerPC (32-bit), Itanium (64-bit), A= RM (32-bit), MIPS (32-bit), etc. >>From gcc-bugs-return-449571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 22 13:32:15 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6010 invoked by alias); 22 Apr 2014 13:32:15 -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 5956 invoked by uid 55); 22 Apr 2014 13:32:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/60849] [4.7/4.8 Regression] bogus comparison result type Date: Tue, 22 Apr 2014 13:32: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-04/txt/msg01591.txt.bz2 Content-length: 787 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60849 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue Apr 22 13:31:41 2014 New Revision: 209632 URL: http://gcc.gnu.org/viewcvs?rev=209632&root=gcc&view=rev Log: 2014-04-22 Richard Biener Backport from mainline 2014-04-17 Richard Biener PR middle-end/60849 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective boolean results for comparisons. * g++.dg/opt/pr60849.C: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/pr60849.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-propagate.c