public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
@ 2010-12-02 21:22 zsojka at seznam dot cz
2010-12-02 22:59 ` [Bug debug/46771] " hjl.tools at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-02 21:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771
Summary: [4.6 Regression] -fcompare-debug failure (length) with
-O -ftree-vectorize
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
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 22607
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22607
reduced testcase
Output:
$ gcc -O -ftree-vectorize -fcompare-debug pr46771.c
gcc: error: pr46771.c: -fcompare-debug failure (length)
$ diff pr46771.*gkd
11c11
...(long output)
There's a difference in generated code with(out) -g.
Tested revisions:
r167383 - fail
r165699 - fail
r161659 - OK
4.5 r166509 - OK
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/46771] [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
2010-12-02 21:22 [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
@ 2010-12-02 22:59 ` hjl.tools at gmail dot com
2010-12-06 8:06 ` 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-12-02 22:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.12.02 22:59:29
CC| |jakub at redhat dot com
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-02 22:59:29 UTC ---
It is caused by revision 165452:
http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg00636.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/46771] [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
2010-12-02 21:22 [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
2010-12-02 22:59 ` [Bug debug/46771] " hjl.tools at gmail dot com
@ 2010-12-06 8:06 ` jakub at gcc dot gnu.org
2010-12-06 19:30 ` jakub at gcc dot gnu.org
2010-12-06 19:39 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-06 8:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771
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-12-06 08:05:43 UTC ---
Created attachment 22648
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22648
gcc46-pr46771.patch
Untested fix.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/46771] [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
2010-12-02 21:22 [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
2010-12-02 22:59 ` [Bug debug/46771] " hjl.tools at gmail dot com
2010-12-06 8:06 ` jakub at gcc dot gnu.org
@ 2010-12-06 19:30 ` jakub at gcc dot gnu.org
2010-12-06 19:39 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-06 19:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-06 19:29:41 UTC ---
Author: jakub
Date: Mon Dec 6 19:29:38 2010
New Revision: 167514
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167514
Log:
PR debug/46771
* reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode
on DEBUG_INSNs.
* gcc.dg/pr46771.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr46771.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reginfo.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/46771] [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize
2010-12-02 21:22 [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-12-06 19:30 ` jakub at gcc dot gnu.org
@ 2010-12-06 19:39 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-06 19:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771
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-12-06 19:39:30 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-06 19:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-02 21:22 [Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize zsojka at seznam dot cz
2010-12-02 22:59 ` [Bug debug/46771] " hjl.tools at gmail dot com
2010-12-06 8:06 ` jakub at gcc dot gnu.org
2010-12-06 19:30 ` jakub at gcc dot gnu.org
2010-12-06 19:39 ` 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).