public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
@ 2011-10-04 19:07 danglin at gcc dot gnu.org
  2011-10-05 10:09 ` [Bug lto/50617] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-04 19:07 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50617
           Summary: [4.7 Regression] ICE: RTL flag check:
                    INSN_ANNULLED_BRANCH_P used with unexpected rtx code
                    'simplify_immed_subreg' in output_bb, at
                    config/pa/pa.c:6631
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.00
            Target: hppa64-hp-hpux11.00
             Build: hppa64-hp-hpux11.00


Executing on host: /home/gnu/gcc/objdir/gcc/xgcc -B/home/gnu/gcc/objdir/gcc/
-O2 -flto -flto-partition=none  -w -c  -o 20000105-1.o
/xxx/gnu/gcc/gcc/gcc/test
suite/gcc.c-torture/compile/20000105-1.c    (timeout = 300)
/xxx/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c: In function
'
main':
/xxx/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:25:1:
internal
 compiler error: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected
rtx
 code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631

Seems to occur with -flto.  The rtx code is wierd...

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa64-hp-hpux11.00
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-4.7 --build=hppa64-hp-hpux11.00 --disable-nls
--disable-build-poststage1-with-cxx --with-gmp=/opt/gnu64/gcc/gmp
--enable-languages=c,c++,fortran,objc,obj-c++
Thread model: posix
gcc version 4.7.0 20110928 (experimental) [trunk revision 179321] (GCC)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50617] [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
@ 2011-10-05 10:09 ` rguenth at gcc dot gnu.org
  2011-10-22 16:41 ` [Bug target/50617] [4.5, 4.6, 4.7 " danglin at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-05 10:09 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5, 4.6, 4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
  2011-10-05 10:09 ` [Bug lto/50617] " rguenth at gcc dot gnu.org
@ 2011-10-22 16:41 ` danglin at gcc dot gnu.org
  2011-10-27 10:35 ` [Bug target/50617] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-22 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target
            Summary|[4.7 Regression] ICE: RTL   |[4.5, 4.6, 4.7 Regression]
                   |flag check:                 |ICE: RTL flag check:
                   |INSN_ANNULLED_BRANCH_P used |INSN_ANNULLED_BRANCH_P used
                   |with unexpected rtx code    |with unexpected rtx code
                   |'simplify_immed_subreg' in  |'simplify_immed_subreg' in
                   |output_bb, at               |output_bb, at
                   |config/pa/pa.c:6631         |config/pa/pa.c:6631

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-10-22 16:40:26 UTC ---
This is caused by a function naming conflict: output_bb is defined in both
pa.c and gimple-streamer-out.c.  It's a mystery how this worked at all.

gcc-4.5 and 4.6 are also affected.

