[Bug rtl-optimization/56732] ICE in advance_target_bb

2013-04-30 Thread enrico.scholz at informatik dot tu-chemnitz.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56732



enrico.scholz at informatik dot tu-chemnitz.de changed:



   What|Removed |Added



 CC||enrico.scholz at informatik

   ||dot tu-chemnitz.de



--- Comment #5 from enrico.scholz at informatik dot tu-chemnitz.de 2013-04-30 
12:07:46 UTC ---

I can reproduce this error message with gcc-4.8 (patched by OpenEmbedded) on an

ARM platform with a simple





extern void bar();

void __attribute__((__naked__)) foo(void)

{

bar();

}





$ arm-linux-gnueabi-gcc -O2 -c /tmp/xxx.c 

/tmp/xxx.c: In function 'foo':

/tmp/xxx.c:5:1: internal compiler error: in advance_target_bb, at

sched-rgn.c:3552


[Bug bootstrap/57125] New: Build not SMP safe; fails to build bconfig.h

2013-04-30 Thread enrico.scholz at informatik dot tu-chemnitz.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125



 Bug #: 57125

   Summary: Build not SMP safe; fails to build bconfig.h

Classification: Unclassified

   Product: gcc

   Version: unknown

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: bootstrap

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: enrico.sch...@informatik.tu-chemnitz.de





Created attachment 29983

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29983

Full build log



When building gcc-4.8 (patched by OpenEmbedded) with '-j 8', the build fails

from time to time because bconfig.h can not be found.  A subsequent make

succeeds in these cases.


[Bug target/50099] New: ICE: internal compiler error: in extract_insn, at recog.c:2113 while building lttng-ust

2011-08-16 Thread enrico.scholz at informatik dot tu-chemnitz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50099

 Bug #: 50099
   Summary: ICE: internal compiler error: in extract_insn, at
recog.c:2113 while building lttng-ust
Classification: Unclassified
   Product: gcc
   Version: 4.6.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: enrico.sch...@informatik.tu-chemnitz.de


Created attachment 25022
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25022
preprocessed sources (ust-0.15/snprintf/vfprintf.c)

$ arm-linux-gnueabi-gcc -march=armv7-a /tmp/x2.c -c -O1
/tmp/x2.c: In function ‘ust_safe_vfprintf’:
/tmp/x2.c:4533:1: error: unrecognizable insn:
(insn 3114 3113 3115 139 (set (subreg:SI (reg/v:DI 153 [ _umax ]) 0)
(sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 159 [ nextarg ])
(const_int 8 [0x8]))
(reg/f:SI 347 [ argtable.7 ])) [0 *D.5277_569+0 S1 A32])))
/tmp/x2.c:4325 -1
 (nil))
/tmp/x2.c:4533:1: internal compiler error: in extract_insn, at recog.c:2113
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.


$ arm-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=$P/sysroots/x86_64-oe-linux/usr/libexec/armv5te-linux-gnueabi/gcc/arm-linux-gnueabi/4.6.1/lto-wrapper
Target: arm-linux-gnueabi
Configured with: $P/work-shared/gcc-4.6.1+svnr175454/gcc-4_6-branch/configure
--build=x86_64-oe-linux --host=x86_64-oe-linux --target=arm-linux-gnueabi
--prefix=$P/sysroots/x86_64-oe-linux/usr
--exec_prefix=$P/sysroots/x86_64-oe-linux/usr
--bindir=$P/sysroots/x86_64-oe-linux/usr/bin/armv5te-linux-gnueabi
--sbindir=$P/sysroots/x86_64-oe-linux/usr/bin/armv5te-linux-gnueabi
--libexecdir=$P/sysroots/x86_64-oe-linux/usr/libexec/armv5te-linux-gnueabi
--datadir=$P/sysroots/x86_64-oe-linux/usr/share
--sysconfdir=$P/sysroots/x86_64-oe-linux/etc
--sharedstatedir=$P/sysroots/x86_64-oe-linux/com
--localstatedir=$P/sysroots/x86_64-oe-linux/var
--libdir=$P/sysroots/x86_64-oe-linux/usr/lib/armv5te-linux-gnueabi
--includedir=$P/sysroots/x86_64-oe-linux/usr/include
--oldincludedir=$P/sysroots/x86_64-oe-linux/usr/include
--infodir=$P/sysroots/x86_64-oe-linux/usr/share/info
--mandir=$P/sysroots/x86_64-oe-linux/usr/share/man --disable-silent-rules
--with-libtool-sysroot=$P/sysroots/x86_64-oe-linux --with-gnu-ld
--enable-shared --enable-languages=c,c++ --enable-threads=posix
--disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu
--enable-libstdcxx-pch --program-prefix=arm-linux-gnueabi-
--enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap
--disable-libgomp --disable-libmudflap --enable-cheaders=c_global
--with-abi=aapcs-linux --with-float=soft
--with-local-prefix=$P/sysroots/toradex-colibri320/usr
--with-gxx-include-dir=/usr/include/c++
--with-sysroot=$P/sysroots/toradex-colibri320
--with-build-sysroot=$P/sysroots/toradex-colibri320
--enable-poison-system-directories
--with-headers=$P/sysroots/toradex-colibri320/usr/include
--disable-libunwind-exceptions --with-mpfr=$P/sysroots/x86_64-oe-linux/usr
--with-system-zlib --enable-nls --enable-__cxa_atexit --enable-__cxa_atexit
Thread model: posix
gcc version 4.6.1 20110627 (prerelease) (GCC) 


