[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2012-03-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution||FIXED

--- Comment #13 from Jakub Jelinek  2012-03-13 
13:11:24 UTC ---
Fixed in 4.5+, 4.4 is no longer supported.


[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2011-04-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|4.4.6   |4.4.7


[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2010-10-01 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|4.4.5   |4.4.6


[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2010-04-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.4   |4.4.5


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2010-01-21 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.3   |4.4.4


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-11-17 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2009-11-18 04:02 
---
*** Bug 42087 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||riddikulus at verizon dot
   ||net


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-11-17 Thread paolo dot carlini at oracle dot com


--- Comment #11 from paolo dot carlini at oracle dot com  2009-11-17 15:15 
---
Yes.


-- 


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-11-17 Thread scovich at gmail dot com


--- Comment #10 from scovich at gmail dot com  2009-11-17 11:16 ---
(In reply to comment #3)
> the warning is for dead code.  Thus this is not a
> wrong-code problem.

Just to verify, does this (and comment #7) mean that the warning is harmless
and can be ignored?


-- 


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-11-17 Thread paolo dot carlini at oracle dot com


--- Comment #9 from paolo dot carlini at oracle dot com  2009-11-17 11:09 
---
*** Bug 42077 has been marked as a duplicate of this bug. ***


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 CC||scovich at gmail dot com


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-10-15 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.4.2   |4.4.3


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-10-06 Thread paolo dot carlini at oracle dot com


--- Comment #8 from paolo dot carlini at oracle dot com  2009-10-06 09:23 
---
Then it's easy to fix in 4_4 too ;)


-- 


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-10-06 Thread rguenther at suse dot de


--- Comment #7 from rguenther at suse dot de  2009-10-06 09:01 ---
Subject: Re:  [4.4 Regression] Bogus aliasing
 warning with std::set

On Mon, 5 Oct 2009, pinskia at gcc dot gnu dot org wrote:

> --- Comment #6 from pinskia at gcc dot gnu dot org  2009-10-05 20:16 
> ---
> This is fixed on the trunk

Indeed - the warning code was removed ;)


-- 


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-10-05 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2009-10-05 20:16 ---
This is fixed on the trunk


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.4/4.5 Regression] Bogus  |[4.4 Regression] Bogus
   |aliasing warning with   |aliasing warning with
   |std::set|std::set


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



[Bug tree-optimization/39390] [4.4 Regression] Bogus aliasing warning with std::set

2009-03-08 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2009-03-08 15:42 ---
Only the diagnostic part is a regression.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2
Summary|[4.4 regression] Bogus  |[4.4 Regression] Bogus
   |aliasing warning with   |aliasing warning with
   |std::set|std::set


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



[Bug tree-optimization/39390] [4.4 regression] Bogus aliasing warning with std::set

2009-03-06 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2009-03-06 14:16 ---
Scheduling another pass_phi_only_cprop after VRP removes the single-argument
PHI nodes (I think that really cfg-cleanup should do this, as they usually
result from edge removal).  While this is reasonably cheap it doesn't get
rid of the conditionals but that would require a forwprop run which is not
that cheap (it requires only the forward_propagate_into_gimple_cond () pieces,
but has to run after removing single-argument PHIs, thus cannot run at
VRP substitution time).

Thus, the following would fix it:

Index: passes.c
===
--- passes.c(revision 144665)
+++ passes.c(working copy)
@@ -611,6 +611,8 @@ init_optimization_passes (void)
   NEXT_PASS (pass_copy_prop);
   NEXT_PASS (pass_merge_phi);
   NEXT_PASS (pass_vrp);
+  NEXT_PASS (pass_phi_only_cprop);
+  NEXT_PASS (pass_forwprop);
   NEXT_PASS (pass_dce);
   NEXT_PASS (pass_cselim);
   NEXT_PASS (pass_tree_ifcombine);

alternatively only adding pass_phi_only_cprop and calling
forward_propagate_into_gimple_cond from pass_tree_ifcombine.


-- 


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