Guess I'll change the target.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
  2011-10-05 10:09 ` [Bug lto/50617] " rguenth at gcc dot gnu.org
  2011-10-22 16:41 ` [Bug target/50617] [4.5, 4.6, 4.7 " danglin at gcc dot gnu.org
@ 2011-10-27 10:35 ` rguenth at gcc dot gnu.org
  2011-10-27 11:44 ` dave.anglin at bell dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-27 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-27
                 CC|                            |dnovillo at gcc dot gnu.org
   Target Milestone|4.7.0                       |4.5.4
            Summary|[4.5, 4.6, 4.7 Regression]  |[4.5/4.6/4.7 Regression]
                   |ICE: RTL flag check:        |ICE: RTL flag check:
                   |INSN_ANNULLED_BRANCH_P used |INSN_ANNULLED_BRANCH_P used
                   |with unexpected rtx code    |with unexpected rtx code
                   |'simplify_immed_subreg' in  |'simplify_immed_subreg' in
                   |output_bb, at               |output_bb, at
                   |config/pa/pa.c:6631         |config/pa/pa.c:6631
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 10:34:53 UTC ---
Diego, any reason why you didn't prefix those public functions in
gimple-streamer.[ch]?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-10-27 10:35 ` [Bug target/50617] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org
@ 2011-10-27 11:44 ` dave.anglin at bell dot net
  2011-10-29 18:59 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dave.anglin at bell dot net @ 2011-10-27 11:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from dave.anglin at bell dot net 2011-10-27 11:44:02 UTC ---
On 27-Oct-11, at 6:34 AM, rguenth at gcc dot gnu.org wrote:

> Diego, any reason why you didn't prefix those public functions in
> gimple-streamer.[ch]?


I have a patch to prefix the public functions in the pa backend which  
I will
install soon.

Dave
--
John David Anglin    dave.anglin@bell.net


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-10-27 11:44 ` dave.anglin at bell dot net
@ 2011-10-29 18:59 ` danglin at gcc dot gnu.org
  2011-10-29 20:23 ` danglin at gcc dot gnu.org
  2011-10-29 21:44 ` danglin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-29 18:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2011-10-29 18:58:52 UTC ---
Author: danglin
Date: Sat Oct 29 18:58:48 2011
New Revision: 180660

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180660
Log:
    PR target/50617
    * config/pa/protos.h (attr_length_save_restore_dltp): Delete.
    (cmpib_comparison_operator): Likewise.
    (following_cal, output_and, output_ior, output_move_double,
    output_fp_move_double, output_block_move, output_block_clear,
    output_cbranch, output_lbranch, output_bb, output_bvb, output_dbra,
    output_movb, output_parallel_movb, output_parallel_addb, output_call,
    output_indirect_call, output_millicode_call, output_mul_insn,
    output_div_insn, output_mod_insn, singlemove_string,
    output_arg_descriptor, output_global_address, print_operand,
    legitimize_pic_address, hppa_encode_label, symbolic_expression_p,
    fmpyaddoperands, fmpysuboperands, emit_bcond_fp, emit_move_sequence,
    emit_hpdiv_const, is_function_label_plus_const, jump_in_call_delay,
    hppa_fpstore_bypass_p, attr_length_millicode_call, attr_length_call,
    attr_length_indirect_call, return_addr_rtx, function_arg_padding,
    insn_refs_are_delayed, get_deferred_plabel, ldil_cint_p, zdepi_cint_p,
    output_ascii, compute_frame_size, and_mask_p, cint_ok_for_move,
    hppa_expand_prologue, hppa_expand_epilogue, ior_mask_p,
    compute_zdepdi_operands, output_64bit_and, output_64bit_ior,
    reloc_needed, magic_milli, shadd_constant_p): Consistently prefix
    exported functions and variables with "pa_".
    * config/pa/predicates.md: Likewise.
    * config/pa/pa64-hpux.h: likewise.
    * config/pa/som.h: Likewise.
    * config/pa/elf.h: Likewise.
    * config/pa/pa64-linux.h: Likewise.
    * config/pa/pa.md: Likewise.
    * config/pa/pa.c: Likewise.
    * config/pa/pa-linux.h: Likewise.
    * config/pa/pa.h: Likewise.
    * config/pa/constraints.md: Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/pa/constraints.md
    trunk/gcc/config/pa/elf.h
    trunk/gcc/config/pa/pa-linux.h
    trunk/gcc/config/pa/pa-protos.h
    trunk/gcc/config/pa/pa.c
    trunk/gcc/config/pa/pa.h
    trunk/gcc/config/pa/pa.md
    trunk/gcc/config/pa/pa64-hpux.h
    trunk/gcc/config/pa/pa64-linux.h
    trunk/gcc/config/pa/predicates.md
    trunk/gcc/config/pa/som.h


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-10-29 18:59 ` danglin at gcc dot gnu.org
@ 2011-10-29 20:23 ` danglin at gcc dot gnu.org
  2011-10-29 21:44 ` danglin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-29 20:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2011-10-29 20:23:04 UTC ---
Author: danglin
Date: Sat Oct 29 20:23:00 2011
New Revision: 180663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180663
Log:
    PR target/50617
    * config/pa/pa-protos.h (output_bb): Rename to pa_output_bb.
    * config/pa/pa.md: Likewise.
    * config/pa/pa.c: Likewise.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/pa/pa-protos.h
    branches/gcc-4_6-branch/gcc/config/pa/pa.c
    branches/gcc-4_6-branch/gcc/config/pa/pa.md


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/50617] [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-10-29 20:23 ` danglin at gcc dot gnu.org
@ 2011-10-29 21:44 ` danglin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-29 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> 2011-10-29 21:44:24 UTC ---
Revision 180663 was reverted.  Fix is only needed for 4.7.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-29 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 19:07 [Bug lto/50617] New: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 danglin at gcc dot gnu.org
2011-10-05 10:09 ` [Bug lto/50617] " rguenth at gcc dot gnu.org
2011-10-22 16:41 ` [Bug target/50617] [4.5, 4.6, 4.7 " danglin at gcc dot gnu.org
2011-10-27 10:35 ` [Bug target/50617] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2011-10-27 11:44 ` dave.anglin at bell dot net
2011-10-29 18:59 ` danglin at gcc dot gnu.org
2011-10-29 20:23 ` danglin at gcc dot gnu.org
2011-10-29 21:44 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).