public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100909] New: powerpc64le: Regression causing unexpected error with IBM long double
@ 2021-06-04 18:11 tuliom at ascii dot art.br
  2021-06-04 18:35 ` [Bug target/100909] [12 Regression] " bergner at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tuliom at ascii dot art.br @ 2021-06-04 18:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100909
           Summary: powerpc64le: Regression causing unexpected error with
                    IBM long double
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tuliom at ascii dot art.br
  Target Milestone: ---

Created attachment 50934
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50934&action=edit
Pre-processed s_modff128-ifunc.c file from glibc

I've recently started seeing this regression while building glibc on
powerpc64le:

gcc -m64 test.i -c -mlong-double-128   -mabi=ibmlongdouble
/home/tuliom/tmp/at-build-tray/at15.0-0-alpha.suse-15_ppc64le_ppc64le/builds/glibc_1-64/math/s_modff128-ifunc.c:8:1:
error: ‘-mabi=ibmlongdouble’ requires ‘-mlong-double-128’
    8 | DECL_ALIAS_s_modf (modf);
      | ^~~~~~

Notice that both parameters are being passed to GCC.

I've bisected this issue to:

commit ebd5e86c0f41dc1d692f9b2b68a510b1f6835a3e
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Mar 10 15:12:31 2021 +0100

    Improve global state for options.

    gcc/c-family/ChangeLog:

            PR tree-optimization/92860
            PR target/99592
            * c-attribs.c (handle_optimize_attribute): Save target node
            before calling parse_optimize_options and save it in case
            it changes.
            * c-pragma.c (handle_pragma_target): Similarly for pragma.
            (handle_pragma_pop_options): Likewise here.

    gcc/ChangeLog:

            PR tree-optimization/92860
            PR target/99592
            * optc-save-gen.awk: Remove exceptions.


I can still reproduce it with commit ee9548b36a7f.

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

end of thread, other threads:[~2021-08-13  9:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 18:11 [Bug c/100909] New: powerpc64le: Regression causing unexpected error with IBM long double tuliom at ascii dot art.br
2021-06-04 18:35 ` [Bug target/100909] [12 Regression] " bergner at gcc dot gnu.org
2021-06-06 15:50 ` marxin at gcc dot gnu.org
2021-06-07  9:11 ` rguenth at gcc dot gnu.org
2021-07-08  0:52 ` bergner at gcc dot gnu.org
2021-07-12  4:19 ` marxin at gcc dot gnu.org
2021-08-13  9:42 ` marxin 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).