public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
@ 2012-09-28 23:37 schwab@linux-m68k.org
  2012-09-29 22:27 ` [Bug rtl-optimization/54739] " danglin at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: schwab@linux-m68k.org @ 2012-09-28 23:37 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54739
           Summary: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c
                    scan-rtl-dump subreg1 "Splitting reg"
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schwab@linux-m68k.org
                CC: uweigand@gcc.gnu.org
            Target: m68k-*-*


gcc.dg/lower-subreg-1.c fails on m68k since r191805.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
@ 2012-09-29 22:27 ` danglin at gcc dot gnu.org
  2012-09-30  9:52 ` ebotcazou at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-09-29 22:27 UTC (permalink / raw)
  To: gcc-bugs


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-09-29
                 CC|                            |danglin at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-09-29 22:26:54 UTC ---
Also seen on hppa.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
  2012-09-29 22:27 ` [Bug rtl-optimization/54739] " danglin at gcc dot gnu.org
@ 2012-09-30  9:52 ` ebotcazou at gcc dot gnu.org
  2012-10-01 12:17 ` uweigand at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-09-30  9:52 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|m68k-*-*                    |
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-09-30 09:52:23 UTC ---
And on the SPARC.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
  2012-09-29 22:27 ` [Bug rtl-optimization/54739] " danglin at gcc dot gnu.org
  2012-09-30  9:52 ` ebotcazou at gcc dot gnu.org
@ 2012-10-01 12:17 ` uweigand at gcc dot gnu.org
  2012-10-01 23:51 ` dave.anglin at bell dot net
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-10-01 12:17 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-10-01 12:16:53 UTC ---
It seems all three of those targets have an "iordi3" pattern that triggers even
for 32-bit compiles.  In this case, the lower-subreg pass now no longer splits
the register, so that the DImode pattern is actually used.  (Prior to my patch,
the register would have been split anyway.)

The test case is intended to run on 32-bit targets where an ior:DI operation is
supposed to be split; it will now fail on targets with an iordi3 pattern.

For those targets, I guess it's up the target maintainers to decide whether:

- you want the iordi3 pattern to trigger since it gives better code than having
lower-subreg split the operation: in this case, just disable the test case for
your target (this is what I did for ARM)

or

- you'd really prefer to have lower-subreg split the operation, in which case
you should remove the iordi3 pattern


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2012-10-01 12:17 ` uweigand at gcc dot gnu.org
@ 2012-10-01 23:51 ` dave.anglin at bell dot net
  2012-10-04  7:58 ` ebotcazou at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-10-01 23:51 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from dave.anglin at bell dot net 2012-10-01 23:51:23 UTC ---
Thanks Ulrich for your analysis.  On parisc, I believe it would be  
best to remove
iordi3, anddi3, etc, for 32-bit targets if they are successfully  
split.  Testing a fix.

--
John David Anglin    dave.anglin@bell.net


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2012-10-01 23:51 ` dave.anglin at bell dot net
@ 2012-10-04  7:58 ` ebotcazou at gcc dot gnu.org
  2012-10-04  8:16 ` ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-04  7:58 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-04 07:58:31 UTC ---
Thanks.  The code generated for the testcase is certainly better on the SPARC
if lower-subreg doesn't split the DImode objects (which probably means that the
patch was also beneficial for this architecture) so I'll go the ARM way.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (4 preceding siblings ...)
  2012-10-04  7:58 ` ebotcazou at gcc dot gnu.org
@ 2012-10-04  8:16 ` ebotcazou at gcc dot gnu.org
  2012-10-06  0:34 ` danglin at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-04  8:16 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-04 08:15:37 UTC ---
Author: ebotcazou
Date: Thu Oct  4 08:15:11 2012
New Revision: 192066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192066
Log:
    PR rtl-optimization/54739
    * gcc.dg/lower-subreg-1.c: Also skip on SPARC.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/lower-subreg-1.c


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (5 preceding siblings ...)
  2012-10-04  8:16 ` ebotcazou at gcc dot gnu.org
@ 2012-10-06  0:34 ` danglin at gcc dot gnu.org
  2012-10-06  0:46 ` danglin at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-10-06  0:34 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2012-10-06 00:33:56 UTC ---
Author: danglin
Date: Sat Oct  6 00:33:52 2012
New Revision: 192152

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192152
Log:
    PR rtl-optimization/54739
    * config/pa/pa.md: Remove DImode and, not and, ior and xor patterns
    for 32-bit targets.  Adjust expanders.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/pa/pa.md


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (6 preceding siblings ...)
  2012-10-06  0:34 ` danglin at gcc dot gnu.org
@ 2012-10-06  0:46 ` danglin at gcc dot gnu.org
  2012-10-06 11:42 ` schwab at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-10-06  0:46 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2012-10-06 00:46:25 UTC ---
Applied patch fixes testcase on parisc.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (7 preceding siblings ...)
  2012-10-06  0:46 ` danglin at gcc dot gnu.org
