public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/94577] New: aarch64:Add error message in large code model for ilp32
@ 2020-04-13 12:41 duanbo3 at huawei dot com
  2020-04-21 14:09 ` [Bug target/94577] aarch64:Add an " cvs-commit at gcc dot gnu.org
  2020-05-18  6:18 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: duanbo3 at huawei dot com @ 2020-04-13 12:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94577
           Summary: aarch64:Add error message in large code model for
                    ilp32
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: duanbo3 at huawei dot com
  Target Milestone: ---
            Target: aarch64

hello
I find a problem when testing GCC10.0 on aarch64 at -mabi=ilp32 .
The option -mabi=ilp32 should not be used in large code model.
like x86,when using -mx32 and -mcmodel=large together ,it will have error
message
"error: code model ‘large’ not supported in x32 mode".

On aarch64,this is no error message for this option conflict.

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

* [Bug target/94577] aarch64:Add an error message in large code model for ilp32
  2020-04-13 12:41 [Bug c/94577] New: aarch64:Add error message in large code model for ilp32 duanbo3 at huawei dot com
@ 2020-04-21 14:09 ` cvs-commit at gcc dot gnu.org
  2020-05-18  6:18 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-21 14:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:6c0ab626113ef20ee2986cb8a102b5394aeb888a

commit r10-7847-g6c0ab626113ef20ee2986cb8a102b5394aeb888a
Author: XieZhiheng <xiezhiheng@huawei.com>
Date:   Tue Apr 21 15:09:23 2020 +0100

    aarch64: Add an error message in large code model for ilp32 [PR94577]

    The option -mabi=ilp32 should not be used in large code model. An error
    message is added for the option conflict.

    2020-04-21  Duan bo  <duanbo3@huawei.com>

    gcc/
            PR target/94577
            * config/aarch64/aarch64.c: Add an error message for option
conflict.
            * doc/invoke.texi (-mcmodel=large): Mention that -mcmodel=large is
            incompatible with -fpic, -fPIC and -mabi=ilp32.

    gcc/testsuite/
            PR target/94577
            * gcc.target/aarch64/pr94577.c: New test.

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

* [Bug target/94577] aarch64:Add an error message in large code model for ilp32
  2020-04-13 12:41 [Bug c/94577] New: aarch64:Add error message in large code model for ilp32 duanbo3 at huawei dot com
  2020-04-21 14:09 ` [Bug target/94577] aarch64:Add an " cvs-commit at gcc dot gnu.org
@ 2020-05-18  6:18 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-05-18  6:18 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |10.2

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2020-05-18  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 12:41 [Bug c/94577] New: aarch64:Add error message in large code model for ilp32 duanbo3 at huawei dot com
2020-04-21 14:09 ` [Bug target/94577] aarch64:Add an " cvs-commit at gcc dot gnu.org
2020-05-18  6:18 ` pinskia 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).