public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC.
@ 2014-12-09 14:26 belagod at gcc dot gnu.org
  2014-12-09 15:01 ` [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) belagod at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-12-09 14:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64240
           Summary: [5.0 Regression][AArch64] SMS-3.c causes runtime
                    exception(segfault) with -fPIC.
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: belagod at gcc dot gnu.org

When sms-3 is compiled with -fPIC for aarch64, the test itself segfaults during
execution.

 ../../bin/install/bin/aarch64-unknown-linux-gnu-gcc 
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fmodulo-sched
-funroll-loops -fdump-rtl-sms --param sms-min-sc=1
-fmodulo-sched-allow-regmoves  -lm -mcmodel=small testsuite/gcc.dg/sms-3.c -o
/tmp/sms-3.exe -g -fPIC

When I reverse this patch out, it runs fine:

https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02255.html


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
@ 2014-12-09 15:01 ` belagod at gcc dot gnu.org
  2014-12-10 12:32 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-12-09 15:01 UTC (permalink / raw)
  To: gcc-bugs

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

Tejas Belagod <belagod at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[5.0 Regression][AArch64]   |[5.0 Regression][AArch64]
                   |SMS-3.c causes runtime      |SMS-3.c causes runtime
                   |exception(segfault) with    |exception(segfault).
                   |-fPIC.                      |

--- Comment #1 from Tejas Belagod <belagod at gcc dot gnu.org> ---
Also, reproducable without fPIC.


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
  2014-12-09 15:01 ` [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) belagod at gcc dot gnu.org
@ 2014-12-10 12:32 ` rguenth at gcc dot gnu.org
  2014-12-11 11:52 ` ramana at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-10 12:32 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |5.0


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
  2014-12-09 15:01 ` [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) belagod at gcc dot gnu.org
  2014-12-10 12:32 ` rguenth at gcc dot gnu.org
@ 2014-12-11 11:52 ` ramana at gcc dot gnu.org
  2014-12-11 11:56 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-12-11 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-11
                 CC|                            |fyang at gcc dot gnu.org,
                   |                            |ramana at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Please assign this to yourself Felix.


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-12-11 11:52 ` ramana at gcc dot gnu.org
@ 2014-12-11 11:56 ` rguenth at gcc dot gnu.org
  2014-12-12  3:37 ` fei.yang0953 at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-11 11:56 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-12-11 11:56 ` rguenth at gcc dot gnu.org
@ 2014-12-12  3:37 ` fei.yang0953 at gmail dot com
  2014-12-12  6:16 ` fei.yang0953 at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fei.yang0953 at gmail dot com @ 2014-12-12  3:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Fei Yang <fei.yang0953 at gmail dot com> ---
(In reply to Tejas Belagod from comment #1)
> Also, reproducable without fPIC.

Tejas, I can only reproduce this with -fPIC using trunk r218582. No issue
without this option.


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-12-12  3:37 ` fei.yang0953 at gmail dot com
@ 2014-12-12  6:16 ` fei.yang0953 at gmail dot com
  2014-12-16  1:30 ` fei.yang0953 at gmail dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fei.yang0953 at gmail dot com @ 2014-12-12  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Fei Yang <fei.yang0953 at gmail dot com> ---
(In reply to Ramana Radhakrishnan from comment #2)
> Please assign this to yourself Felix.

Yes, but I don't know how to change the "Assigned to" field after I logged in
as "fei.yang0953@gmail.com".  Can anyone help me on this?  Thanks.


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-12-12  6:16 ` fei.yang0953 at gmail dot com
@ 2014-12-16  1:30 ` fei.yang0953 at gmail dot com
  2015-01-13 14:24 ` ramana at gcc dot gnu.org
  2015-01-14  1:47 ` fei.yang0953 at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: fei.yang0953 at gmail dot com @ 2014-12-16  1:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Fei Yang <fei.yang0953 at gmail dot com> ---
I'm investigating for a solution, please assign me as owner. Thanks.


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2014-12-16  1:30 ` fei.yang0953 at gmail dot com
@ 2015-01-13 14:24 ` ramana at gcc dot gnu.org
  2015-01-14  1:47 ` fei.yang0953 at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-01-13 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Fixed presumably ?


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

* [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault).
  2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2015-01-13 14:24 ` ramana at gcc dot gnu.org
@ 2015-01-14  1:47 ` fei.yang0953 at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: fei.yang0953 at gmail dot com @ 2015-01-14  1:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Fei Yang <fei.yang0953 at gmail dot com> ---
Fixed.


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

end of thread, other threads:[~2015-01-14  1:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-09 14:26 [Bug target/64240] New: [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) with -fPIC belagod at gcc dot gnu.org
2014-12-09 15:01 ` [Bug target/64240] [5.0 Regression][AArch64] SMS-3.c causes runtime exception(segfault) belagod at gcc dot gnu.org
2014-12-10 12:32 ` rguenth at gcc dot gnu.org
2014-12-11 11:52 ` ramana at gcc dot gnu.org
2014-12-11 11:56 ` rguenth at gcc dot gnu.org
2014-12-12  3:37 ` fei.yang0953 at gmail dot com
2014-12-12  6:16 ` fei.yang0953 at gmail dot com
2014-12-16  1:30 ` fei.yang0953 at gmail dot com
2015-01-13 14:24 ` ramana at gcc dot gnu.org
2015-01-14  1:47 ` fei.yang0953 at gmail dot com

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