public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/6867: GCC 3.1 bootstrap fails for HPPA with -march=2.0
@ 2002-11-21 13:46 danglin
  0 siblings, 0 replies; 2+ messages in thread
From: danglin @ 2002-11-21 13:46 UTC (permalink / raw)
  To: Stefan.Becker, danglin, gcc-bugs, gcc-prs, marduk, nobody

Synopsis: GCC 3.1 bootstrap fails for HPPA with -march=2.0

Responsible-Changed-From-To: unassigned->danglin
Responsible-Changed-By: danglin
Responsible-Changed-When: Fri Nov 15 14:15:53 2002
Responsible-Changed-Why:
    Assigned responsibility.
State-Changed-From-To: open->closed
State-Changed-By: danglin
State-Changed-When: Fri Nov 15 14:15:53 2002
State-Changed-Why:
    Fixed in 3.3 (experimental).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6867


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

* target/6867: GCC 3.1 bootstrap fails for HPPA with -march=2.0
@ 2002-05-30  4:49 Stefan.Becker
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan.Becker @ 2002-05-30  4:49 UTC (permalink / raw)
  To: gcc-gnats; +Cc: marduk


>Number:         6867
>Category:       target
>Synopsis:       GCC 3.1 bootstrap fails for HPPA with -march=2.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 30 04:36:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Becker
>Release:        3.1
>Organization:
>Environment:
hppa2.0-hp-hpux11.11
>Description:
During the bootstrap the generated stage1 and stage2 compiler fail on the following modules:

gcc/global.c:
stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/. -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/global.c -o global.o
../../../../src/gcc-3.1/gcc/global.c: In function `expand_preferences':
../../../../src/gcc-3.1/gcc/global.c:882: insn does not satisfy its constraints:
(insn 807 805 162 (set (reg:SI 72 %fr24)
        (mem/f:SI (lo_sum:SI (reg/f:SI 9 %r9 [156])
                (symbol_ref:SI ("allocno_row_words"))) [2 allocno_row_words+0 S4 A32])) 68 {*pa.md:2088} (nil)
    (nil))
../../../../src/gcc-3.1/gcc/global.c:882: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368

gcc/sched-rgn.c:
stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/. -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/sched-rgn.c -o sched-rgn.o
../../../../src/gcc-3.1/gcc/sched-rgn.c: In function `init_ready_list':
../../../../src/gcc-3.1/gcc/sched-rgn.c:2078: insn does not satisfy its constraints:
(insn 836 834 106 (set (reg:SI 69 %fr22R)
        (mem/f:SI (lo_sum:SI (reg/f:SI 5 %r5 [142])
                (symbol_ref:SI ("rgn_nr_edges"))) [3 rgn_nr_edges+0 S4 A32])) 68 {*pa.md:2088} (nil)
    (nil))
../../../../src/gcc-3.1/gcc/sched-rgn.c:2078: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368

gcc/f/data.c:
stage1/xgcc -Bstage1/ -B/disks/gsm_ui/software/hppa2.0-hp-hpux11.11/hppa2.0-hp-hpux11.11/bin/ -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -If -I../../../../src/gcc-3.1/gcc -I../../../../src/gcc-3.1/gcc/f -I../../../../src/gcc-3.1/gcc/config -I../../../../src/gcc-3.1/gcc/../include ../../../../src/gcc-3.1/gcc/f/data.c -o f/data.o
../../../../src/gcc-3.1/gcc/f/data.c: In function `ffedata_advance_':
../../../../src/gcc-3.1/gcc/f/data.c:655: insn does not satisfy its constraints:
(insn 2674 552 571 (set (reg:DI 72 %fr24 [327])
        (mem/f:DI (lo_sum:SI (reg/f:SI 5 %r5 [865])
                (symbol_ref:SI ("ffedata_arraysize_"))) [28 ffedata_arraysize_+0 S8 A64])) 118 {*pa.md:3087} (nil)
    (nil))
../../../../src/gcc-3.1/gcc/f/data.c:655: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8368

The modules compile fine when I remove the "-O2" from the command line.
>How-To-Repeat:
I wanted to create a GCC which generats PA2.0 code as default. I studied the configuration and modified in gcc/config.gcc

 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
        target_cpu_default="MASK_PA_11"

to

 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
        target_cpu_default="(MASK_PA_11|MASK_PA_20)"

After that I ran the configure & make bootstrap-lean.

To verify the problem I bootstrapped GCC 3.1 without any changes, ie. it will generate PA1.1 code. After the bootstrap was complete I compiled the 3 modules with "-march=2.0" and got the same error message.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-11-15 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 13:46 target/6867: GCC 3.1 bootstrap fails for HPPA with -march=2.0 danglin
  -- strict thread matches above, loose matches on Subject: below --
2002-05-30  4:49 Stefan.Becker

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).