public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/36121]  New: config/i386/i386.c: array index out of range
@ 2008-05-04  8:05 dcb314 at hotmail dot com
  2008-05-04 15:23 ` [Bug bootstrap/36121] " hjl at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2008-05-04  8:05 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the GNU C compiler version 4.4 snapshot 20080502
with the Intel C compiler.

The Intel C compiler said

../../src/gcc-4.4-20080502/gcc/config/i386/i386.c(20878): warning #175:
subscript out of range

The source code is

      pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
                 args[2].op);

but

  struct
    {
      rtx op;
      enum machine_mode mode;
    } args[2];

so args[ 2].op doesn't exist. Suggest make local variable args one
bigger.


-- 
           Summary: config/i386/i386.c: array index out of range
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug bootstrap/36121] config/i386/i386.c: array index out of range
  2008-05-04  8:05 [Bug bootstrap/36121] New: config/i386/i386.c: array index out of range dcb314 at hotmail dot com
@ 2008-05-04 15:23 ` hjl at gcc dot gnu dot org
  2008-05-04 15:28 ` hjl dot tools at gmail dot com
  2008-05-05  4:43 ` [Bug target/36121] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-05-04 15:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at gcc dot gnu dot org  2008-05-04 15:22 -------
Subject: Bug 36121

Author: hjl
Date: Sun May  4 15:22:05 2008
New Revision: 134932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134932
Log:
2008-05-04  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/36121
        * config/i386/i386.c (ix86_expand_special_args_builtin): Remove
        3 argument handling.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


-- 


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


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

* [Bug bootstrap/36121] config/i386/i386.c: array index out of range
  2008-05-04  8:05 [Bug bootstrap/36121] New: config/i386/i386.c: array index out of range dcb314 at hotmail dot com
  2008-05-04 15:23 ` [Bug bootstrap/36121] " hjl at gcc dot gnu dot org
@ 2008-05-04 15:28 ` hjl dot tools at gmail dot com
  2008-05-05  4:43 ` [Bug target/36121] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-05-04 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2008-05-04 15:27 -------
Fixed by

http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00206.html


-- 

hjl dot tools at gmail dot com changed:

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


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


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

* [Bug target/36121] config/i386/i386.c: array index out of range
  2008-05-04  8:05 [Bug bootstrap/36121] New: config/i386/i386.c: array index out of range dcb314 at hotmail dot com
  2008-05-04 15:23 ` [Bug bootstrap/36121] " hjl at gcc dot gnu dot org
  2008-05-04 15:28 ` hjl dot tools at gmail dot com
@ 2008-05-05  4:43 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-05  4:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
   Target Milestone|---                         |4.4.0


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


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

end of thread, other threads:[~2008-05-05  4:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-04  8:05 [Bug bootstrap/36121] New: config/i386/i386.c: array index out of range dcb314 at hotmail dot com
2008-05-04 15:23 ` [Bug bootstrap/36121] " hjl at gcc dot gnu dot org
2008-05-04 15:28 ` hjl dot tools at gmail dot com
2008-05-05  4:43 ` [Bug target/36121] " 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).