public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37902]  New: [4.3 Regression] in_system_header bug
@ 2008-10-23 11:58 jakub at gcc dot gnu dot org
  2008-10-23 12:41 ` [Bug middle-end/37902] " jakub at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-23 11:58 UTC (permalink / raw)
  To: gcc-bugs

See http://gcc.gnu.org/ml/gcc-bugs/2008-10/msg01511.html

/* { dg-options "-O -W -Wall -Wdeclaration-after-statement -fpreprocessed" }
# 1 "my.c" 1
# 1 "my.h" 1 3 4
void foo (void);
# 2 "my.c" 2

void
foo (void)
{
}

int
bar (void)
{
  return 0;
  int j;
  return j;
}

doesn't warn in bar, supposedly in_system_header hasn't been cleared when done
with foo function.

This is fixed on the trunk supposedly by
http://gcc.gnu.org/ml/gcc-patches/2008-07/msg01264.html
but that patch is definitely not backportable to 4.3 branch.


-- 
           Summary: [4.3 Regression] in_system_header bug
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-37902-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-27 12:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 11:58 [Bug middle-end/37902] New: [4.3 Regression] in_system_header bug jakub at gcc dot gnu dot org
2008-10-23 12:41 ` [Bug middle-end/37902] " jakub at gcc dot gnu dot org
2008-10-27  2:01 ` pinskia at gcc dot gnu dot org
2008-11-03 11:29 ` jakub at gcc dot gnu dot org
2009-01-24 10:26 ` rguenth at gcc dot gnu dot org
2009-08-04 12:43 ` rguenth at gcc dot gnu dot org
2010-05-22 18:26 ` rguenth at gcc dot gnu dot org
     [not found] <bug-37902-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 12:01 ` rguenth at gcc dot gnu.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).