(it is the gcc-4.6 from OpenEmbedded Core)


[Bug c/45817] New: __aeabi_uidiv broken when built with -Os (5/3 == 3)

2010-09-28 Thread enrico.scholz at informatik dot tu-chemnitz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45817

   Summary: __aeabi_uidiv broken when built with -Os  (5/3 == 3)
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: enrico.sch...@informatik.tu-chemnitz.de


int main(int argc, char *argv[])
{
unsigned int volatilea = 5;
unsigned int volatileb = 3;
__asm__ __volatile__("" ::: "memory");
return a/b;
}

$ arm-linux-gnueabi-gcc -O0 m.c

---

# /a.out ; echo $?
3


Implementation of uidiv in gcc/config/arm/lib1funcs.asm differs depending on
the -Os flag (which is used by me) and issue might be missed by regression
tests which were run with non -Os compilers.

--

$ LANG=C arm-linux-gnueabi-gcc -v 
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/libexec/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper
Target: arm-linux-gnueabi
Configured with:
/srv/projects/elito-ref/COLIBRI270/tmp/work/armv5te-linux-gnueabi/gcc-cross-4.5-r1+svnr163322/gcc-4.5/configure
--build=x86_64-linux --host=x86_64-linux --target=arm-linux-gnueabi
--prefix=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te
--exec_prefix=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te
--bindir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/bin
--sbindir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/bin
--libexecdir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/libexec
--datadir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/share
--sysconfdir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/etc
--sharedstatedir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/com
--localstatedir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/var
--libdir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/lib
--includedir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/include
--oldincludedir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/include
--infodir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/share/info
--mandir=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/share/man
--with-gnu-ld --enable-shared --enable-languages=c,c++,objc
--enable-threads=posix --disable-multilib --enable-c99 --enable-long-long
--enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-linux-gnueabi-
--enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap
--disable-libgomp --disable-libmudflap --with-abi=aapcs-linux --with-float=soft
--with-sysroot=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/armv5te-linux-gnueabi
--with-build-sysroot=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/armv5te-linux-gnueabi
--with-build-time-tools=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr/armv5te/bin
--disable-libunwind-exceptions
--with-mpfr=/srv/projects/elito-ref/COLIBRI270/tmp/sysroots/x86_64-linux/usr
--with-system-zlib --program-prefix=arm-linux-gnueabi- --enable-__cxa_atexit
Thread model: posix
gcc version 4.5.2 20100818 (prerelease) (GCC)


[Bug target/45817] __aeabi_uidiv broken when built with -Os (5/3 == 3)

2010-09-28 Thread enrico.scholz at informatik dot tu-chemnitz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45817

--- Comment #2 from enrico.scholz at informatik dot tu-chemnitz.de 2010-09-28 
16:49:57 UTC ---
sorry; my fault. Caused by broken patch for #43999


[Bug target/43999] Gcc (lib1funcs.asm) doesn't build on ARM/Thumb2

2010-09-28 Thread enrico.scholz at informatik dot tu-chemnitz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43999

enrico.scholz at informatik dot tu-chemnitz.de changed:

   What|Removed |Added

 CC||enrico.scholz at informatik
   ||dot tu-chemnitz.de

--- Comment #7 from enrico.scholz at informatik dot tu-chemnitz.de 2010-09-28 
16:50:10 UTC ---
patch breaks non-thumb2 mode; see bug #45817


[Bug target/45817] __aeabi_uidiv broken when built with -Os (5/3 == 3)

2010-09-28 Thread enrico.scholz at informatik dot tu-chemnitz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45817

enrico.scholz at informatik dot tu-chemnitz.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID

--- Comment #3 from enrico.scholz at informatik dot tu-chemnitz.de 2010-09-28 
16:51:57 UTC ---
closing