public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types
@ 2012-10-30 21:42 zsojka at seznam dot cz
  2012-10-31 10:28 ` [Bug rtl-optimization/55141] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2012-10-30 21:42 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

             Bug #: 55141
           Summary: [4.8 Regression] wrong code with -fno-split-wide-types
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 28579
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28579
reduced testcase (from gcc.c-torture/execute/20000808-1.c)

Output:
$ gcc -O -fno-split-wide-types testcase.c
$ ./a.out 
Aborted

Tested revisions:
r192991 - fail
r192654 - OK


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
@ 2012-10-31 10:28 ` rguenth at gcc dot gnu.org
  2012-10-31 10:32 ` mpolacek at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-31 10:28 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
  2012-10-31 10:28 ` [Bug rtl-optimization/55141] " rguenth at gcc dot gnu.org
@ 2012-10-31 10:32 ` mpolacek at gcc dot gnu.org
  2012-11-07 10:49 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2012-10-31 10:32 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-10-31
                 CC|                            |mpolacek at gcc dot
                   |                            |gnu.org, vmakarov at gcc
                   |                            |dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2012-10-31 10:31:53 UTC ---
Started with http://gcc.gnu.org/viewcvs?view=revision&revision=192719


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
  2012-10-31 10:28 ` [Bug rtl-optimization/55141] " rguenth at gcc dot gnu.org
  2012-10-31 10:32 ` mpolacek at gcc dot gnu.org
@ 2012-11-07 10:49 ` jakub at gcc dot gnu.org
  2012-11-07 15:21 ` vmakarov at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-07 10:49 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-07 10:48:55 UTC ---
Yeah, argp is eliminated to rsp + 16 instead of the correct rsp + 32 (there are
2 64-bit call used registers saved to stack in the prologue, callq pushes 8
bytes and rsp is adjusted by 8 to maintain the required stack alignment.
Vlad, can you please take a look?


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2012-11-07 10:49 ` jakub at gcc dot gnu.org
@ 2012-11-07 15:21 ` vmakarov at redhat dot com
  2012-12-07 13:47 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vmakarov at redhat dot com @ 2012-11-07 15:21 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

Vladimir Makarov <vmakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at redhat dot com

--- Comment #3 from Vladimir Makarov <vmakarov at redhat dot com> 2012-11-07 15:21:11 UTC ---
(In reply to comment #2)
> Yeah, argp is eliminated to rsp + 16 instead of the correct rsp + 32 (there are
> 2 64-bit call used registers saved to stack in the prologue, callq pushes 8
> bytes and rsp is adjusted by 8 to maintain the required stack alignment.
> Vlad, can you please take a look?

Sure, I'll look at this.  Simply I don't know when exactly (probably in a few
days) because I am working on many LRA PRs these days.


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2012-11-07 15:21 ` vmakarov at redhat dot com
@ 2012-12-07 13:47 ` rguenth at gcc dot gnu.org
  2012-12-07 21:07 ` vmakarov at gcc dot gnu.org
  2012-12-13 11:01 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-07 13:47 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

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

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


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2012-12-07 13:47 ` rguenth at gcc dot gnu.org
@ 2012-12-07 21:07 ` vmakarov at gcc dot gnu.org
  2012-12-13 11:01 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2012-12-07 21:07 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> 2012-12-07 21:06:49 UTC ---
Author: vmakarov
Date: Fri Dec  7 21:06:38 2012
New Revision: 194308

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194308
Log:
2012-12-07  Vladimir Makarov  <vmakarov@redhat.com>

    testsuite/gcc.target/i386/pr55141.c
    * lra-constraints.c (lra_constraints): Use biggest mode for
    df_set_regs_ever_live.

2012-12-07  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/55141
    * gcc.target/i386/pr55141.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr55141.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types
  2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2012-12-07 21:07 ` vmakarov at gcc dot gnu.org
@ 2012-12-13 11:01 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-13 11:01 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-13 11:01:24 UTC ---
Fixed.


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

end of thread, other threads:[~2012-12-13 11:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 21:42 [Bug rtl-optimization/55141] New: [4.8 Regression] wrong code with -fno-split-wide-types zsojka at seznam dot cz
2012-10-31 10:28 ` [Bug rtl-optimization/55141] " rguenth at gcc dot gnu.org
2012-10-31 10:32 ` mpolacek at gcc dot gnu.org
2012-11-07 10:49 ` jakub at gcc dot gnu.org
2012-11-07 15:21 ` vmakarov at redhat dot com
2012-12-07 13:47 ` rguenth at gcc dot gnu.org
2012-12-07 21:07 ` vmakarov at gcc dot gnu.org
2012-12-13 11:01 ` jakub 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).