public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
@ 2006-03-08 16:06 ` pinskia at gcc dot gnu dot org
  2008-10-01 12:12 ` pdemarco at ppg dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-08 16:06 -------
Fixed in 4.0.0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
  2006-03-08 16:06 ` [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2 pinskia at gcc dot gnu dot org
@ 2008-10-01 12:12 ` pdemarco at ppg dot com
  2008-10-01 14:20 ` dave dot korn at artimi dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: pdemarco at ppg dot com @ 2008-10-01 12:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pdemarco at ppg dot com  2008-10-01 12:10 -------
any chance of getting this fixed on 3.4.4 ???


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
  2006-03-08 16:06 ` [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2 pinskia at gcc dot gnu dot org
  2008-10-01 12:12 ` pdemarco at ppg dot com
@ 2008-10-01 14:20 ` dave dot korn at artimi dot com
  2008-10-01 18:05 ` pdemarco at ppg dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: dave dot korn at artimi dot com @ 2008-10-01 14:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dave dot korn at artimi dot com  2008-10-01 14:19 -------
Sorry mate, all 3.x compilers are way past end-of-life now; there will never be
another release.

Your best bet is to hand-edit the header files in your local install.  I don't
remember the exact recipe, but of the two places where this bug crops up, one
can be worked around by adding "__attribute__ ((__unused__))" to the relevant
variable declaration, and the other one has to be fixed by adding
"__attribute__ ((__noinline__))" to the function declaration.

I haven't tested these workaround for performance impact.  Shouldn't be too bad
if you're not calling the functions from the middle of a loop that runs
millions of times.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-10-01 14:20 ` dave dot korn at artimi dot com
@ 2008-10-01 18:05 ` pdemarco at ppg dot com
  2008-10-01 18:19 ` paolo dot carlini at oracle dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: pdemarco at ppg dot com @ 2008-10-01 18:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pdemarco at ppg dot com  2008-10-01 18:04 -------
(In reply to comment #5)
> Sorry mate, all 3.x compilers are way past end-of-life now; there will never be
> another release.
okay, but I wish that you wouldn't freeze 3.x when 4.x is still in Alpha.  If I
could upgrade to a stable 4.x for the change... I would.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2008-10-01 18:05 ` pdemarco at ppg dot com
@ 2008-10-01 18:19 ` paolo dot carlini at oracle dot com
  2008-10-01 18:20 ` pdemarco at ppg dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-10-01 18:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2008-10-01 18:17 -------
(In reply to comment #6)
> okay, but I wish that you wouldn't freeze 3.x when 4.x is still in Alpha.

Alpha?!? What do you mean, exactly? Certainly we have a very stable 4.3.x
release series, and previously we had 4.2.x, and previously 4.1.x...




-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2008-10-01 18:19 ` paolo dot carlini at oracle dot com
@ 2008-10-01 18:20 ` pdemarco at ppg dot com
  2008-10-01 20:27 ` brian at dessent dot net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: pdemarco at ppg dot com @ 2008-10-01 18:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pdemarco at ppg dot com  2008-10-01 18:19 -------
(In reply to comment #7)
> (In reply to comment #6)
> > okay, but I wish that you wouldn't freeze 3.x when 4.x is still in Alpha.
> Alpha?!? What do you mean, exactly? Certainly we have a very stable 4.3.x
> release series, and previously we had 4.2.x, and previously 4.1.x...

My understanding was that 4.x was not available.  I'll have to re-check.  sorry
for the noise.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2008-10-01 18:20 ` pdemarco at ppg dot com
@ 2008-10-01 20:27 ` brian at dessent dot net
  2008-10-03 12:55 ` pdemarco at ppg dot com
  2008-10-03 13:01 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 13+ messages in thread
From: brian at dessent dot net @ 2008-10-01 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from brian at dessent dot net  2008-10-01 20:25 -------
Subject: Re:  Spurious 'might be used uninitialized' 
 warnings in STL headers with -O2

You are confusing the state of the Cygwin port of gcc with gcc in
general.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2008-10-01 20:27 ` brian at dessent dot net
@ 2008-10-03 12:55 ` pdemarco at ppg dot com
  2008-10-03 13:01 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 13+ messages in thread
From: pdemarco at ppg dot com @ 2008-10-03 12:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pdemarco at ppg dot com  2008-10-03 12:53 -------
(In reply to comment #9)
> Subject: Re:  Spurious 'might be used uninitialized' 
>  warnings in STL headers with -O2
> You are confusing the state of the Cygwin port of gcc with gcc in
> general.

Possibly, but I cannot find the download for 4.x.x.
Why does it have to be so confusing ?

http://sourceforge.net/project/showfiles.php?group_id=2435

This is the location that I got ALPHA from.
It appears that the best 4.x.x download is: Testing:
gcc-4.3.0-20080502-mingw32-alpha

I see no other reasonable downloads.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
       [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2008-10-03 12:55 ` pdemarco at ppg dot com
@ 2008-10-03 13:01 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 13+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-10-03 13:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from paolo dot carlini at oracle dot com  2008-10-03 13:00 -------
Brian is right:

  http://gcc.gnu.org/mirrors.html


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
  2005-06-27 23:08 [Bug libstdc++/22207] New: " brian at dessent dot net
                   ` (2 preceding siblings ...)
  2005-09-06 11:28 ` james at juranfamily dot org
@ 2005-09-06 18:59 ` ian at airs dot com
  3 siblings, 0 replies; 13+ messages in thread
From: ian at airs dot com @ 2005-09-06 18:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ian at airs dot com  2005-09-06 18:59 -------
Confirmed that this happens with 3.4 for the i686-pc-cygwin target, though not
for the i686-pc-linux-gnu target.  It is fixed in current mainline for both targets.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.4.4
      Known to work|                            |4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-06 18:59:23
               date|                            |


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
  2005-06-27 23:08 [Bug libstdc++/22207] New: " brian at dessent dot net
  2005-06-27 23:15 ` [Bug middle-end/22207] " pinskia at gcc dot gnu dot org
  2005-09-06 11:07 ` dave dot korn at artimi dot com
@ 2005-09-06 11:28 ` james at juranfamily dot org
  2005-09-06 18:59 ` ian at airs dot com
  3 siblings, 0 replies; 13+ messages in thread
From: james at juranfamily dot org @ 2005-09-06 11:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |james at juranfamily dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
  2005-06-27 23:08 [Bug libstdc++/22207] New: " brian at dessent dot net
  2005-06-27 23:15 ` [Bug middle-end/22207] " pinskia at gcc dot gnu dot org
@ 2005-09-06 11:07 ` dave dot korn at artimi dot com
  2005-09-06 11:28 ` james at juranfamily dot org
  2005-09-06 18:59 ` ian at airs dot com
  3 siblings, 0 replies; 13+ messages in thread
From: dave dot korn at artimi dot com @ 2005-09-06 11:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dave dot korn at artimi dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2
  2005-06-27 23:08 [Bug libstdc++/22207] New: " brian at dessent dot net
@ 2005-06-27 23:15 ` pinskia at gcc dot gnu dot org
  2005-09-06 11:07 ` dave dot korn at artimi dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-27 23:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |middle-end
   GCC host triplet|i686-pc-cygwin              |
 GCC target triplet|                            |i686-pc-cygwin
           Keywords|                            |diagnostic


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-03 13:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22207-10678@http.gcc.gnu.org/bugzilla/>
2006-03-08 16:06 ` [Bug middle-end/22207] Spurious 'might be used uninitialized' warnings in STL headers with -O2 pinskia at gcc dot gnu dot org
2008-10-01 12:12 ` pdemarco at ppg dot com
2008-10-01 14:20 ` dave dot korn at artimi dot com
2008-10-01 18:05 ` pdemarco at ppg dot com
2008-10-01 18:19 ` paolo dot carlini at oracle dot com
2008-10-01 18:20 ` pdemarco at ppg dot com
2008-10-01 20:27 ` brian at dessent dot net
2008-10-03 12:55 ` pdemarco at ppg dot com
2008-10-03 13:01 ` paolo dot carlini at oracle dot com
2005-06-27 23:08 [Bug libstdc++/22207] New: " brian at dessent dot net
2005-06-27 23:15 ` [Bug middle-end/22207] " pinskia at gcc dot gnu dot org
2005-09-06 11:07 ` dave dot korn at artimi dot com
2005-09-06 11:28 ` james at juranfamily dot org
2005-09-06 18:59 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).