public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49789] New: Bootstrap failure with SMS flags on ARM
@ 2011-07-20  5:20 revital.eres at linaro dot org
  2011-12-16  1:15 ` [Bug bootstrap/49789] " pinskia at gcc dot gnu.org
  2011-12-16  9:32 ` revital.eres at linaro dot org
  0 siblings, 2 replies; 3+ messages in thread
From: revital.eres at linaro dot org @ 2011-07-20  5:20 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Bootstrap failure with SMS flags on ARM
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: revital.eres@linaro.org
              Host: arm-linux-gnueabi
            Target: arm-linux-gnueabi


I get the following error while bootstrap trunk -r176434 on ARM machine with
SMS flags:

-O2 -fmodulo-sched -fmodulo-sched-allow-regmoves  -fno-auto-inc-dec --param
sms-min-sc=1

configure:3269: /home/40014/mainline/build3/./gcc/xgcc
-B/home/40014/mainline/build3/./gcc/
-B/home/40014/mainline/build3/armv7l-unknown-linux-gnueabi/bin/
-B/home/40014/mainline/build3/armv7l-unknown-linux-gnueabi/lib/ -isystem
/home/40014/mainline/build3/armv7l-unknown-linux-gnueabi/include -isystem
/home/40014/mainline/build3/armv7l-unknown-linux-gnueabi/sys-include    -c -g
-O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:16:1: internal compiler error: vector VEC(edge,base) index domain
error, in ei_edge at basic-block.h:672
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3273: $? = 1

Investigating the problem; it seems that the cause is not related to
SMS but rather to the doloop optimization which is enabled only when
SMS flags are set. (but that also does not mean that doloop is the
reason for the fail; it could be some later passes)
The first file that doloop is applied on and causes bootstrap failure
is bb-reorder.c.
The problematic loop seems to be the last FOR_EACH_EDGE in
connect_traces function which is inlined into reorder_basic_block.


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

* [Bug bootstrap/49789] Bootstrap failure with SMS flags on ARM
  2011-07-20  5:20 [Bug bootstrap/49789] New: Bootstrap failure with SMS flags on ARM revital.eres at linaro dot org
@ 2011-12-16  1:15 ` pinskia at gcc dot gnu.org
  2011-12-16  9:32 ` revital.eres at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-16  1:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-16 00:53:44 UTC ---
Is this still an issue?


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

* [Bug bootstrap/49789] Bootstrap failure with SMS flags on ARM
  2011-07-20  5:20 [Bug bootstrap/49789] New: Bootstrap failure with SMS flags on ARM revital.eres at linaro dot org
  2011-12-16  1:15 ` [Bug bootstrap/49789] " pinskia at gcc dot gnu.org
@ 2011-12-16  9:32 ` revital.eres at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: revital.eres at linaro dot org @ 2011-12-16  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from revital.eres at linaro dot org 2011-12-16 09:24:27 UTC ---
(In reply to comment #1)
> Is this still an issue?

Yes, it still fails with -r182398.


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

end of thread, other threads:[~2011-12-16  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-20  5:20 [Bug bootstrap/49789] New: Bootstrap failure with SMS flags on ARM revital.eres at linaro dot org
2011-12-16  1:15 ` [Bug bootstrap/49789] " pinskia at gcc dot gnu.org
2011-12-16  9:32 ` revital.eres at linaro 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).