From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3051 invoked by alias); 3 Apr 2014 00:41: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 Received: (qmail 3009 invoked by uid 55); 3 Apr 2014 00:41:01 -0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/60706] FAIL: gfortran.dg/size_kind_2.f90 -O scan-tree-dump original "var2 = 42949673 00;" Date: Thu, 03 Apr 2014 00:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00176.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60706 --- Comment #3 from dave.anglin at bell dot net --- On 31-Mar-14, at 4:53 AM, rguenth at gcc dot gnu.org wrote: > Like this. If that works for you it's pre-approved. Only > implements the > special-case (the gmp path would probably have a lot of testsuite > fallout?). > I don't have a suitable target to test this on where the path isn't > optimized > away. Fails on hppa64-hp-hpux11.11: In file included from ../../gcc/gcc/tree-pretty-print.h:25:0, from ../../gcc/gcc/tree-pretty-print.c:28: ../../gcc/gcc/tree-pretty-print.c: In function 'void pp_double_int(pretty_printe r*, double_int, bool)': ../../gcc/gcc/hwint.h:16:52: error: left shift count >= width of type [-Werror] #define HOST_BITS_PER_LONG (CHAR_BIT * SIZEOF_LONG) ^ ../../gcc/gcc/pretty-print.h:257:54: note: in definition of macro 'pp_scalar' sprintf (pp_buffer (PP)->digit_buffer, FORMAT, SCALAR); \ ^ ../../gcc/gcc/hwint.h:60:35: note: in expansion of macro 'HOST_BITS_PER_LONG' # define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG ^ ../../gcc/gcc/tree-pretty-print.c:3472:43: note: in expansion of macro 'HOST_BIT S_PER_WIDE_INT' (((unsigned HOST_WIDEST_INT) d.high << HOST_BITS_PER_WIDE_INT) ^ -- John David Anglin dave.anglin@bell.net