public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/34110] New: gcc fails to build on i686
@ 2007-11-15 15:59 us15 at os dot inf dot tu-dresden dot de
2007-11-15 18:21 ` [Bug bootstrap/34110] " mueller at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: us15 at os dot inf dot tu-dresden dot de @ 2007-11-15 15:59 UTC (permalink / raw)
To: gcc-bugs
SVN head does not build due to a warning that is treated as error.
gcc.build.lnx/./prev-gcc/xgcc
-B/gcc-b98ac6987827a195a1492167a9a158bf/gcc.build.lnx/./prev-gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I.
-I../../gcc-svn/gcc -I../../gcc-svn/gcc/. -I../../gcc-svn/gcc/../include
-I../../gcc-svn/gcc/../libcpp/include -I../../gcc-svn/gcc/../libdecnumber
-I../../gcc-svn/gcc/../libdecnumber/bid -I../libdecnumber
../../gcc-svn/gcc/regclass.c -o regclass.o
cc1: warnings being treated as errors
../../gcc-svn/gcc/reg-stack.c: In function 'swap_to_top':
cc1: error: array subscript is below array bounds
make[3]: *** [reg-stack.o] Error 1
--
Summary: gcc fails to build on i686
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: us15 at os dot inf dot tu-dresden dot de
GCC build triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/34110] gcc fails to build on i686
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
@ 2007-11-15 18:21 ` mueller at gcc dot gnu dot org
2007-11-16 11:37 ` mueller at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mueller at gcc dot gnu dot org @ 2007-11-15 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from mueller at gcc dot gnu dot org 2007-11-15 18:21 -------
temp_stack.reg[i_90] is the access, compare_for_stack_reg is the function,
and i_90 has the VRP determined range [-1, 2147483646].
it shouldn't warn for that. I'll work on a patch.
--
mueller at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-15 18:21:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/34110] gcc fails to build on i686
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
2007-11-15 18:21 ` [Bug bootstrap/34110] " mueller at gcc dot gnu dot org
@ 2007-11-16 11:37 ` mueller at gcc dot gnu dot org
2007-11-16 11:52 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mueller at gcc dot gnu dot org @ 2007-11-16 11:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mueller at gcc dot gnu dot org 2007-11-16 11:37 -------
workaround:
--- reg-stack.c (revision 130198)
+++ reg-stack.c (working copy)
@@ -925,7 +925,7 @@ swap_to_top (rtx insn, stack regstack, r
/* Place operand 1 at the top of stack. */
regno = get_hard_regnum (&temp_stack, src1);
gcc_assert (regno >= 0);
- if (regno != FIRST_STACK_REG)
+ if (regno >= 0 && regno != FIRST_STACK_REG)
{
k = temp_stack.top - (regno - FIRST_STACK_REG);
j = temp_stack.top;
@@ -938,7 +938,7 @@ swap_to_top (rtx insn, stack regstack, r
/* Place operand 2 next on the stack. */
regno = get_hard_regnum (&temp_stack, src2);
gcc_assert (regno >= 0);
- if (regno != FIRST_STACK_REG + 1)
+ if (regno >= 0 && regno != FIRST_STACK_REG + 1)
{
k = temp_stack.top - (regno - FIRST_STACK_REG);
j = temp_stack.top - 1;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/34110] gcc fails to build on i686
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
2007-11-15 18:21 ` [Bug bootstrap/34110] " mueller at gcc dot gnu dot org
2007-11-16 11:37 ` mueller at gcc dot gnu dot org
@ 2007-11-16 11:52 ` ebotcazou at gcc dot gnu dot org
2007-11-16 18:58 ` us15 at os dot inf dot tu-dresden dot de
2007-11-19 5:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-16 11:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-11-16 11:51 -------
You shouldn't configure the compiler with --disable-checking, this eliminates
the internal assertions which are desirable.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/34110] gcc fails to build on i686
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
` (2 preceding siblings ...)
2007-11-16 11:52 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-16 18:58 ` us15 at os dot inf dot tu-dresden dot de
2007-11-19 5:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: us15 at os dot inf dot tu-dresden dot de @ 2007-11-16 18:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from us15 at os dot inf dot tu-dresden dot de 2007-11-16 18:58 -------
The workaround fixes my build problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/34110] gcc fails to build on i686
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
` (3 preceding siblings ...)
2007-11-16 18:58 ` us15 at os dot inf dot tu-dresden dot de
@ 2007-11-19 5:23 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-19 5:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-11-19 05:23 -------
*** This bug has been marked as a duplicate of 34144 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34110
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-19 5:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15 15:59 [Bug bootstrap/34110] New: gcc fails to build on i686 us15 at os dot inf dot tu-dresden dot de
2007-11-15 18:21 ` [Bug bootstrap/34110] " mueller at gcc dot gnu dot org
2007-11-16 11:37 ` mueller at gcc dot gnu dot org
2007-11-16 11:52 ` ebotcazou at gcc dot gnu dot org
2007-11-16 18:58 ` us15 at os dot inf dot tu-dresden dot de
2007-11-19 5:23 ` 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).