public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
@ 2011-06-21 20:04 zsojka at seznam dot cz
  2011-06-22  9:17 ` [Bug tree-optimization/49496] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-06-21 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] -fcompare-debug failure (length) with
                    -O -ftree-vectorize
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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 24577
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24577
reduced testcase

This still happens after fixing PR49352

Compiler output:
$ gcc -O -ftree-vectorize -fcompare-debug testcase.c
gcc: error: testcase.c: -fcompare-debug failure (length)

Generated code differs a lot with/without -g.

Tested revisions:
r175265 - fail
4.6 r175269 - OK


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

* [Bug tree-optimization/49496] [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
  2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
@ 2011-06-22  9:17 ` rguenth at gcc dot gnu.org
  2011-06-22  9:25 ` [Bug debug/49496] " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-22  9:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug debug/49496] [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
  2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
  2011-06-22  9:17 ` [Bug tree-optimization/49496] " rguenth at gcc dot gnu.org
@ 2011-06-22  9:25 ` jakub at gcc dot gnu.org
  2011-06-22  9:32 ` 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-06-22  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.06.22 09:24:57
                 CC|                            |jakub at gcc dot gnu.org
          Component|tree-optimization           |debug
         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 debug/49496] [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
  2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
  2011-06-22  9:17 ` [Bug tree-optimization/49496] " rguenth at gcc dot gnu.org
  2011-06-22  9:25 ` [Bug debug/49496] " jakub at gcc dot gnu.org
@ 2011-06-22  9:32 ` jakub at gcc dot gnu.org
  2011-06-22 20:39 ` jakub at gcc dot gnu.org
  2011-07-04  8:20 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-22  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-22 09:32:08 UTC ---
Created attachment 24579
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24579
gcc47-pr49496.patch

Untested fix.


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

* [Bug debug/49496] [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
  2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2011-06-22  9:32 ` jakub at gcc dot gnu.org
@ 2011-06-22 20:39 ` jakub at gcc dot gnu.org
  2011-07-04  8:20 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-22 20:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-22 20:37:58 UTC ---
Author: jakub
Date: Wed Jun 22 20:37:54 2011
New Revision: 175314

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175314
Log:
    PR debug/49496
    * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Ignore debug
    uses.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr49496.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-patterns.c


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

* [Bug debug/49496] [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
  2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2011-06-22 20:39 ` jakub at gcc dot gnu.org
@ 2011-07-04  8:20 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 08:20:22 UTC ---
Fixed.


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

end of thread, other threads:[~2011-07-04  8:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 20:04 [Bug tree-optimization/49496] New: [4.7 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
2011-06-22  9:17 ` [Bug tree-optimization/49496] " rguenth at gcc dot gnu.org
2011-06-22  9:25 ` [Bug debug/49496] " jakub at gcc dot gnu.org
2011-06-22  9:32 ` jakub at gcc dot gnu.org
2011-06-22 20:39 ` jakub at gcc dot gnu.org
2011-07-04  8:20 ` 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).