[Bug libgcc/109121] New: m68k/coldfire: multilib: arithmetic functions missing

2023-03-14 Thread angelo70 at gmail dot com via Gcc-bugs
Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Target Milestone: --- Hi all, i am using the following toolchain, from kernel.org, to build the whole range of coldfire-based boards in u-boot. /opt/toolchains/m68k/gcc-12.2.0-nolibc

[Bug c++/107798] optimizing -O3, "for" loop condition not checked anymore

2022-11-21 Thread angelo70 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107798 --- Comment #6 from angelo --- Thanks a lot. Clear now.

[Bug c++/107798] optimizing -O3, "for" loop condition not checked anymore

2022-11-21 Thread angelo70 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107798 --- Comment #3 from angelo --- Hi Andrew, thanks, anyway, even if accessing on read a wrong memory address, shouldn't anyway i < 3 * 3 be respected anyway, due to && ? With -O3 the code goes far over 9.

[Bug c++/107798] New: optimizing -O3, "for" loop condition not checked anymore

2022-11-21 Thread angelo70 at gmail dot com via Gcc-bugs
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Target Milestone: --- Created attachment 53938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53938&action=edit sample code of the bug Hi,

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2017-06-25 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #17 from angelo --- Hi Carlos, maybe you can try one of these 2 toolchains i prepared years ago: http://sysam.it/toolchains.html Regads, Angelo On 25/06/2017 20:40, csotoalonso at gmail dot com wrote: > https://gcc.gnu.org/bugzill

[Bug libgcc/68082] issue on 64 bit shift

2016-09-11 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082 --- Comment #7 from angelo --- Hi Andrew, it is passed some time, i solved mainly the issue with a workaround. Yes i tested several binutils even last, but is more a matter of compiling the m68k/coldfire toolchain properly. Mainly, building if

[Bug libgcc/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c, #define COMMA ,

2016-04-17 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #2 from angelo --- Well the final error is : /home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/config/m68k/linux-atomic.c:198:13: internal compiler error: in emit_library_call_value_1, at calls.c:4401 return (__sync_

[Bug libgcc/68082] issue on 64 bit shift

2016-04-17 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082 --- Comment #5 from angelo --- Any news ? Trying also --with-arch=cf breaks the compilation. So i can't have in any way valid libgcc code i.e. for m5307.

[Bug target/53833] m68k-uclinux xgcc ICE when compiling libgcc (linux-atomic.c:203:1: in emit_library_call_value_1, at calls.c:4146)

2016-04-16 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833 angelo changed: What|Removed |Added CC||angelo70 at gmail dot com --- Comment #5 from

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 --- Comment #9 from angelo --- Hi Andreas, thanks. Not sure if i have to open another bug tracking. Now, with headers in sysroot, issue is solved so this bug can stay closed, but i get another error. /home/angelo/archivio/aziende/sysam/buildall

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 --- Comment #7 from angelo --- Created attachment 36795 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36795&action=edit gcc build

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 --- Comment #6 from angelo --- Created attachment 36794 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36794&action=edit gcc configure

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 angelo changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 angelo changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug libgcc/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c, #define COMMA ,

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #1 from angelo --- Created attachment 36792 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36792&action=edit build log

[Bug libgcc/68467] New: libgcc, compilation for target m68k-linux breaks in linux_atomic.c, #define COMMA ,

2015-11-21 Thread angelo70 at gmail dot com
Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Target Milestone: --- Created attachment 36791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36791&action=edit config log D

[Bug libgcc/68466] libgcc, linux_atomic.c, compilation breaks on #include

2015-11-21 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466 --- Comment #1 from angelo --- Sorry, forgot to mention compiler i am using to build: $ gcc --version gcc (Debian 5.2.1-21) 5.2.1 20151003 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying condit

[Bug libgcc/68466] New: libgcc, linux_atomic.c, compilation breaks on #include

2015-11-20 Thread angelo70 at gmail dot com
Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Target Milestone: --- Created attachment 36790 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36790&action=edit compilation log Dear all, building gc

[Bug libgcc/68082] issue on 64 bit shift

2015-11-20 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082 --- Comment #4 from angelo --- Here what i see when i step into the function: http://imgur.com/2802Ob5 I build on linux $ cat /proc/version Linux version 4.1.7001 (root@jerusalem) (gcc version 5.2.1 20150911 (Debian 5.2.1-17) ) #1 SMP Sat Sep

[Bug libgcc/68082] issue on 64 bit shift

2015-11-20 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082 --- Comment #3 from angelo --- Created attachment 36787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36787&action=edit code that generate the fault

[Bug libgcc/68082] issue on 64 bit shift

2015-11-20 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082 --- Comment #2 from angelo --- Hi, finally i have more details. I reproduce this issue on toolchains built for x86_64, from gcc 4.9.0 to latest gcc 5.2.0. Compiling options don't make great differences, i am actually using -ggdb -Wall -fno-bu

[Bug libgcc/68082] New: issue on 64 bit shift

2015-10-24 Thread angelo70 at gmail dot com
: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Target Milestone: --- Dear all, testing gcc 4.9.0 toolchain for mcf5307 (coldfire) the code on target hangs (loops) on a 64 bit shift opration (between 2 nop's i put). I see that code (64 bit shift) is added from l

[Bug c/64800] Bad opcode produced for coldfire mcf5307 processor

2015-01-26 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64800 --- Comment #2 from angelo --- You mean the issue is into m68k-linux-as or what ? The function i disassembled is inside memory.c. So i am calling m68k-linux-gcc, wich generate object code and finally opcodes.

[Bug c/64800] New: Bad opcode produced for coldfire mcf5307 processor

2015-01-26 Thread angelo70 at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Dear all, i am compiling a simple bare-metal binary with https://www.kernel.org/pub/tools/crosstool/files/bin/i686/4.6.3/i686-gcc-4.6.3-nolibc_m68k-linux.tar.gz $ make -f makefile.release /opt

[Bug target/62663] m68k / coldfire : compiling with -msep-data breaks the code

2014-09-02 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62663 --- Comment #3 from angelo --- This is probably a non-bug. I was confused last night, you are right, move.l square_test@GOT(%a5),%a0 jsr (%a0) Is generated and is correct (move.l, instruction set is the same of m68k). But thi

[Bug c/62663] m68k / coldfire : compiling with -msep-data breaks the code

2014-09-01 Thread angelo70 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62663 --- Comment #1 from angelo --- Created attachment 33431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33431&action=edit wrong object

[Bug c/62663] New: m68k / coldfire : compiling with -msep-data breaks the code

2014-09-01 Thread angelo70 at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: angelo70 at gmail dot com Created attachment 33430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33430&action=edit c file Dear, i am compiling a simple test file (attached), ge