[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-12-16 Thread tim at bishnet dot net


--- Comment #13 from tim at bishnet dot net  2008-12-16 14:29 ---
Could this change be merged down to the 4.3 branch? Currently 4.3.2 release is
still broken.


-- 


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



[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-07-28 Thread tim at bishnet dot net


--- Comment #8 from tim at bishnet dot net  2008-07-28 10:52 ---
For what it's worth, I just wanted to add a me too. I'm building on Solaris 9
sparc using gcc 4.2.4 to build with. The error occurs with 4.3.1 and the
20080724 snapshot.

/u1/src/garstow/devel/gcc/work/build/./prev-gcc/xgcc
-B/u1/src/garstow/devel/gcc/work/build/./prev-gcc/
-B/usr/local/sparc-sun-solaris2.9/bin/ -c -g -O2 -fprofile-generate 
-gnatpg -gnata -g -O1 -fno-inline \
 -nostdinc -I- -I. -Iada -I../../../work/gcc-4.3-20080724/gcc/ada
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb -o ada/a-except.o
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb: In function
'Ada.Exceptions.Raise_From_Controlled_Operation':
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305: error: control flow
in the middle of basic block 20
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305: error: control flow
in the middle of basic block 20
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305: error: control flow
in the middle of basic block 20
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305: error: control flow
in the middle of basic block 20
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305: error: control flow
in the middle of basic block 20
+===GNAT BUG DETECTED==+
| 4.3.2 20080724 (prerelease) (sparc-sun-solaris2.9) GCC error:|
| verify_flow_info failed  |
| Error detected around
../../../work/gcc-4.3-20080724/gcc/ada/a-except.adb:1305|
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.|
| Use a subject line meaningful to you and us to track the bug.|
| Include the entire contents of this bug box in the report.   |
| Include the exact gcc or gnatmake command that you entered.  |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files).   |
+==+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:398
make[4]: *** [ada/a-except.o] Error 1
make[4]: Leaving directory `/u1/src/garstow/devel/gcc/work/build/gcc'
make[3]: *** [all-stageprofile-gcc] Error 2
make[3]: Leaving directory `/u1/src/garstow/devel/gcc/work/build'
make[2]: *** [stageprofile-bubble] Error 2
make[2]: Leaving directory `/u1/src/garstow/devel/gcc/work/build'
make[1]: *** [profiledbootstrap] Error 2
make[1]: Leaving directory `/u1/src/garstow/devel/gcc/work/build'
make: *** [build-work/build/Makefile] Error 2


-- 


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



[Bug c/18786] New: gcc tests fail in gcc.dg/duff-2.c

2004-12-02 Thread tim at bishnet dot net
gcc test suite fails:

FAIL: gcc.dg/duff-2.c (test for excess errors)

In the log file:

Executing on host: /u1/src/garstow/devel/gcc/work/build/gcc/xgcc
-B/u1/src/garstow/devel/gcc/work/build/gcc/
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c   -O2 
-lm   -o ./duff-2.exe(timeout = 300)
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c: In
function `cksum':
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c:28:
warning: unreachable code at beginning of switch statement
output is:
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c: In
function `cksum':
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c:28:
warning: unreachable code at beginning of switch statement

FAIL: gcc.dg/duff-2.c (test for excess errors)
Excess errors:
/u1/src/garstow/devel/gcc/work/gcc-3.3.5/gcc/testsuite/gcc.dg/duff-2.c:28:
warning: unreachable code at beginning of switch statement

I notice this bug has been reported before, and closed as fixed. I'm using the
latest in the 3.3 branch, so I would have expected it to be fixed here too.

-- 
   Summary: gcc tests fail in gcc.dg/duff-2.c
   Product: gcc
   Version: 3.3.5
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tim at bishnet dot net
CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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