public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101737] New: SH4 -Os causes internal compiler error when building pixman
@ 2021-08-02 21:34 thomas.petazzoni@free-electrons.com
  2021-08-02 21:56 ` [Bug target/101737] " thomas.petazzoni@free-electrons.com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: thomas.petazzoni@free-electrons.com @ 2021-08-02 21:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737

            Bug ID: 101737
           Summary: SH4 -Os causes internal compiler error when building
                    pixman
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thomas.petazzoni@free-electrons.com
  Target Milestone: ---

Created attachment 51247
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51247&action=edit
source file that exhibits the issue

The attached source file test.c, which comes from the pixman open-source
project, when compiled for SuperH 4 using gcc 9.3.0 causes an internal compiler
error when built at -Os. Building at -O0 or -O2 doesn't cause any problem.

$ sh4-linux-gcc -c -Os test.c 
during RTL pass: split1
pixman-fast-path.c: In function
‘fast_composite_scaled_nearest_8888_565_normal_OVER’:
pixman-fast-path.c:1204:1: internal compiler error: Segmentation fault
 1204 | FAST_NEAREST (8888_565_normal, 8888, 0565, uint32_t, uint16_t, OVER,
NORMAL)
      | ^~~~~~
unrecognized DWARF version in .debug_info at 6
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.buildroot.net/> for instructions.
$ sh4-linux-gcc -c -O2 test.c 
$ sh4-linux-gcc -c -O0 test.c

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

end of thread, other threads:[~2024-03-03  6:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 21:34 [Bug target/101737] New: SH4 -Os causes internal compiler error when building pixman thomas.petazzoni@free-electrons.com
2021-08-02 21:56 ` [Bug target/101737] " thomas.petazzoni@free-electrons.com
2021-08-03 11:53 ` marxin at gcc dot gnu.org
2022-04-07 20:01 ` nospam-abuse at ilyaz dot org
2024-02-23  0:22 ` pietro.gcc at sociotechnical dot xyz
2024-03-03  6:01 ` cvs-commit at gcc dot gnu.org
2024-03-03  6:06 ` cvs-commit at gcc dot gnu.org
2024-03-03  6:15 ` cvs-commit at gcc dot gnu.org
2024-03-03  6:23 ` cvs-commit at gcc dot gnu.org
2024-03-03  6:25 ` olegendo 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).