Bug 43800 - [4.6 regression] FAIL: libgomp.c++/for-4.C
Summary: [4.6 regression] FAIL: libgomp.c++/for-4.C
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.6.0
Assignee: Dodji Seketeli
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 14:50 UTC by H.J. Lu
Modified: 2010-04-20 22:01 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-04-19 20:26:50


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2010-04-19 14:50:46 UTC
On Linux/ia32, revision 158513 gave

FAIL: libgomp.c++/for-3.C  -O0  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O1  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O2  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O3 -fomit-frame-pointer -funroll-loops  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/for-3.C  -Os  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O0  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O1  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O2  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O3 -fomit-frame-pointer -funroll-loops  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/for-4.C  -Os  (test for excess errors)

Revision 158505 is OK. It may be cause by revision 158508:

http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00614.html
Comment 1 Dodji Seketeli 2010-04-19 20:57:47 UTC
I am testing a patch ...
Comment 2 Dodji Seketeli 2010-04-20 13:58:07 UTC
... patch posted to http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01241.html
Comment 3 Dodji Seketeli 2010-04-20 19:24:04 UTC
Subject: Bug 43800

Author: dodji
Date: Tue Apr 20 19:23:45 2010
New Revision: 158571

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158571
Log:
Fix PR c++/43800

gcc/cp/ChangeLog:
	PR c++/43800
	PR c++/43704
	* typeck.c (incompatible_dependent_types_p): If one of the
	compared types if not a typedef then honour their main variant
	equivalence.

gcc/testsuite/ChangeLog:
	PR c++/43800
	PR c++/43704
	* g++.dg/template/typedef32.C: Adjust.
	* g++.dg/template/typedef33.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/typedef33.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/typedef32.C

Comment 4 Dodji Seketeli 2010-04-20 19:40:56 UTC
Fixed in trunk (4.6)