public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset()
@ 2011-11-21 22:13 zsojka at seznam dot cz
  2011-11-22  7:11 ` [Bug middle-end/51261] " zsojka at seznam dot cz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-11-21 22:13 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51261
           Summary: [4.7 Regression] -fcompare-debug with memset()
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: aoliva@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 25874
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25874
reduced testcase

There have been many -fcompare-debug failures in the last testsuite run.

Compiler output:
$ gcc -fcompare-debug testcase.C 
gcc: error: testcase.C: -fcompare-debug failure

Tested revisions:
r181550 - fail
r181508 - fail
r181442 - OK


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

* [Bug middle-end/51261] [4.7 Regression] -fcompare-debug with memset()
  2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
@ 2011-11-22  7:11 ` zsojka at seznam dot cz
  2011-11-22 15:26 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-11-22  7:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-11-22 05:30:59 UTC ---
Happens in r181597 as well.

$ diff testcase.*gkd
52c52
<             (const_int 32675 [0x7fa3]))) testcase.C:3# {*cmpdi_1}
---
>             (const_int 32551 [0x7f27]))) testcase.C:3# {*cmpdi_1}


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

* [Bug middle-end/51261] [4.7 Regression] -fcompare-debug with memset()
  2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
  2011-11-22  7:11 ` [Bug middle-end/51261] " zsojka at seznam dot cz
@ 2011-11-22 15:26 ` jakub at gcc dot gnu.org
  2011-11-23 13:00 ` [Bug target/51261] " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-22 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-11-22
                 CC|                            |jakub at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug target/51261] [4.7 Regression] -fcompare-debug with memset()
  2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
  2011-11-22  7:11 ` [Bug middle-end/51261] " zsojka at seznam dot cz
  2011-11-22 15:26 ` jakub at gcc dot gnu.org
@ 2011-11-23 13:00 ` jakub at gcc dot gnu.org
  2011-11-23 21:13 ` jakub at gcc dot gnu.org
  2011-11-24  0:22 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-23 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-23 12:14:49 UTC ---
Created attachment 25900
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25900
gcc47-pr51261.patch

Untested fix.


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

* [Bug target/51261] [4.7 Regression] -fcompare-debug with memset()
  2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2011-11-23 13:00 ` [Bug target/51261] " jakub at gcc dot gnu.org
@ 2011-11-23 21:13 ` jakub at gcc dot gnu.org
  2011-11-24  0:22 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-23 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-23 20:29:11 UTC ---
Author: jakub
Date: Wed Nov 23 20:29:08 2011
New Revision: 181676

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181676
Log:
    PR target/51261
    * config/i386/i386.c (decide_alg): Initialize *dynamic_check
    even if !optimize.

    * gcc.dg/pr51261.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr51261.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/51261] [4.7 Regression] -fcompare-debug with memset()
  2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2011-11-23 21:13 ` jakub at gcc dot gnu.org
@ 2011-11-24  0:22 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-24  0:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-23 22:52:26 UTC ---
Fixed.


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

end of thread, other threads:[~2011-11-23 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21 22:13 [Bug middle-end/51261] New: [4.7 Regression] -fcompare-debug with memset() zsojka at seznam dot cz
2011-11-22  7:11 ` [Bug middle-end/51261] " zsojka at seznam dot cz
2011-11-22 15:26 ` jakub at gcc dot gnu.org
2011-11-23 13:00 ` [Bug target/51261] " jakub at gcc dot gnu.org
2011-11-23 21:13 ` jakub at gcc dot gnu.org
2011-11-24  0:22 ` 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).