public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
@ 2010-11-11  2:15 hjl.tools at gmail dot com
  2010-11-11  2:17 ` [Bug middle-end/46423] " hjl.tools at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-11  2:15 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: hubicka@gcc.gnu.org


On Linux/x86-64, revision 166555 gave:

FAIL: g++.dg/torture/pr34850.C  -O0  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O1  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O3 -fomit-frame-pointer  (test for excess
error
s)
FAIL: g++.dg/torture/pr34850.C  -O3 -g  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -Os  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2 -flto  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2 -fwhopr  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O0  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O1  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O3 -fomit-frame-pointer  (test for excess
error
s)
FAIL: g++.dg/torture/pr34850.C  -O3 -g  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -Os  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2 -flto  (test for excess errors)
FAIL: g++.dg/torture/pr34850.C  -O2 -fwhopr  (test for excess errors)

Revision 166552 is OK.


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
@ 2010-11-11  2:17 ` hjl.tools at gmail dot com
  2010-11-11 10:36 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-11  2:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.11.11 02:17:01
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-11 02:17:01 UTC ---
Revision 166555:

http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00444.html

is the cause.


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
  2010-11-11  2:17 ` [Bug middle-end/46423] " hjl.tools at gmail dot com
@ 2010-11-11 10:36 ` rguenth at gcc dot gnu.org
  2010-11-11 14:13 ` hubicka at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-11 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
  2010-11-11  2:17 ` [Bug middle-end/46423] " hjl.tools at gmail dot com
  2010-11-11 10:36 ` rguenth at gcc dot gnu.org
@ 2010-11-11 14:13 ` hubicka at gcc dot gnu.org
  2010-11-11 14:22 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-11-11 14:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-11-11 14:12:57 UTC ---
Hmm,
the testcase seems to come and go depending on inline metrics.  It is testing
that all calls to the function marked as warning are optimized out, but I can
not make sense of it.

Richard, was purpose of this testcase to verify that it is indeed having
everything optimized out, or it is just about the infinite recursion problem?
In the second case we probably want to accept the warnings.


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-11-11 14:13 ` hubicka at gcc dot gnu.org
@ 2010-11-11 14:22 ` rguenth at gcc dot gnu.org
  2010-11-11 14:58 ` hubicka at ucw dot cz
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-11 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-11 14:22:23 UTC ---
The testcase is supposed to not ICE or hang, the diagnostics indeed come
and go, so it's fine to expect them again.  See svn log which tells you
that martin removed them last time ... (they are supposed to happen)

------------------------------------------------------------------------
r164135 | jamborm | 2010-09-10 01:28:27 +0200 (Fri, 10 Sep 2010) | 9 lines

2010-09-10  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimization/44972
        * ipa-prop.c (ipa_modify_call_arguments): Build MEM_REF instead of
        calling build_ref_for_offset.

        * testsuite/g++.dg/torture/pr34850.C: Remove expected warning.

so, just revert that last change.


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-11-11 14:22 ` rguenth at gcc dot gnu.org
@ 2010-11-11 14:58 ` hubicka at ucw dot cz
  2010-11-11 17:47 ` ubizjak at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hubicka at ucw dot cz @ 2010-11-11 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> 2010-11-11 14:57:57 UTC ---
> --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-11 14:22:23 UTC ---
> The testcase is supposed to not ICE or hang, the diagnostics indeed come
> and go, so it's fine to expect them again.  See svn log which tells you
> that martin removed them last time ... (they are supposed to happen)

Ok, the catch is that they seem to be target specific now.   Is there way to
say to ignore
warning if it appears?


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-11-11 14:58 ` hubicka at ucw dot cz
@ 2010-11-11 17:47 ` ubizjak at gmail dot com
  2010-11-11 18:43 ` rguenther at suse dot de
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2010-11-11 17:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-11 17:47:47 UTC ---
(In reply to comment #4)

> Ok, the catch is that they seem to be target specific now.   Is there way to
> say to ignore
> warning if it appears?

dg-prune-output perhaps?


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2010-11-11 17:47 ` ubizjak at gmail dot com
@ 2010-11-11 18:43 ` rguenther at suse dot de
  2010-11-11 18:43 ` rguenther at suse dot de
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenther at suse dot de @ 2010-11-11 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> 2010-11-11 18:42:53 UTC ---
On Thu, 11 Nov 2010, ubizjak at gmail dot com wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46423
> 
> --- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-11 17:47:47 UTC ---
> (In reply to comment #4)
> 
> > Ok, the catch is that they seem to be target specific now.   Is there way to
> > say to ignore
> > warning if it appears?
> 
> dg-prune-output perhaps?

dg-options "-w"


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2010-11-11 18:43 ` rguenther at suse dot de
@ 2010-11-11 18:43 ` rguenther at suse dot de
  2010-11-11 19:56 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenther at suse dot de @ 2010-11-11 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> 2010-11-11 18:43:39 UTC ---
On Thu, 11 Nov 2010, Richard Guenther wrote:

> On Thu, 11 Nov 2010, ubizjak at gmail dot com wrote:
> 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46423
> > 
> > --- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-11 17:47:47 UTC ---
> > (In reply to comment #4)
> > 
> > > Ok, the catch is that they seem to be target specific now.   Is there way to
> > > say to ignore
> > > warning if it appears?
> > 
> > dg-prune-output perhaps?
> 
> dg-options "-w"

err, no - the testcase is supposed to test against a compiler hang
with emitting the warning


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2010-11-11 18:43 ` rguenther at suse dot de
@ 2010-11-11 19:56 ` jakub at gcc dot gnu.org
  2010-11-15 12:48 ` rguenth at gcc dot gnu.org
  2010-11-15 13:11 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-11 19:56 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-11 19:56:17 UTC ---
Perhaps always_inline instead to make sure we inline whatever is necessary to
actually warn?


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2010-11-11 19:56 ` jakub at gcc dot gnu.org
@ 2010-11-15 12:48 ` rguenth at gcc dot gnu.org
  2010-11-15 13:11 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 12:39:17 UTC ---
Fixed.


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

* [Bug middle-end/46423] [4.6 Regression] FAIL: g++.dg/torture/pr34850.C
  2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
                   ` (9 preceding siblings ...)
  2010-11-15 12:48 ` rguenth at gcc dot gnu.org
@ 2010-11-15 13:11 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 13:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 12:39:04 UTC ---
Author: rguenth
Date: Mon Nov 15 12:38:59 2010
New Revision: 166752

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166752
Log:
2010-11-15  Richard Guenther  <rguenther@suse.de>

    PR testsuite/46423
    * g++.dg/torture/pr34850.C: Adjust.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/pr34850.C


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11  2:15 [Bug middle-end/46423] New: [4.6 Regression] FAIL: g++.dg/torture/pr34850.C hjl.tools at gmail dot com
2010-11-11  2:17 ` [Bug middle-end/46423] " hjl.tools at gmail dot com
2010-11-11 10:36 ` rguenth at gcc dot gnu.org
2010-11-11 14:13 ` hubicka at gcc dot gnu.org
2010-11-11 14:22 ` rguenth at gcc dot gnu.org
2010-11-11 14:58 ` hubicka at ucw dot cz
2010-11-11 17:47 ` ubizjak at gmail dot com
2010-11-11 18:43 ` rguenther at suse dot de
2010-11-11 18:43 ` rguenther at suse dot de
2010-11-11 19:56 ` jakub at gcc dot gnu.org
2010-11-15 12:48 ` rguenth at gcc dot gnu.org
2010-11-15 13:11 ` rguenth 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).