[Bug libgcc/57851] [patch] unwinding via signal trampoline for kfreebsd*-gnu

2013-07-09 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57851

--- Comment #2 from Petr.Salinger at seznam dot cz ---
Posted in http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00304.html


[Bug libgcc/57851] New: [patch] unwinding via signal trampoline for kfreebsd*-gnu

2013-07-08 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57851

Bug ID: 57851
   Summary: [patch] unwinding via signal trampoline for
kfreebsd*-gnu
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: enhancement
  Priority: P3
 Component: libgcc
  Assignee: unassigned at gcc dot gnu.org
  Reporter: Petr.Salinger at seznam dot cz

Created attachment 30476
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30476action=edit
proposed patch

Please add support for unwinding through signal handler for GNU/kFreeBSD.

The attached patch is tested on GNU/kFreeBSD, both 32-bit and 64-bit.
The i386/freebsd-unwind.h is probably also suitable for plain FreeBSD.


[Bug tree-optimization/45978] [4.6 Regression] bogus array subscript is above array bounds warning in extremely simple code with no loops

2012-07-16 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978

--- Comment #11 from Petr.Salinger at seznam dot cz 2012-07-16 06:48:07 UTC ---
Created attachment 27800
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27800
testcase

Another failing testcase - reduced from xserver-xorg-input-mouse


[Bug tree-optimization/53198] [4.6/4.7 Regression] gcc wrongly emits array subscript is above array bounds for simple arrays

2012-07-16 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198

--- Comment #3 from Petr.Salinger at seznam dot cz 2012-07-16 07:28:26 UTC ---
Created attachment 27801
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27801
another testcase - from xorg mouse driver


[Bug libffi/50532] New: [patch] libffi needs FFI_MMAP_EXEC_WRIT on kfreebsd-amd64

2011-09-27 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50532

 Bug #: 50532
   Summary: [patch] libffi needs FFI_MMAP_EXEC_WRIT on
kfreebsd-amd64
Classification: Unclassified
   Product: gcc
   Version: 4.6.1
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: libffi
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: petr.salin...@seznam.cz


libffi crashes under kfreebsd-amd64 in trampoline. 
As the GNU/kFreeBSD uses the same kernel as plain FreeBSD, it suffices 

--- src/libffi/configure.ac
+++ src/libffi/configure.ac
@@ -313,7 +313,7 @@
 fi

 case $target in
- *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
+ *-apple-darwin10* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* |
*-pc-solaris*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
  [Cannot use malloc on this target, so, we revert to
alternative means])

See also original Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642928

Many thanks

Petr


[Bug libffi/50532] [patch] libffi needs FFI_MMAP_EXEC_WRIT on kfreebsd-amd64

2011-09-27 Thread Petr.Salinger at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50532

Petr.Salinger at seznam dot cz changed:

   What|Removed |Added

 Target||x86_64-pc-kfreebsd-gnu
   Host||x86_64-pc-kfreebsd-gnu
  Build||x86_64-pc-kfreebsd-gnu
   Severity|blocker |normal