From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113522 invoked by alias); 20 Aug 2019 14:29:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 113511 invoked by uid 89); 20 Aug 2019 14:29:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=stamp, Waiting, H*c:alternative X-HELO: mtlfep02.bell.net Received: from belmont80srvr.owm.bell.net (HELO mtlfep02.bell.net) (184.150.200.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Aug 2019 14:29:31 +0000 Received: from bell.net mtlfep02 184.150.200.30 by mtlfep02.bell.net with ESMTP id <20190820142928.NKMQ4444.mtlfep02.bell.net@mtlspm01.bell.net> for ; Tue, 20 Aug 2019 10:29:28 -0400 Received: from [192.168.0.101] (really [76.69.60.227]) by mtlspm01.bell.net with ESMTP id <20190820142928.MSM87666.mtlspm01.bell.net@[192.168.0.101]>; Tue, 20 Aug 2019 10:29:28 -0400 To: Bernd Edlinger <"bernd dot edlinger"@hotmail.de>, Richard Biener Cc: gcc-patches , Richard Earnshaw , Ramana Radhakrishnan , Kyrill Tkachov , Eric Botcazou , Jeff Law , Jakub Jelinek References: From: John David Anglin Openpgp: preference=signencrypt Subject: Re: [PATCHv5] Fix not 8-byte aligned ldrd/strd on ARMv5 (PR 89544) Message-ID: <23798c01-d456-a287-8020-505fd316a841@bell.net> Date: Tue, 20 Aug 2019 15:04:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: X-CM-Analysis: v=2.3 cv=ZMOpZkzb c=1 sm=1 tr=0 cx=a_idp_d a=PpYAn1xHk2PN7YGkY70Y7w==:117 a=PpYAn1xHk2PN7YGkY70Y7w==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=FmdZ9Uzk2mMA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=xNf9USuDAAAA:8 a=FBHGMhGWAAAA:8 a=6xT7U-wOwN4Rffi5NvEA:9 a=QEXdDO2ut3YA:10 a=jYJgLHWX644A:10 a=UqCG9HQmAAAA:8 a=epdT3x-mHrs3TqHchgUA:9 a=3TnfeMucNfRee97W:21 a=_W_S_7VecoQA:10 a=SEwjQc04WA-l_NiBhQ7s:22 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4wfEkfmwjFR1d13c1fRIu94v2JnxqJaKmo0VAUjpZEVpMidgDAsMA0aYz52/uWwNwyyWKLQ0wlmWPU+4noJAni730OHZ5zTqT4IBQZPa3W4PrLSIcNgIOb +m7DSGbYdctOJUp4vPYoQQ5bmRYRS2cT4cY3B82fijncEPMHETMjSSRzzAooOAD3uzcEQKR58EqfbQ== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-08/txt/msg01421.txt.bz2 On 2019-08-15 3:47 p.m., Bernd Edlinger wrote: > 2019-08-15 Bernd Edlinger > > PR middle-end/89544 > * function.c (assign_parm_find_stack_rtl): Use larger alignment > when possible. This patch breaks build on hppa-unknown-linux-gnu: https://buildd.debian.org/status/fetch.php?pkg=3Dgcc-snapshot&arch=3Dhppa&v= er=3D1%3A20190820-1&stamp=3D1566307455&raw=3D0 hppa-linux-gnu-g++-9 -std=3Dgnu++98 -fno-PIE -c -g -DIN_GCC -fno-exce= ptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwri= te-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-= virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strin= gs -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -= I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gc= c/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I.= ./../src/gcc/../libbacktrace -o function.o -MT function.o -MMD -MP -MF ./= .deps/function.TPo ../../src/gcc/function.c hppa-linux-gnu-g++-9 -std=3Dgnu++98 -fno-PIE -c -g -DIN_GCC -fno-exce= ptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwri= te-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-= virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strin= gs -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -= I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gc= c/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I.= ./../src/gcc/../libbacktrace -o function-tests.o -MT function-tests.o -MM= D -MP -MF ./.deps/function-tests.TPo ../../src/gcc/function-tests.c hppa-linux-gnu-g++-9 -std=3Dgnu++98 -fno-PIE -c -g -DIN_GCC -fno-exce= ptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwri= te-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-= virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strin= gs -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -= I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gc= c/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I.= ./../src/gcc/../libbacktrace -o fwprop.o -MT fwprop.o -MMD -MP -MF ./.dep= s/fwprop.TPo ../../src/gcc/fwprop.c ../../src/gcc/function.c: In function 'void assign_parm_find_stack_rtl(tree= , assign_parm_data_one*)': ../../src/gcc/function.c:2690:28: error: no match for 'operator=3D=3D' (ope= rand types are 'poly_int<1, long long int>' and 'int') 2690 | && STACK_POINTER_OFFSET =3D=3D 0) | ^~ ~ | | | int In file included from ../../src/gcc/coretypes.h:415, from ../../src/gcc/function.c:36: ../../src/gcc/wide-int.h:3287:19: note: candidate: 'template typename wi::binary_traits::predicate_result operator=3D=3D(c= onst T1&, const T2&)' 3287 | BINARY_PREDICATE (operator =3D=3D, eq_p) | ^~~~~~~~ ../../src/gcc/wide-int.h:3264:3: note: in definition of macro 'BINARY_PREDI= CATE' 3264 | OP (const T1 &x, const T2 &y) \ | ^~ ../../src/gcc/wide-int.h:3287:19: note: template argument deduction/subst= itution failed: 3287 | BINARY_PREDICATE (operator =3D=3D, eq_p) | ^~~~~~~~ ../../src/gcc/wide-int.h:3264:3: note: in definition of macro 'BINARY_PREDI= CATE' 3264 | OP (const T1 &x, const T2 &y) \ | ^~ ../../src/gcc/wide-int.h: In substitution of 'template = typename wi::binary_traits::predicate_result operator=3D=3D(const T= 1&, const T2&) [with T1 =3D poly_int<1, long long int>; T2 =3D int]': ../../src/gcc/function.c:2690:31: required from here ../../src/gcc/wide-int.h:3287:19: error: incomplete type 'wi::int_traits >' used in nested name specifier 3287 | BINARY_PREDICATE (operator =3D=3D, eq_p) | ^~~~~~~~ ../../src/gcc/wide-int.h:3264:3: note: in definition of macro 'BINARY_PREDI= CATE' 3264 | OP (const T1 &x, const T2 &y) \ | ^~ make[5]: *** [Makefile:1118: function.o] Error 1 make[5]: *** Waiting for unfinished jobs.... We have the following define for STACK_POINTER_OFFSET: #define STACK_POINTER_OFFSET \ (TARGET_64BIT ? -(crtl->outgoing_args_size + 48) : poly_int64 (-32)) =C2=A0 Dave --=20 John David Anglin dave.anglin@bell.net