[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-03-26 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Marek Polacek mpolacek at gcc dot gnu.org ---
Actually I think this is a dup.

*** This bug has been marked as a duplicate of bug 57201 ***


[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-03-24 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2014-03-24
 Ever confirmed|0   |1

--- Comment #5 from Marek Polacek mpolacek at gcc dot gnu.org ---
Waiting for a test case.


[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-03-19 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #3 from Marek Polacek mpolacek at gcc dot gnu.org ---
If the warning is present with .i but not with .c, then we can't do much about
it without the .c file with its headers.


[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-03-19 Thread martin at netbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

--- Comment #4 from Martin Husemann martin at netbsd dot org ---
Yes - I'm still trying to reduce it to a reasonable test case, but in general
it works - so I am confused big time.
Also Julio (the ATF author) claims the same test works on FreeBSD with a very
similar compiler version.


[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-01-14 Thread martin at netbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

--- Comment #2 from Martin Husemann martin at netbsd dot org ---
Unfortunately I can not reproduce the issue with the .i file generated with
-save-temps (but still with the original .c file).


[Bug c/59749] unused warning not emited for unused static struct unles -save-temps is used

2014-01-10 Thread martin at netbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59749

--- Comment #1 from Martin Husemann martin at netbsd dot org ---
Created attachment 31794
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31794action=edit
unused_test.i file from -save-temps