public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43699]  New: [4.6 regression] "variable set but not used" error during bootstrap
@ 2010-04-09  7:33 ebotcazou at gcc dot gnu dot org
  2010-04-09  7:34 ` [Bug bootstrap/43699] " ebotcazou at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-04-09  7:33 UTC (permalink / raw)
  To: gcc-bugs

Mainline doesn't bootstrap anymore on some SuSE versions:

/home/eric/svn/gcc/gcc/collect2.c:1990:90: error: variable '__u' set but not
used
/home/eric/svn/gcc/gcc/collect2.c:1992:76: error: variable '__u' set but not
used
/home/eric/svn/gcc/gcc/collect2.c:1995:66: error: variable '__u' set but not
used
/home/eric/svn/gcc/gcc/collect2.c:1999:74: error: variable '__u' set but not
used
/home/eric/svn/gcc/gcc/collect2.c:2000:72: error: variable '__u' set but not
used

Preprocessed file to be attached.  Compile with -Wall -Werror.


-- 
           Summary: [4.6 regression] "variable set but not used" error
                    during bootstrap
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
  GCC host triplet: ix86-*-linux, x86-*-linux


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
@ 2010-04-09  7:34 ` ebotcazou at gcc dot gnu dot org
  2010-04-09  7:40 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-04-09  7:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-04-09 07:34 -------
Created an attachment (id=20344)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20344&action=view)
Preprocessed file


-- 


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
  2010-04-09  7:34 ` [Bug bootstrap/43699] " ebotcazou at gcc dot gnu dot org
@ 2010-04-09  7:40 ` ebotcazou at gcc dot gnu dot org
  2010-04-09  7:57 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-04-09  7:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-04-09 07:40 -------
Other affected files are lto-wrapper.c, gcc.c and lto/lto.c.


-- 


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
  2010-04-09  7:34 ` [Bug bootstrap/43699] " ebotcazou at gcc dot gnu dot org
  2010-04-09  7:40 ` ebotcazou at gcc dot gnu dot org
@ 2010-04-09  7:57 ` jakub at gcc dot gnu dot org
  2010-04-09  8:08 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-09  7:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-04-09 07:57 -------
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00347.html
is awaiting review.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-09 07:57:22
               date|                            |


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-04-09  7:57 ` jakub at gcc dot gnu dot org
@ 2010-04-09  8:08 ` ebotcazou at gcc dot gnu dot org
  2010-04-09  8:41 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-04-09  8:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-04-09 08:08 -------
Sorry, I saw the ppc bootstrap message yesterday but missed this one.


-- 


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-04-09  8:08 ` ebotcazou at gcc dot gnu dot org
@ 2010-04-09  8:41 ` rguenth at gcc dot gnu dot org
  2010-04-10  8:57 ` manu at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-09  8:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-04-09  8:41 ` rguenth at gcc dot gnu dot org
@ 2010-04-10  8:57 ` manu at gcc dot gnu dot org
  2010-04-10 11:53 ` tkoenig at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-04-10  8:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from manu at gcc dot gnu dot org  2010-04-10 08:57 -------
*** Bug 43713 has been marked as a duplicate of this bug. ***


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiez at gcc dot gnu dot org


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-04-10  8:57 ` manu at gcc dot gnu dot org
@ 2010-04-10 11:53 ` tkoenig at gcc dot gnu dot org
  2010-04-12 13:27 ` jakub at gcc dot gnu dot org
  2010-05-26 10:02 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-04-10 11:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tkoenig at gcc dot gnu dot org  2010-04-10 11:53 -------
Seen on x86_64-unknown-linux-gnu too.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-04-10 11:53 ` tkoenig at gcc dot gnu dot org
@ 2010-04-12 13:27 ` jakub at gcc dot gnu dot org
  2010-05-26 10:02 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-12 13:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2010-04-12 13:27 -------
Subject: Bug 43699

Author: jakub
Date: Mon Apr 12 13:27:07 2010
New Revision: 158224

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158224
Log:
        PR bootstrap/43699
        * c-typeck.c (c_process_expr_stmt): Call mark_exp_read even
        for exprs satisfying handled_component_p.

        * gcc.dg/Wunused-var-7.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/Wunused-var-7.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug bootstrap/43699] [4.6 regression] "variable set but not used" error during bootstrap
  2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-04-12 13:27 ` jakub at gcc dot gnu dot org
@ 2010-05-26 10:02 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-26 10:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2010-05-26 10:02 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-05-26 10:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09  7:33 [Bug bootstrap/43699] New: [4.6 regression] "variable set but not used" error during bootstrap ebotcazou at gcc dot gnu dot org
2010-04-09  7:34 ` [Bug bootstrap/43699] " ebotcazou at gcc dot gnu dot org
2010-04-09  7:40 ` ebotcazou at gcc dot gnu dot org
2010-04-09  7:57 ` jakub at gcc dot gnu dot org
2010-04-09  8:08 ` ebotcazou at gcc dot gnu dot org
2010-04-09  8:41 ` rguenth at gcc dot gnu dot org
2010-04-10  8:57 ` manu at gcc dot gnu dot org
2010-04-10 11:53 ` tkoenig at gcc dot gnu dot org
2010-04-12 13:27 ` jakub at gcc dot gnu dot org
2010-05-26 10:02 ` jakub at gcc dot gnu dot org

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).