Re: (ARM) Wrong conditional codes when paired with tst instruction

2019-10-19 Thread Richard Earnshaw
On 18/10/2019 19:43, AlwaysTeachingable . wrote: > The following C code: > unsigned int wrong(unsigned int n){ > return (n%2) ? 0 : 42; > } > > should return 42 when n is odd and 0 when n is even. No. Your code returns 42 when n is even. It's equivalent to "return ((n%2) != 0) ? 0 : 42;" Now i

Re: [Bug other/86904] New: Column numbers ignore tab characters

2018-08-10 Thread Richard Earnshaw (lists)
On 09/08/18 21:08, dmalcolm at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86904 > > Bug ID: 86904 >Summary: Column numbers ignore tab characters >Product: gcc >Version: unknown > Status: UNCONFIRMED >

Re: [Bug target/86383] [9 Regression] arm-netbsdelf cross compiler fails in selftests

2018-07-11 Thread Richard Earnshaw (lists)
te: >>> On 06.07.2018 15:26, Richard Earnshaw (lists) wrote: >>>> On 06/07/18 12:11, Kamil Rytarowski wrote: >>>>> On 06.07.2018 12:38, Richard Earnshaw (lists) wrote: >>>>>> On 06/07/18 11:32, Kamil Rytarowski wrote: >>>>>>> On 04.0

Re: [Bug target/86383] [9 Regression] arm-netbsdelf cross compiler fails in selftests

2018-07-10 Thread Richard Earnshaw (lists)
On 10/07/18 10:57, Kamil Rytarowski wrote: > On 06.07.2018 15:26, Richard Earnshaw (lists) wrote: >> On 06/07/18 12:11, Kamil Rytarowski wrote: >>> On 06.07.2018 12:38, Richard Earnshaw (lists) wrote: >>>> On 06/07/18 11:32, Kamil Rytarowski wrote: >>>>

Re: [Bug target/86383] [9 Regression] arm-netbsdelf cross compiler fails in selftests

2018-07-06 Thread Richard Earnshaw (lists)
On 06/07/18 12:11, Kamil Rytarowski wrote: > On 06.07.2018 12:38, Richard Earnshaw (lists) wrote: >> On 06/07/18 11:32, Kamil Rytarowski wrote: >>> On 04.07.2018 20:55, rearnsha at gcc dot gnu.org wrote: >>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86383 >>

Re: [Bug target/86383] [9 Regression] arm-netbsdelf cross compiler fails in selftests

2018-07-06 Thread Richard Earnshaw (lists)
On 06/07/18 11:32, Kamil Rytarowski wrote: > On 04.07.2018 20:55, rearnsha at gcc dot gnu.org wrote: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86383 >> >> --- Comment #2 from Richard Earnshaw --- >> I'm not sure how relevant the netbsd-elf port is these day

Re: [Bug target/77308] surprisingly large stack usage for sha512 on arm

2016-11-02 Thread Richard Earnshaw (lists)
On 02/11/16 11:57, bernd.edlinger at hotmail dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 > > --- Comment #52 from Bernd Edlinger --- > (In reply to wilco from comment #51) >> >> Indeed, that's the reason behind the existing check. However it disables all >> profitable bswap

Re: Suggestions welcomed to get bootstrap to work

2014-11-05 Thread Richard Earnshaw
You would probably be better of discussing this on gcc-help. gcc-bugs is rather full of bugzilla traffic and normal mails are easily missed. Have you tried setting CONFIG_SHELL in the environment? Also, when running the build use something like make SHELL=/bin/bash R. On 03/11/14 20:22, Micha

Re: [Bug middle-end/24998] [4.2 Regression] Build failure on sparc-sun-solaris2.9/arm: undefined symbol __floatunsitf

2005-11-23 Thread Richard Earnshaw
On Wed, 2005-11-23 at 14:28, joseph at codesourcery dot com wrote: > In that case the obvious solution is for the NetBSD configuration to start > using that one function from ieee754-df.S. (I checked that the > implementations in GCC of __float* already had corresponding > implementations of _

Re: [Bug target/18929] Profiling optimized code causes segfaults on ARM due to missing frames

2004-12-13 Thread Richard Earnshaw
On Mon, 2004-12-13 at 15:28, opensource at artnaseef dot com wrote: > --- Additional Comments From opensource at artnaseef dot com 2004-12-13 > 15:28 --- > Subject: Re: Profiling optimized code causes segfaults on > ARM due to missing frames > > Two things > > 1. Why do you not thin