--- Comment #5 from vmakarov at gcc dot gnu dot org 2010-05-18 22:09
---
Subject: Bug 43332
Author: vmakarov
Date: Tue May 18 22:09:19 2010
New Revision: 159545
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159545
Log:
2010-05-18 Vladimir Makarov vmaka...@redhat.com
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-18 22:09 ---
Reduced testcase:
type t
real :: a(3)
end type t
contains
function func(x)
type(t), target :: x(:)
real, dimension(:), pointer :: func
func = x%a(1)
end function func
end
--
dfranke at
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
--- Comment #3 from dfranke at gcc dot gnu dot org 2010-05-18 22:22 ---
Roughly the same testcase, same backtrace.
*** This bug has been marked as a duplicate of 34640 ***
--
dfranke at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #14 from dfranke at gcc dot gnu dot org 2010-05-18 22:22
---
*** Bug 42851 has been marked as a duplicate of this bug. ***
--
dfranke at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from zsojka at seznam dot cz 2010-05-18 22:22 ---
Thank you for fixing this. I hope to rebuild gcc with valgrind checking in few
days again.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43332
--- Comment #11 from dfranke at gcc dot gnu dot org 2010-05-18 22:26
---
As commented multiple times in PR34640, given the similarity of the testcase,
the identical backtrace and the same assignee ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38471
--- Comment #12 from dfranke at gcc dot gnu dot org 2010-05-18 22:28
---
(In reply to comment #11)
As commented multiple times in PR34640, given the similarity of the testcase,
the identical backtrace and the same assignee ...
*** This bug has been marked as a duplicate of 34640
--- Comment #15 from dfranke at gcc dot gnu dot org 2010-05-18 22:28
---
*** Bug 38471 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34640
--- Comment #16 from dfranke at gcc dot gnu dot org 2010-05-18 22:30
---
The dupes PR38471 and PR42851 have more testcases, the former an equally
lengthy discussion as this PR.
--
dfranke at gcc dot gnu dot org changed:
What|Removed |Added
Hey,
while working on a low-prio PR24024, I recognized that the -E output of
gcc-4.5.0 is somehow broken for certain constructs, for example:
test.c
int main ()
{
int ret, a;
ret = a + \
b;
}
END test.c
(gcc-4.5.0) # gcc -E test.c
# 1 test.c
# 1 built-in
# 1
--- Comment #18 from dfranke at gcc dot gnu dot org 2010-05-18 22:36
---
(In reply to comment #17)
Fixed on the trunk (4.6). Planned to be committed also to GCC 4.5.1.
Patch was applied to trunk about 6 weeks ago - how are the backporting plans?
--
--- Comment #7 from dfranke at gcc dot gnu dot org 2010-05-18 22:38 ---
Paul, is there anything left to do here or can this PR be closed?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43266
--- Comment #17 from dannysmith at users dot sourceforge dot net
2010-05-18 22:43 ---
(In reply to comment #14)
Index: gcc/gcc/varasm.c
===
--- gcc.orig/gcc/varasm.c 2010-05-18 13:19:20.0 +0200
+++
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-18 22:44 ---
(In reply to comment #2)
OK for trunk with the usual embellishments of ChangeLogs and testcase?
Yes, if you have an example for EXPR_FUNCTION - otherwise I would claim that
EXPR_VARIABLE is enough.
Paul, any
--- Comment #1 from jakub at gcc dot gnu dot org 2010-05-18 22:44 ---
That's just incorrect assumption.
The reason why the first alternative is now preferred is to provide proper
locus for the b token.
--
jakub at gcc dot gnu dot org changed:
What|Removed
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-05-18 22:46 ---
Well I don't think we should cause an infinite loop on any input. Note Comeau
C++ also causes an infinite loop.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from paolo dot carlini at oracle dot com 2010-05-18 23:36
---
I'm going to apply the patch: could you please provide name and family name for
the ChangeLog entry? Thanks!
--
paolo dot carlini at oracle dot com changed:
What|Removed
--- Comment #3 from gcc-bugzilla at contacts dot eelis dot net 2010-05-18
23:38 ---
(In reply to comment #2)
I'm going to apply the patch
Great, thanks! :)
could you please provide name and family name for
the ChangeLog entry?
It's Eelis van der Weegen
--
--- Comment #4 from paolo at gcc dot gnu dot org 2010-05-18 23:59 ---
Subject: Bug 44190
Author: paolo
Date: Tue May 18 23:58:50 2010
New Revision: 159549
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159549
Log:
2010-05-18 Eelis van der Weegen gcc-bugzi...@contacts.eelis.net
--- Comment #5 from paolo dot carlini at oracle dot com 2010-05-19 00:00
---
Fixed.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
On Linux, revision gave 159549:
../../src-trunk/gcc/fortran/trans-expr.c: In function
'gfc_conv_procedure_call':
../../src-trunk/gcc/fortran/trans-expr.c:3344:3: error: implicit declaration of
function 'build_call_list' [-Werror=implicit-function-declaration]
Starting with version 4.0 G++ fails to accept this testcase:
bool f(int i) { return i != 5; }
template class X, class P = bool(X)
struct Traits
{
typedef P type;
};
template class X, class P = typename TraitsX::type
struct S
{
const P p_;
S( const P p ) : p_(p) {} // const reference
};
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last
--- Comment #9 from pault at gcc dot gnu dot org 2010-05-19 04:28 ---
Fixed. Thanks, Joost!
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from pault at gcc dot gnu dot org 2010-05-19 04:32 ---
Fixed. Thanks, Tobias.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
Test case:
--
#include stdint.h
struct twoints { uint64_t a, b; } foo();
void bar(uint64_t a, uint64_t b);
void func() {
struct twoints s = foo();
bar(s.a, s.b);
}
--
$ gcc -save-temps -Wall -c -o testbad.o -msse2 -O3 -fomit-frame-pointer
testbad.c
$ objdump -d -r -M intel testbad.o
--- Comment #1 from hjl dot tools at gmail dot com 2010-05-19 05:42 ---
Fixed as of revision 159555.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2010-05-19 05:47
---
I have a patch testing.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
101 - 129 of 129 matches
Mail list logo