Hello,
I bumped into a strange bug today: the program hang at a point,
inspecting the disassembly revealed that it was a single jmp instruction
which jumped onto itself. Most of the code from the C++ function was
missing. The bug occurs at -O2 or -O3, -O1 generates correct code. The
function
"Peter A. Felvegi" writes:
> My question is: wouldn't it be possible to print a warning when a jmp
> to itself or trivial infinite recursion is generated? The code
> compiled fine w/ -Wall -Wextra -Werror w/ 4.6 and 4.7.
This question is not appropriate for the mailing list gcc@gcc.gnu.org,
whic
Hello,
The patch attached at http://gcc.gnu.org/ml/gcc/2012-06/msg00261.html
was just barely enough to get gnat1 compiled but failed on compiling the
rts files. Please replace it by the patch here. (This one is against
gcc/trunk r162542 of 2010-07-26 but I'm moving forward these days.)
One occa
> --- single/blanks_to_underscores.ali 2012-06-23 18:15:09
> +++ multi/blanks_to_underscores.ali 2012-06-23 19:07:39
> @@ -7,20 +7,17 @@
> .
> -X 3 blanks_to_underscores.adb
> +X 1 blanks_to_underscores.adb
>
> In multi source compilations, main units may get assigned different
> unit numb
Snapshot gcc-4.7-20120623 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.7-20120623/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.7 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches