Bug#1130962: m68k: Miscompilation at -O2

Camm Maguire <[email protected]>
Newsgroups gmane.linux.debian.devel.gcc
Message-ID <87y0jriv92.fsf__32742.4363394798$1773679886$gmane$org@maguirefamily.org>
Greetings!  The issue persists with gcc-16 and gcc-snapshot.  Will try
to file upstream.

Take care,

Matthias Klose <[email protected]> writes:

> On 3/16/26 14:06, Camm Maguire wrote:
>> Package: gcc-15
>> X-Debbugs-Cc: [email protected]
>> Version: 15.2.0-13
>> Severity: important
>> Tags: upstream
>> Dear Maintainer,
>> At -O2 gcc miscompiles the following snippet of C code
>> 	V2083= ({register object _z=vs_base[0];register object
>> *_x=vs_base+1,*_y=(object *)V2048;if (!_y) vs_top=base; else
>> {for(;_x<vs_top;) *_y++=*_x++;if (_x>vs_top) _y--;vs_top=_y;}_z;});
>
> Hi Camm, please could you report that upstream?  Also maybe testing
> that with trunk (gcc-16/gcc-snapshot?
>
> Thanks, Matthias
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.