public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate
@ 2010-10-31 19:08 zsojka at seznam dot cz
  2010-10-31 23:02 ` [Bug debug/46255] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-31 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] -fcompare-debug failure with
                    -fprofile-generate
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -O -fprofile-generate -fcompare-debug pr46254.c 
gcc: error: pr46254.c: -fcompare-debug failure

Tested revisions:
r166105 - fail
r165699 - fail
r163636 - OK
4.5 r165781 - OK


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

* [Bug debug/46255] [4.6 Regression] -fcompare-debug failure with -fprofile-generate
  2010-10-31 19:08 [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate zsojka at seznam dot cz
@ 2010-10-31 23:02 ` hjl.tools at gmail dot com
  2010-11-01 13:08 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-31 23:02 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.31 23:02:06
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-31 23:02:06 UTC ---
It is caused by revision 164986:

http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg00168.html


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

* [Bug debug/46255] [4.6 Regression] -fcompare-debug failure with -fprofile-generate
  2010-10-31 19:08 [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate zsojka at seznam dot cz
  2010-10-31 23:02 ` [Bug debug/46255] " hjl.tools at gmail dot com
@ 2010-11-01 13:08 ` jakub at gcc dot gnu.org
  2010-11-02 13:00 ` jakub at gcc dot gnu.org
  2010-11-02 15:22 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-01 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-01 13:07:52 UTC ---
Created attachment 22219
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22219
gcc46-pr46255.patch

Untested fix.


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

* [Bug debug/46255] [4.6 Regression] -fcompare-debug failure with -fprofile-generate
  2010-10-31 19:08 [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate zsojka at seznam dot cz
  2010-10-31 23:02 ` [Bug debug/46255] " hjl.tools at gmail dot com
  2010-11-01 13:08 ` jakub at gcc dot gnu.org
@ 2010-11-02 13:00 ` jakub at gcc dot gnu.org
  2010-11-02 15:22 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-02 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-02 13:00:43 UTC ---
Author: jakub
Date: Tue Nov  2 13:00:39 2010
New Revision: 166182

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166182
Log:
    PR debug/46255
    * tree-cfg.c (gimple_flow_call_edges_add): Use gsi_last_nondebug_bb
    instead of gsi_last_bb.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr46255.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c


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

* [Bug debug/46255] [4.6 Regression] -fcompare-debug failure with -fprofile-generate
  2010-10-31 19:08 [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-11-02 13:00 ` jakub at gcc dot gnu.org
@ 2010-11-02 15:22 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-02 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

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> 2010-11-02 15:22:26 UTC ---
Fixed.


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

end of thread, other threads:[~2010-11-02 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-31 19:08 [Bug debug/46255] New: [4.6 Regression] -fcompare-debug failure with -fprofile-generate zsojka at seznam dot cz
2010-10-31 23:02 ` [Bug debug/46255] " hjl.tools at gmail dot com
2010-11-01 13:08 ` jakub at gcc dot gnu.org
2010-11-02 13:00 ` jakub at gcc dot gnu.org
2010-11-02 15: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).