--- Comment #6 from ubizjak at gmail dot com 2009-04-26 07:20 ---
Confirmed on x86_64-linux, reduced testcase:
--cut here--
struct S2456
{
double a;
struct {} b[];
};
struct S2456 s2456;
extern void check2456va (struct S2456);
void test2456 (void)
{
check2456va (s2456);
}
struct Base
{
template class T
struct Kind
{
typedef T type;
};
};
struct Derived : public Base { };
template
struct Derived::Kindchar // Should fail to compile here
{
typedef int type;
};
int main(void) { }
I believe the above code should be rejected but gcc
--- Comment #5 from eres at il dot ibm dot com 2009-04-26 07:29 ---
(In reply to comment #2)
Mine. The patches which I have from the PS3 toolchain fixes this one, it is
related to PR 32110 also.
I see this problem still exits on trunk -r146794.
If you still have the patch I will be
--- Comment #2 from rwild at gcc dot gnu dot org 2009-04-26 08:19 ---
Subject: Bug 39710
Author: rwild
Date: Sun Apr 26 08:18:48 2009
New Revision: 146795
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146795
Log:
gcc/
PR testsuite/39710
* opts.c
--- Comment #3 from rwild at gcc dot gnu dot org 2009-04-26 08:20 ---
Fixed.
--
rwild at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
http://fxtradefund.com/
http://www.etoro-investor.com/
http://fxtradefund.com/
http://www.etoro-investor.com/
http://fxtradefund.com/
http://www.etoro-investor.com/
http://fxtradefund.com/
http://www.etoro-investor.com/
http://fxtradefund.com/
http://www.etoro-investor.com/
http://fxtradefund.com/
http://www.etoro-investor.com/
Building Wine started to fail on i386-unknown-freebsd7.1 with the
following failure mode:
...gcc -c -I. -I. -I../../include -I../../include
-D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith
--- Comment #2 from laci at monda dot hu 2009-04-26 15:15 ---
Same bug for me. I've compiled gcc using
../configure --target=avr --program-prefix=avr- --enable-languages=c
/home/laci/download/gcc-4.4.0/avr-gcc/./gcc/xgcc
-B/home/laci/download/gcc-4.4.0/avr-gcc/./gcc/
--- Comment #3 from hjl dot tools at gmail dot com 2009-04-26 15:37 ---
*** This bug has been marked as a duplicate of 39897 ***
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #4 from gerald at pfeifer dot com 2009-04-26 15:39 ---
Created an attachment (id=17700)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17700action=view)
Second preprocessed source file (created using -save-temps)
And I'm seeing similiar errors for a different file, this
--- Comment #5 from gerald at pfeifer dot com 2009-04-26 15:40 ---
Created an attachment (id=17701)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17701action=view)
Second assembly file (created using -save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39910
[...@gnu-34 gcc]$ cat /tmp/x.c
void bar1()
{
char foo;
asm volatile (mov%z0 %1, %0: +m (foo): ir (23));
}
void bar2()
{
short foo;
asm volatile (mov%z0 %1, %0: +m (foo): ir (23));
}
void bar3()
{
int foo;
asm volatile (mov%z0 %1, %0: +m (foo): ir (23));
}
void bar4()
{
long
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-04-26 16:36 ---
comment #5 doesn't work anymore because CCP no longer tracks stores.
What we would need is predication in value-numbering.
--
rguenth at gcc dot gnu dot org changed:
What|Removed
--- Comment #6 from dominiq at lps dot ens dot fr 2009-04-26 16:43 ---
I get an error at compile time with gfortran 4.2.3, 4.3.3, 4.4.0, and trunk
(intel-darwin9). Is this PR valid?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36754
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:49 ---
SCEV const-prop produces for m
D.2395_7 = n.11_27 + -2147483648;
m_19 = D.2395_7 * 2;
which has undefined signed overflow which triggers VRP to deduce wrong
value ranges.
Analyzing # of iterations of loop 1
--- Comment #8 from pault at gcc dot gnu dot org 2009-04-26 16:49 ---
I have an obvious (ie. after three hours staring at it:-( ) fix that is
regtesting. I'd better take the PR!
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:52 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from burnus at gcc dot gnu dot org 2009-04-26 16:54 ---
I get an error at compile time with gfortran 4.2.3, 4.3.3, 4.4.0, and trunk
(intel-darwin9). Is this PR valid?
Good question - I get now the same error for comment 0, which makes the report
INVALIDalready
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:54 ---
*** Bug 39908 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39907
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:54 ---
*** This bug has been marked as a duplicate of 39907 ***
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from jsm28 at gcc dot gnu dot org 2009-04-26 17:00 ---
Subject: Bug 39581
Author: jsm28
Date: Sun Apr 26 17:00:04 2009
New Revision: 146806
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146806
Log:
PR c/39581
* c-decl.c (global_bindings_p): Return
--- Comment #2 from jsm28 at gcc dot gnu dot org 2009-04-26 17:01 ---
Fixed for 4.5.
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-04-26 17:05 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-04-26 17:06 ---
Fix-ed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from bangerth at gmail dot com 2009-04-26 17:10 ---
Jakub,
does your patch also fix PR 39875?
Thanks
W.
--
bangerth at gmail dot com changed:
What|Removed |Added
--- Comment #1 from bangerth at gmail dot com 2009-04-26 17:10 ---
May be related to PR 39889.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39875
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-26 17:34 ---
void foo(int *);
void f2(int dst[3], int R)
{
int i, inter[2];
for (i = 1; i R; i++) {
inter[0] = 1;
inter[1] = 1;
}
foo(inter);
}
Warns at -Os or also at -O2 if you disable loop header copying. So
The FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o-c_compat_y_tst.o
execute test fails on powerpc-apple-darwin9 at -m64. The offending section of
the test is the single line...
T(94,struct atal16{}a;,)
in t001_test.h. With that line deleted, the remainder of the test case passes
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:38 ---
Created an attachment (id=17702)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17702action=view)
preprocessed source for t001_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #4 from vmakarov at redhat dot com 2009-04-26 17:38 ---
The first test case is just an example that RA is a heuristic
solution. Even heuristic algorithm which works worse in average
sometimes can generate a better solution than ones working better in
average.
Here is IRA
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:38 ---
Created an attachment (id=17703)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17703action=view)
preprocessed source for t001_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #8 from dominiq at lps dot ens dot fr 2009-04-26 17:38 ---
I don't get an error for comment 4. I think it is in principle detectable, but
difficult - WONTFIX?
Confirmed. It may already be in one (or several) opened PR in the [meta]
PR27766. I have started to look at it,
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:39 ---
Created an attachment (id=17704)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17704action=view)
preprocessed source for t001_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:39 ---
Created an attachment (id=17705)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17705action=view)
assembly file for t001_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:40 ---
Created an attachment (id=17706)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17706action=view)
assembly file for t001_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-04-26
17:40 ---
Created an attachment (id=17708)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17708action=view)
assembly file for t001_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39912
--- Comment #2 from jwakely dot gcc at gmail dot com 2009-04-26 17:40
---
Created an attachment (id=17707)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17707action=view)
fix call_once without breaking ABI
Fix call_once to not use the global lock object, but retain the global for
--- Comment #9 from dominiq at lps dot ens dot fr 2009-04-26 17:47 ---
I don't get an error for comment 4.
This may be a duplicate of PR36683(?).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36754
--- Comment #3 from paolo dot carlini at oracle dot com 2009-04-26 17:53
---
Thanks Jon, for following up about this. Let's try to close the issue during
the next days...
About 3.4.12, it's just matter of manually editing gnu.ver, adding the block +
manually adding GLIBCXX_3.4.12 to
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
--- Comment #4 from jwakely dot gcc at gmail dot com 2009-04-26 18:06
---
Created an attachment (id=17709)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17709action=view)
use GLIBCXX_3.4.12 version for new symbols
same patch again, with the new symbols using a new version and
--- Comment #2 from sutambe at yahoo dot com 2009-04-26 18:19 ---
Another similar access control related issue is bug #33934
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33934)
--
sutambe at yahoo dot com changed:
What|Removed |Added
The tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o-c_compat_y_tst.o
execute test case fails on powerpc-apple-darwin9 when compiled at -m64. The
offending lines in t003_test.h causing this failure are...
T(693,double atal2 a;Tal16long b;short int
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:20 ---
Created an attachment (id=17710)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17710action=view)
preprocessed source for t003_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:21 ---
Created an attachment (id=17711)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17711action=view)
preprocessed source for t003_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:21 ---
Created an attachment (id=17712)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17712action=view)
preprocessed source for t003_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:22 ---
Created an attachment (id=17713)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17713action=view)
assembly file for t003_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:22 ---
Created an attachment (id=17714)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17714action=view)
assembly file for t003_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
--- Comment #9 from ubizjak at gmail dot com 2009-04-26 18:22 ---
(In reply to comment #6)
2009-03-29 H.J. Lu hongjiu...@intel.com
PR target/39545
* config/i386/i386.c (classify_argument): Ignore flexible array
member in struct and warn ABI change.
This
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:23 ---
Created an attachment (id=17715)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17715action=view)
assembly file for t003_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39913
With this compiler:
gcc version 4.4.0 20090312 (experimental) [trunk revision 144801] (GCC)
running the test in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33928
(same .i file, same instructions for reproducing, same compiler options, same
everything)
gives a time of
132 ms cpu time
--- Comment #52 from lucier at math dot purdue dot edu 2009-04-26 18:27
---
I narrowed down the new performance regression to code added some time around
March 12, 2009, so I changed back the subject line of this PR to reflect the
performance regression caused only by the code added
--- Comment #5 from rakdver at gcc dot gnu dot org 2009-04-26 18:37 ---
(In reply to comment #4)
void foo(int *);
void f2(int dst[3], int R)
{
int i, inter[2];
for (i = 1; i R; i++) {
inter[0] = 1;
inter[1] = 1;
}
foo(inter);
}
Warns at -Os or also at -O2 if
--- Comment #1 from hjl dot tools at gmail dot com 2009-04-26 18:42 ---
Created an attachment (id=17716)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17716action=view)
A patch
Since %z' never really worked on integer instructions, this
patch makes %Z for integer instructions only
--- Comment #1 from ubizjak at gmail dot com 2009-04-26 18:43 ---
There are a couple of possible candidates in this range:
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144812
Log:
2009-03-12 Vladimir Makarov vmaka...@redhat.com
PR debug/39432
* ira-int.h
The tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o-c_compat_y_tst.o
execute testcase fails at -m64 on powerpc-apple-darwin9. The offending line in
t005_test.h is...
T(998,df a;Talllong b:BQN(20);long long int c:BQN(1);TE4 d:19;long int
--- Comment #6 from rguenther at suse dot de 2009-04-26 18:44 ---
Subject: Re: [4.3/4.4/4.5 Regression] LIM
inserts loads from uninitialized local memory
On Sun, 26 Apr 2009, rakdver at gcc dot gnu dot org wrote:
--- Comment #5 from rakdver at gcc dot gnu dot org 2009-04-26
--- Comment #2 from hjl dot tools at gmail dot com 2009-04-26 18:45 ---
Created an attachment (id=17717)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17717action=view)
A patch
The updated patch.
--
hjl dot tools at gmail dot com changed:
What|Removed
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:45 ---
Created an attachment (id=17718)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17718action=view)
preprocessed source for t005_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:45 ---
Created an attachment (id=17719)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17719action=view)
preprocessed source for t005_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:46 ---
Created an attachment (id=17720)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17720action=view)
preprocessed source for t005_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:46 ---
Created an attachment (id=17721)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17721action=view)
assembly file for t005_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:47 ---
Created an attachment (id=17722)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17722action=view)
assembly file for t005_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-04-26
18:47 ---
Created an attachment (id=17723)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17723action=view)
assembly file for t005_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39915
--- Comment #2 from jakub at gcc dot gnu dot org 2009-04-26 18:51 ---
Subject: Bug 39889
Author: jakub
Date: Sun Apr 26 18:51:07 2009
New Revision: 146811
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146811
Log:
PR c/39889
* stmt.c (warn_if_unused_value): Look
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-26 18:53 ---
Subject: Bug 39889
Author: jakub
Date: Sun Apr 26 18:53:41 2009
New Revision: 146812
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146812
Log:
PR c/39889
* stmt.c (warn_if_unused_value): Look
--- Comment #3 from ubizjak at gmail dot com 2009-04-26 18:55 ---
(In reply to comment #1)
Created an attachment (id=17716)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17716action=view) [edit]
A patch
Since %z' never really worked on integer instructions, this
patch makes
--- Comment #14 from jakub at gcc dot gnu dot org 2009-04-26 18:56 ---
Subject: Bug 39543
Author: jakub
Date: Sun Apr 26 18:56:14 2009
New Revision: 146813
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146813
Log:
PR inline-asm/39543
* fwprop.c
--- Comment #15 from jakub at gcc dot gnu dot org 2009-04-26 18:58 ---
Subject: Bug 39543
Author: jakub
Date: Sun Apr 26 18:58:04 2009
New Revision: 146814
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146814
Log:
PR inline-asm/39543
* fwprop.c
--- Comment #4 from hjl dot tools at gmail dot com 2009-04-26 19:03 ---
(In reply to comment #3)
(In reply to comment #1)
Created an attachment (id=17716)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17716action=view) [edit]
A patch
Since %z' never really worked on
The tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o-c_compat_y_tst.o
execute testcase fails at -m64 on powerpc-apple-darwin9. The offending line in
t006_test.h causing this failure is...
T(1082,struct{char b;TE0 c[7];char * d[20];long double e atal16;long long int
f;}a[0];,)
With that line
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:04 ---
Created an attachment (id=17724)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17724action=view)
preprocessed source for t006_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:05 ---
Created an attachment (id=17725)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17725action=view)
preprocessed source for t006_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:05 ---
Created an attachment (id=17726)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17726action=view)
preprocessed source for t006_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:06 ---
Created an attachment (id=17727)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17727action=view)
assembly file for t006_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:07 ---
Created an attachment (id=17728)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17728action=view)
assembly file for t006_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:07 ---
Created an attachment (id=17729)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17729action=view)
assembly file for t006_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39916
--- Comment #4 from jakub at gcc dot gnu dot org 2009-04-26 19:08 ---
This is unrelated to PR39875, which looks like purely C++ FE issue.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #16 from jakub at gcc dot gnu dot org 2009-04-26 19:09 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #5 from jakub at gcc dot gnu dot org 2009-04-26 19:15 ---
I agree with H.J. on this, IMHO %zN should stay as it used to always work and
users that want to use something on integer instructions should use the new
%ZN.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39911
--- Comment #9 from pault at gcc dot gnu dot org 2009-04-26 19:22 ---
(In reply to comment #8)
I have an obvious (ie. after three hours staring at it:-( ) fix that is
Index: gcc/fortran/resolve.c
===
---
--- Comment #2 from jakub at gcc dot gnu dot org 2009-04-26 19:23 ---
No need for templates:
void foo ()
{
int *i;
(void) *i; // { dg-bogus value computed is not used }
}
This was caused by
http://gcc.gnu.org/viewcvs?root=gccview=revrev=146132
(PR39551). convert_to_void doesn't
--- Comment #6 from kargl at gcc dot gnu dot org 2009-04-26 19:28 ---
Subject: Bug 39893
Author: kargl
Date: Sun Apr 26 19:27:50 2009
New Revision: 146816
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146816
Log:
2009-04-26 Steven G. Kargl ka...@gcc.gnu.org
PR
--- Comment #7 from kargl at gcc dot gnu dot org 2009-04-26 19:30 ---
Fixed on trunk.
I'll backport to 4.4. branch in a week.
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
The tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o
execute testcase fails at -m64 on powerpc-apple-darwin9. The offending section
of the testcase is the single line...
T(1234,double a;signed char atal16 b;union{unsigned int d;struct{}e;}c;short
int f;unsigned char
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:35 ---
Created an attachment (id=17730)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17730action=view)
preprocessed source for t008_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:35 ---
Created an attachment (id=17731)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17731action=view)
preprocessed source for t008_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-26 19:36 ---
Created an attachment (id=17732)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17732action=view)
gcc45-pr39875.patch
Actually, convert_to_void knows that, see the implicit argument.
--
jakub at gcc dot gnu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:36 ---
Created an attachment (id=17733)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17733action=view)
preprocessed source for t008_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:36 ---
Created an attachment (id=17734)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17734action=view)
assembly file for t008_x.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:37 ---
Created an attachment (id=17735)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17735action=view)
assembly file for t008_y.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-04-26
19:37 ---
Created an attachment (id=17736)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17736action=view)
assembly file for t008_main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
--- Comment #2 from dominiq at lps dot ens dot fr 2009-04-26 19:52 ---
This is probably a duplicate of PR35732.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39872
The tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o
execute test case fails at -m64 on powerpc-apple-darwin9. The offending section
of the test case is the line...
T(1604,char a;TE7 b;enum E6 c;unsigned int d;long int e;char f[6];float g;short
int atal16 h;int *
--- Comment #2 from dominiq at lps dot ens dot fr 2009-04-26 19:53 ---
PR39872 is probably a duplicate of this PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35732
1 - 100 of 158 matches
Mail list logo