public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12645] New: ICE building arm compiler
@ 2003-10-16 17:54 green at redhat dot com
  2003-10-16 17:56 ` [Bug c/12645] " green at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: green at redhat dot com @ 2003-10-16 17:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE building arm compiler
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

I'll upload the preprocess C source...

$ gcc --version
gcc (GCC) 3.5-tree-ssa 20031016 (merged 20031005)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
$ gcc -O1 simplify-rtx.i -S
unhandled expression in get_expr_operands():
 <truth_not_expr 0xbf2d5fa0
    type <boolean_type 0xbf554740 _Bool unsigned QI
        size <integer_cst 0xbf552138 constant invariant 8>
        unit size <integer_cst 0xbf552150 constant invariant 1>
        align 8 symtab 0 alias set -1 precision 1 min <integer_cst 0xbf552510 0>
max <integer_cst 0xbf552558 1>
        pointer_to_this <pointer_type 0xbf2aa910>>
    
    arg 0 <ssa_name 0xbee04100 type <boolean_type 0xbf554740 _Bool>
       >>
 
../../src/HEAD-2003-10-16/gcc/simplify-rtx.c: In function `simplify_subreg':
 
../../src/HEAD-2003-10-16/gcc/simplify-rtx.c:2890: internal compiler error: in
get_expr_operands, at tree-dfa.c:540
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c/12645] ICE building arm compiler
  2003-10-16 17:54 [Bug c/12645] New: ICE building arm compiler green at redhat dot com
@ 2003-10-16 17:56 ` green at redhat dot com
  2003-10-17 14:12 ` [Bug optimization/12645] [tree-ssa] " pinskia at gcc dot gnu dot org
  2003-10-17 16:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: green at redhat dot com @ 2003-10-16 17:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From green at redhat dot com  2003-10-16 17:56 -------
Created an attachment (id=4946)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4946&action=view)
Preprocessed test case


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

* [Bug optimization/12645] [tree-ssa] ICE building arm compiler
  2003-10-16 17:54 [Bug c/12645] New: ICE building arm compiler green at redhat dot com
  2003-10-16 17:56 ` [Bug c/12645] " green at redhat dot com
@ 2003-10-17 14:12 ` pinskia at gcc dot gnu dot org
  2003-10-17 16:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 14:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |optimization
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-17 14:09:35
               date|                            |
            Summary|ICE building arm compiler   |[tree-ssa] ICE building arm
                   |                            |compiler
   Target Milestone|---                         |tree-ssa


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 14:09 -------
Here is the simplified version:
extern int target_flags;
enum machine_mode { VOIDmode,
MAX_MACHINE_MODE };

extern const unsigned char mode_size[(int) MAX_MACHINE_MODE];

extern const unsigned short mode_bitsize[(int) MAX_MACHINE_MODE];
void *
simplify_subreg (enum machine_mode outermode)
{
    int offset, part;
    unsigned long val = 0;

    if (((target_flags & (1 << 9)) != 0) || (((target_flags & (1 << 9)) != 0) && ! (target_flags & (1 << 
11))))
    {
        if (((target_flags & (1 << 9)) != 0) != (((target_flags & (1 << 9)) != 0) && ! (target_flags & (1 
<< 11)))
            && (mode_size[(int) (outermode)]) < 4)
            offset = (offset + (8 * 4) - (mode_bitsize[(int) (outermode)])
                      - 2 * (offset % (8 * 4)));
    }
    return (void *) 0;
}


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

* [Bug optimization/12645] [tree-ssa] ICE building arm compiler
  2003-10-16 17:54 [Bug c/12645] New: ICE building arm compiler green at redhat dot com
  2003-10-16 17:56 ` [Bug c/12645] " green at redhat dot com
  2003-10-17 14:12 ` [Bug optimization/12645] [tree-ssa] " pinskia at gcc dot gnu dot org
@ 2003-10-17 16:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 16:38 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 16:38 -------
This is a dup of bug 12661 which has more analysis.

*** This bug has been marked as a duplicate of 12661 ***


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

end of thread, other threads:[~2003-10-17 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 17:54 [Bug c/12645] New: ICE building arm compiler green at redhat dot com
2003-10-16 17:56 ` [Bug c/12645] " green at redhat dot com
2003-10-17 14:12 ` [Bug optimization/12645] [tree-ssa] " pinskia at gcc dot gnu dot org
2003-10-17 16:38 ` pinskia at gcc dot gnu dot 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).