This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/38666] [4.3 Regression] internal compiler error: Segmentation fault in record_one_conflict, ra-conflict.c:176



------- Comment #15 from sergstesh at yahoo dot com  2009-01-08 22:18 -------
(In reply to comment #14)
> This is fixed in 4.4 by IRA:
> 
> gnu-3:pts/0[29]> ./xgcc -B./ -O -S /net/gnu-6/export/home/hjl/tmp/gcc_bug.i
> -fno-ira
> gcc_bug.c: In function ?main?:
> gcc_bug.c:23030: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> gnu-3:pts/0[30]>
> 
> When I enable checking in gcc 4.3, I got
> 
> [hjl@gnu-17 gcc]$ ./xgcc -B./ /tmp/gcc_bug.i -S -O -v
> Reading specs from ./specs
> Target: i686-pc-linux-gnu
> Configured with: /net/gnu-13/export/gnu/src/gcc-4.3/gcc/configure
> --enable-languages=c --disable-bootstrap --enable-checking
> Thread model: posix
> gcc version 4.3.3 20090108 (prerelease) [gcc-4_3-branch revision 143188] (GCC) 
> COLLECT_GCC_OPTIONS='-B./' '-S' '-O' '-v' '-mtune=generic'
>  ./cc1 -fpreprocessed /tmp/gcc_bug.i -quiet -dumpbase gcc_bug.i -mtune=generic
> -auxbase gcc_bug -O -version -o gcc_bug.s
> GNU C (GCC) version 4.3.3 20090108 (prerelease) [gcc-4_3-branch revision
> 143188] (i686-pc-linux-gnu)
>         compiled by GNU C version 4.3.2 20081105 (Red Hat 4.3.2-7), GMP version
> 4.2.2, MPFR version 2.3.2.
> GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
> Compiler executable checksum: 98cd2bcb358a704593004b875ff80d57
> gcc_bug.c: In function ?main?:
> gcc_bug.c:23030: internal compiler error: in global_alloc, at global.c:438
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> [hjl@gnu-17 gcc]$ 
> 
> We had an overflow in max_bitnum and things went downhill after that.
> 

I do not quite understand the

"
This is fixed in 4.4 by IRA:

gnu-3:pts/0[29]> ./xgcc -B./ -O -S /net/gnu-6/export/home/hjl/tmp/gcc_bug.i
-fno-ira
gcc_bug.c: In function ?main?:
gcc_bug.c:23030: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gnu-3:pts/0[30]>
"

part, i.e. on the one hand there is a statement that the problem is fixed in
4.4, on the other hand the example still shows "internal compiler error:
Segmentation fault" - is this example from 4.4 ?

If yes, how does "Segmentation fault" indicate that the problem is fixed ?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]