public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55045] New: ira.c:879:32: error: array subscript is above array bounds (for vax)
@ 2012-10-23 22:07 amylaar at gcc dot gnu.org
  2012-10-23 22:18 ` [Bug middle-end/55045] " manu at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-10-23 22:07 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55045
           Summary: ira.c:879:32: error: array subscript is above array
                    bounds (for vax)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: build, diagnostic
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
            Blocks: 44756, 53198
            Target: vax-linux-gnu, vax-netbsdelf


g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include 
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../../gcc/gcc/../libbacktrace    ../../../gcc/gcc/ira.c
-o ira.o
../../../gcc/gcc/ira.c: In function ‘void ira_init()’:
../../../gcc/gcc/ira.c:879:32: error: array subscript is above array bounds
[-Werror=array-bounds]
    if ((int) pressure_classes[i] == cl)
                                ^
cc1plus: all warnings being treated as errors
make[2]: *** [ira.o] Error 1


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

* [Bug middle-end/55045] ira.c:879:32: error: array subscript is above array bounds (for vax)
  2012-10-23 22:07 [Bug middle-end/55045] New: ira.c:879:32: error: array subscript is above array bounds (for vax) amylaar at gcc dot gnu.org
@ 2012-10-23 22:18 ` manu at gcc dot gnu.org
  2012-10-23 22:41 ` amylaar at gcc dot gnu.org
  2012-12-18 15:24 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2012-10-23 22:18 UTC (permalink / raw)
  To: gcc-bugs


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-10-23
                 CC|                            |manu at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-23 22:18:20 UTC ---
preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps
to the complete compilation command.

Although, in this case, a reduced testcase would be even better, because the
ira.i is file is probably pretty scary.


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

* [Bug middle-end/55045] ira.c:879:32: error: array subscript is above array bounds (for vax)
  2012-10-23 22:07 [Bug middle-end/55045] New: ira.c:879:32: error: array subscript is above array bounds (for vax) amylaar at gcc dot gnu.org
  2012-10-23 22:18 ` [Bug middle-end/55045] " manu at gcc dot gnu.org
@ 2012-10-23 22:41 ` amylaar at gcc dot gnu.org
  2012-12-18 15:24 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-10-23 22:41 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-10-23 22:40:59 UTC ---
Created attachment 28515
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28515
Preprocessed ira source file

cc1plus invocation was:

/home/joern/fsf/inst/libexec/gcc/i686-pc-linux-gnu/4.8.0/cc1plus -fpreprocessed
ira.ii -quiet -dumpbase ira.c -mtune=generic -march=pentiumpro -auxbase-strip
ira.o -g -O2 -Wextra -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wsuggest-attribute=format -Wpedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -version -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -fno-common -o ira.s


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

* [Bug middle-end/55045] ira.c:879:32: error: array subscript is above array bounds (for vax)
  2012-10-23 22:07 [Bug middle-end/55045] New: ira.c:879:32: error: array subscript is above array bounds (for vax) amylaar at gcc dot gnu.org
  2012-10-23 22:18 ` [Bug middle-end/55045] " manu at gcc dot gnu.org
  2012-10-23 22:41 ` amylaar at gcc dot gnu.org
@ 2012-12-18 15:24 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-18 15:24 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-18 15:23:35 UTC ---
Doesn't reproduce for me anymore, thus fixed (likely either by my fixes or
by Honzas unrollings).


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

end of thread, other threads:[~2012-12-18 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 22:07 [Bug middle-end/55045] New: ira.c:879:32: error: array subscript is above array bounds (for vax) amylaar at gcc dot gnu.org
2012-10-23 22:18 ` [Bug middle-end/55045] " manu at gcc dot gnu.org
2012-10-23 22:41 ` amylaar at gcc dot gnu.org
2012-12-18 15:24 ` rguenth 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).