This is the mail archive of the gcc@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]

Re: Notes on the merge


At 17:31 Uhr -0000 04.04.1998, Jeffrey A Law wrote:
>Kenner made some pretty significant changes to how xm files are
>handled.  Hopefully I got configure.in properly merged after these
>changes.
>
>Note in rs6000/sysv4.h, there's a include of linux.h that can
>probably disappear with a minor configure.in tweak.
>
>
>floating point conditional moves on the x86 are disabled and integer
>conditional moves have been simplified.  Normally I wouldn't mention
>the simplified integer conditional moves, except we've had trouble
>with them in the past.  Hopefully our fixes to jump.c make the
>simplification safe.
>
>
>Kenner made some changes to ABI_32 on the MIPS port.  I've asked Jim
>to review them to make sure they're OK.

Hi,

on powerpc-unknown-linux-gnu everything compiled fine and during make
check-gcc I saw no regression.
I have included a gdb-backtrace of a SIGSEGV during compilation of one of
the newer tests (BTW, is the switch-1.c testcase I sent in OK?), looks like
a NULL-pointer dereference in rtlanal.c. The test failed before and after
the merge.

Bye,
Franz.


Failing test:
gcc/testsuite/gcc.c-torture/compile/980329-1.c  -w  -O2
-fomit-frame-pointer -finline-functions -funroll-all-loops

gdb-backtrace:
GNU gdb 4.16.86
Copyright 1997 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...
Program terminated with signal 11, Segmentation fault.
#0  0x188df54 in single_set (insn=0x0) at ../../gcc/rtlanal.c:620
620	  if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
(gdb) bt
#0  0x188df54 in single_set (insn=0x0) at ../../gcc/rtlanal.c:620
#1  0x18d0d88 in can_reverse_comparison_p (comparison=0x0, insn=0x1a6bba8)
    at ../../gcc/jump.c:2886
#2  0x18d2180 in invert_exp (x=0x1a6bb78, insn=0x1a6bba8)
    at ../../gcc/jump.c:3846
#3  0x18d224c in invert_exp (x=0x1a6bb68, insn=0x1a6bba8)
    at ../../gcc/jump.c:3863
#4  0x18f3290 in copy_loop_body (copy_start=0x1a652b8, copy_end=0x1a653d0,
    map=0x7fffcc70, exit_label=0x1a6baf0, last_iteration=0,
    unroll_type=UNROLL_NAIVE, start_label=0x1a65278, loop_end=0x1a65538,
    insert_before=0x1a65538, copy_notes_from=0x1a65538)
    at ../../gcc/unroll.c:1936
#5  0x18f25f4 in unroll_loop (loop_end=0x1a65538, insn_count=712,
    loop_start=0x1a652b8, end_insert_before=0x1a65550, strength_reduce_p=0)
    at ../../gcc/unroll.c:1239
#6  0x18eb34c in strength_reduce (scan_start=0x1a65278, end=0x1a65538,
    loop_top=0x0, insn_count=1, loop_start=0x1a652b8, loop_end=0x1a65538,
    unroll_p=1) at ../../gcc/loop.c:3628
#7  0x18e7200 in scan_loop (loop_start=0x1a652b8, end=0x1a65538, nregs=178,
    unroll_p=1) at ../../gcc/loop.c:1067
#8  0x18e6188 in loop_optimize (f=0x1a4e3c0, dumpfile=0x1a6bba8, unroll_p=1)
    at ../../gcc/loop.c:521
#9  0x1828b0c in rest_of_compilation (decl=0x1a622a8)
    at ../../gcc/toplev.c:3278
#10 0x181357c in finish_function (nested=0) at ../../gcc/c-decl.c:7110
#11 0x1802278 in yyparse () at c-parse.y:318
#12 0x1827690 in compile_file (name=0x0) at ../../gcc/toplev.c:2544
#13 0x182a8e0 in main (argc=13, argv=0x7ffffb14, envp=0x1a6bb30)
    at ../../gcc/toplev.c:4361
#14 0x1801494 in __start1 (argc=13, argv=0x7ffffb14, envp=0x7ffffb4c,
    auxvec=0x7ffffbc0, exitfn=0, stack_on_entry=0x1a30000)
    at ../sysdeps/powerpc/elf/start.c:124
(gdb) q







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