[Bug c/20562] no unused warning for static arrays

2005-07-07 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-07 13:37 --- (In reply to comment #5) > this is where __attribute__((unused)) kicks in.. But these shows up in system headers too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562

[Bug c/20562] no unused warning for static arrays

2005-04-07 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|4.0.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562

[Bug c/20562] no unused warning for static arrays

2005-03-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||diagnostic http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562

[Bug c/20562] no unused warning for static arrays

2005-03-20 Thread mueller at kde dot org
--- Additional Comments From mueller at kde dot org 2005-03-20 23:22 --- this is where __attribute__((unused)) kicks in.. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562

[Bug c/20562] no unused warning for static arrays

2005-03-20 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-03-20 22:46 --- IIRC, this was intentional because people had a habit of writing RCS "$ID:" strings at the top of files and wanted to find them again in the executable to identify which files exactly were linked together.

[Bug c/20562] no unused warning for static arrays

2005-03-19 Thread mueller at kde dot org
--- Additional Comments From mueller at kde dot org 2005-03-19 23:32 --- whoops, wrong frontend. -- What|Removed |Added Status|RESOLVED|UNCO

[Bug c++/20562] no unused warning for static arrays

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 23:19 --- (In reply to comment #1) > (In reply to comment #0) > > There should be a "defined but not used" warning. > > Why, this is a constant array so it is removed right? Never mind, but I can tell you this wa

[Bug c++/20562] no unused warning for static arrays

2005-03-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 23:16 --- (In reply to comment #0) > There should be a "defined but not used" warning. Why, this is a constant array so it is removed right? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562