AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
GCC build triplet: arm-none-eabi
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43446
--- Comment #2 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19 21:56
---
I'm building a compiler for Cortex-M3 based microcontroller, so i used this
configure options:
../gcc/configure --prefix=/usr/src/gcc-armtest --target arm-none-eabi
--enable-languages=c --disable-l
--- Comment #3 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19 21:57
---
I forgot to add, that the configure error is the same as in bug #37634 for
libgfortran.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43446
--- Comment #4 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19 22:03
---
I just noticed, that I switched target/build triplets when reporting. That's
fixed now.
BTW,
./arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=./arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/sr
--- Comment #6 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19 22:23
---
I haven't looked at newlib yet, as I needed just the C compiler. Source tree is
a vanilla svn checkout from svn://gcc.gnu.org/svn/gcc/trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43446
--- Comment #8 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19 23:01
---
../gcc/configure --without-headers --with-newlib --prefix=/usr/src/gcc-armtest
--target arm-none-eabi --enable-languages=c --disable-libssp
Now make fails with:
/usr/src/gcc-build/./gcc/xgcc -B/usr/src/gcc
--- Comment #10 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-19
23:20 ---
This was a fresh build. I did
rm -rf gcc-build && mkdir gcc-build && cd gcc-build && ../gcc/configure ... &&
make
[1910] m...@rechot:/usr/src/gcc $ LANG=C svn info
Path:
--- Comment #13 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-20
12:47 ---
Just to verify, I rebuilt gcc in a gcc+newlib combined tree and indeed it
builds correctly.
Configure line:
../gcc-combined/configure --with-newlib --prefix=/usr/src/gcc-armtest --target
arm-none-eabi
--- Comment #3 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 01:08
---
In case you're still interested, there is 'asm goto' coming in gcc 4.5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40078
iltin_unreachable() after asm goto()
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere d
--- Comment #1 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 02:24
---
In case it's relevant, the version from sources not combined with newlib (0.18)
crashed in same way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43460
erity: minor
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi
http://gcc.gnu.
--- Comment #1 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 02:45
---
$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/src/gcc-armtest/bin/arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/src/gcc-armtest/libexec/gcc/arm-none-eabi/4.5.0/lto-wrapper
Target: arm-none-eabi
Configured
s at rere dot qmqm dot pl
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43462
--- Comment #1 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 03:28
---
This is output from:
gcc -mcpu=cortex-m3 -mthumb -O3 -S a.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43462
--- Comment #1 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 18:44
---
[looks like bug #39959]
The same happens with -combine on following code (arm-none-eabi target):
a.h:
struct a {
int b;
int c;
};
extern struct a *p asm("r4");
void d(in
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43471
able induces suboptimal code
generation compared to full word size var
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: web
AssignedTo: unassigned at gcc dot gnu dot org
ReportedB
--- Comment #2 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-23 05:43
---
Hmm. I must have missed something while cutting down the test case as this
simple example works now...
Here is bigger test that might be related:
code:
struct a {
int f1, f2;
};
struct b
--- Comment #3 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-23 05:52
---
I checked some more variants of the simple asm() example - looks like I mixed
up compiler output files when preparing that one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43471
--- Comment #5 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-23 14:04
---
The problem is that gcc sometimes emits instructions that are copying the
global r4 (even when it's marked as const) into temporary. Originally I thought
that the simplies case was this asm statememt, b
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mirq-gccboogs at rere dot qmqm dot pl
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-none-eabi
http://gc
--- Comment #2 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-23 14:37
---
Sorry, I try to split encountered problems into simple testcases and after a
few I forgot to add the common things to bugreports.
The difference between ma() and mb() in the example is a global's size
23 matches
Mail list logo