[Bug c/40412] -Wunreachable-code warns for strcmp with constant argument

2009-06-11 Thread s dot contini at oltrelinux dot com
--- Comment #2 from s dot contini at oltrelinux dot com 2009-06-11 08:10 --- Created an attachment (id=17982) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17982&action=view) preprocessed test case source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40412

[Bug c/40412] -Wunreachable-code warns for strcmp with constant argument

2009-06-11 Thread s dot contini at oltrelinux dot com
--- Comment #1 from s dot contini at oltrelinux dot com 2009-06-11 08:09 --- Created an attachment (id=17981) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17981&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40412

[Bug c/40412] New: -Wunreachable-code warns for strcmp with constant argument

2009-06-11 Thread s dot contini at oltrelinux dot com
-------8<--- there aren't any problem with the second call to strcmp without constant parameters. -- Summary: -Wunreachable-code warns for strcmp with constant argument Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: s dot contini at oltrelinux dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40412