--- Comment #21 from pluto at agmk dot net 2009-02-27 10:29 ---
(In reply to comment #20)
Same issue. Only possible fix is to not apply TBAA pruning to escaped
symbols, which will - well - basically disable TBAA. Testcase:
waht about this testcase?
the bug is marked as fixed but
--- Comment #22 from rguenther at suse dot de 2009-02-27 10:33 ---
Subject: Re: [4.4 regression] warnings from -isystem
headers strikes back.
On Fri, 27 Feb 2009, pluto at agmk dot net wrote:
--- Comment #21 from pluto at agmk dot net 2009-02-27 10:29 ---
(In reply to
--- Comment #23 from pluto at agmk dot net 2009-02-27 11:04 ---
(In reply to comment #22)
The original reported problem is gone. The testcase below is unfixable.
so what users can do now?
the -isystem feature doesn't work as expected with this unfixable diagnostics.
--
--- Comment #24 from rguenth at gcc dot gnu dot org 2009-02-27 11:07
---
The user can use -Wno-strict-aliasing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #25 from pluto at agmk dot net 2009-02-27 11:22 ---
(In reply to comment #24)
The user can use -Wno-strict-aliasing.
naturally, but -O2 turns on -fstrict-aliasing, so using strict-aliasing
without warnings about aliasing violations is a bit horrible :)
--
--- Comment #26 from rguenther at suse dot de 2009-02-27 12:04 ---
Subject: Re: [4.4 regression] warnings from -isystem
headers strikes back.
On Fri, 27 Feb 2009, pluto at agmk dot net wrote:
--- Comment #25 from pluto at agmk dot net 2009-02-27 11:22 ---
(In reply to
--- Comment #19 from pluto at agmk dot net 2009-02-02 08:55 ---
(In reply to comment #16)
Subject: Bug 38503
Author: rguenth
Date: Tue Jan 27 10:42:59 2009
New Revision: 143700
this patch doesn't fix testcase that i found yesterday.
i found another testcase for
--- Comment #20 from rguenth at gcc dot gnu dot org 2009-02-02 10:23
---
Same issue. Only possible fix is to not apply TBAA pruning to escaped
symbols, which will - well - basically disable TBAA. Testcase:
inline void *operator new (__SIZE_TYPE__, void *__p) throw() { return __p; }
--- Comment #18 from hjl at gcc dot gnu dot org 2009-01-30 17:32 ---
Subject: Bug 38503
Author: hjl
Date: Fri Jan 30 17:31:24 2009
New Revision: 143798
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143798
Log:
2009-01-30 H.J. Lu hongjiu...@intel.com
2009-01-27
--- Comment #16 from rguenth at gcc dot gnu dot org 2009-01-27 10:43
---
Subject: Bug 38503
Author: rguenth
Date: Tue Jan 27 10:42:59 2009
New Revision: 143700
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143700
Log:
2009-01-27 Richard Guenther rguent...@suse.de
PR
--- Comment #17 from rguenth at gcc dot gnu dot org 2009-01-27 10:43
---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-01-24 15:56
---
Testcase:
inline void *operator new (__SIZE_TYPE__, void *__p) throw() { return __p; }
struct Y {
Y() {}
int i;
};
struct X {
X() {}
void construct(const Y y)
{
new (m_data[0]) Y(y);
}
bool
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-01-24 17:00
---
placement new handling is still completely broken. And of course unfixable
without severely pessimizing TBAA.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #15 from rguenth at gcc dot gnu dot org 2009-01-24 17:50
---
Mine.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||wrong-code
Priority|P2 |P1
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-23 16:52
---
this is placement-new related.
D.20941_8 = ox
ox = { } no-tbaa-pruning
D.20941_8 = { ox }
alias warning for D.20941_8
After alias:
ox.D.20531.m_initialized = 0;
D.20941_8 = (struct X *)
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-01-14 16:48 ---
I just installed a fix - can you verify if all the annoying warnigns are gone?
Thx!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #10 from pluto at agmk dot net 2009-01-14 18:29 ---
(In reply to comment #9)
I just installed a fix - can you verify if all the annoying warnigns are
gone?
Thx!
they are still there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #11 from rguenther at suse dot de 2009-01-14 20:50 ---
Subject: Re: [4.4 regression] warnings from -isystem
headers strikes back.
On Wed, 14 Jan 2009, pluto at agmk dot net wrote:
--- Comment #10 from pluto at agmk dot net 2009-01-14 18:29 ---
(In reply to
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-12 13:54 ---
I can't seem to compile the preprocessed source:
In file included from ./sys-headers/boost/mpl/int.hpp:21,
from
./sys-headers/boost/type_traits/detail/template_arity_spec
.hpp:11,
--- Comment #6 from pluto at agmk dot net 2009-01-12 15:01 ---
Created an attachment (id=17077)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17077action=view)
full testcase (src + .ii + mkefile)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #7 from pluto at agmk dot net 2009-01-12 15:10 ---
(In reply to comment #5)
I can't seem to compile the preprocessed source:
i've attached a new full archive.
$ make
rm -f *.ii *.o *.s
/local/devel/toolchain44/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ -c -Wall -O2
-g0
--- Comment #8 from rguenther at suse dot de 2009-01-12 15:16 ---
Subject: Re: [4.4 regression] warnings from -isystem
headers strikes back.
On Mon, 12 Jan 2009, pluto at agmk dot net wrote:
--- Comment #7 from pluto at agmk dot net 2009-01-12 15:10 ---
(In reply to
--- Comment #3 from jakub at gcc dot gnu dot org 2009-01-09 10:25 ---
Please preprocess the testcase. Whether a header was a system header or not is
recorded in # linenum directives in the preprocessed output.
--
jakub at gcc dot gnu dot org changed:
What|Removed
--- Comment #4 from pluto at agmk dot net 2009-01-09 19:52 ---
Created an attachment (id=17067)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17067action=view)
preprocessed testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
--- Comment #1 from pluto at agmk dot net 2008-12-12 11:37 ---
Created an attachment (id=16897)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16897action=view)
testcase.
to reproduce bug you also need the boost-1.37.0 headers.
--
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-12 11:53 ---
Related to/dup of PR38477. I'll leave this one for the system header issue
and PR38477 for the libstdc++/C++ alias problem.
--
rguenth at gcc dot gnu dot org changed:
What|Removed
29 matches
Mail list logo