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

            Bug ID: 87702
           Summary: [5/6/7/8 Regression] Segfault in glibc if compiled
                    with -march=amdfam10 -O2 (x86)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mihail.zenkov at gmail dot com
  Target Milestone: ---

I compiled glibc-2.27 with gcc-8.2 on 32-bit system and have segfaults in
busybox and other software which use this lib. With gcc-4.9.4 all works
correct.

I do bisect and found two regression:

1.
https://github.com/gcc-mirror/gcc/commit/6271bd93bf201cf83b48ad349f06919e87da54fd

I have it with "-march=amdfam10 -O2".

2.
https://github.com/gcc-mirror/gcc/commit/a9d8ab3820ccd10d2ac547295dadf75a33077f14

I have it with "-march=amdfam10 -O2 -mfpmath=sse".

Not sure is this regressions limited to amdfam10 or not.

Reply via email to