@ 2012-10-06 11:42 ` schwab at gcc dot gnu.org
  2012-10-06 11:52 ` schwab@linux-m68k.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab at gcc dot gnu.org @ 2012-10-06 11:42 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #9 from Andreas Schwab <schwab at gcc dot gnu.org> 2012-10-06 11:42:18 UTC ---
Author: schwab
Date: Sat Oct  6 11:42:13 2012
New Revision: 192156

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192156
Log:
PR rtl-optimization/54739
* config/m68k/m68k.md (anddi3, iordi3, xordi3, one_cmpldi2):
Remove.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/m68k/m68k.md


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (8 preceding siblings ...)
  2012-10-06 11:42 ` schwab at gcc dot gnu.org
@ 2012-10-06 11:52 ` schwab@linux-m68k.org
  2012-10-09  9:22 ` nickc at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab@linux-m68k.org @ 2012-10-06 11:52 UTC (permalink / raw)
  To: gcc-bugs


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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eager at eagercon dot com,
                   |                            |nickc at redhat dot com

--- Comment #10 from Andreas Schwab <schwab@linux-m68k.org> 2012-10-06 11:51:44 UTC ---
mcore and microblaze are the only targets not yet covered.


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (9 preceding siblings ...)
  2012-10-06 11:52 ` schwab@linux-m68k.org
@ 2012-10-09  9:22 ` nickc at gcc dot gnu.org
  2012-11-25 15:58 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: nickc at gcc dot gnu.org @ 2012-10-09  9:22 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #11 from Nick Clifton <nickc at gcc dot gnu.org> 2012-10-09 09:22:00 UTC ---
Author: nickc
Date: Tue Oct  9 09:21:47 2012
New Revision: 192244

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192244
Log:
    PR rtl-optimization/54739
    * config/mcore/mcore.md: (anddi3, iordi3, xordi3): Delete
    patterns.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mcore/mcore.md


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (10 preceding siblings ...)
  2012-10-09  9:22 ` nickc at gcc dot gnu.org
@ 2012-11-25 15:58 ` rguenth at gcc dot gnu.org
  2012-12-05 17:27 ` eager at gcc dot gnu.org
  2012-12-05 18:48 ` steven at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-11-25 15:58 UTC (permalink / raw)
  To: gcc-bugs


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

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

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


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (11 preceding siblings ...)
  2012-11-25 15:58 ` rguenth at gcc dot gnu.org
@ 2012-12-05 17:27 ` eager at gcc dot gnu.org
  2012-12-05 18:48 ` steven at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: eager at gcc dot gnu.org @ 2012-12-05 17:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #12 from eager at gcc dot gnu.org 2012-12-05 17:27:10 UTC ---
Author: eager
Date: Wed Dec  5 17:27:05 2012
New Revision: 194226

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194226
Log:
PR rtl-optimization/54739
    * config/microblaze/microblaze.md: (anddi3, iordi3, xordi3): Delete
patterns.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/microblaze/microblaze.md


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

* [Bug rtl-optimization/54739] [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
  2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
                   ` (12 preceding siblings ...)
  2012-12-05 17:27 ` eager at gcc dot gnu.org
@ 2012-12-05 18:48 ` steven at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu.org @ 2012-12-05 18:48 UTC (permalink / raw)
  To: gcc-bugs


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

Steven Bosscher <steven at gcc dot gnu.org> changed:

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

--- Comment #13 from Steven Bosscher <steven at gcc dot gnu.org> 2012-12-05 18:48:19 UTC ---
per comments #10 - #12


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

end of thread, other threads:[~2012-12-05 18:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 23:37 [Bug rtl-optimization/54739] New: [4.8 regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" schwab@linux-m68k.org
2012-09-29 22:27 ` [Bug rtl-optimization/54739] " danglin at gcc dot gnu.org
2012-09-30  9:52 ` ebotcazou at gcc dot gnu.org
2012-10-01 12:17 ` uweigand at gcc dot gnu.org
2012-10-01 23:51 ` dave.anglin at bell dot net
2012-10-04  7:58 ` ebotcazou at gcc dot gnu.org
2012-10-04  8:16 ` ebotcazou at gcc dot gnu.org
2012-10-06  0:34 ` danglin at gcc dot gnu.org
2012-10-06  0:46 ` danglin at gcc dot gnu.org
2012-10-06 11:42 ` schwab at gcc dot gnu.org
2012-10-06 11:52 ` schwab@linux-m68k.org
2012-10-09  9:22 ` nickc at gcc dot gnu.org
2012-11-25 15:58 ` rguenth at gcc dot gnu.org
2012-12-05 17:27 ` eager at gcc dot gnu.org
2012-12-05 18:48 ` steven 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).