public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26936]  New: fix-header segfault with glibc-2.4 header
@ 2006-03-30  7:49 sugioka at itonet dot co dot jp
  2006-03-30  9:45 ` [Bug bootstrap/26936] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sugioka at itonet dot co dot jp @ 2006-03-30  7:49 UTC (permalink / raw)
  To: gcc-bugs

On bootstrapping, fix-header segfaults while processing
/usr/include/bits/stdio-ldbl.h which is from glibc-2.4.

This problem does not appear on i386-linux host because 'use_fixproto' is set
to 'no' in gcc/config.gcc.

Reduced problematic header contents:
f()

Reproduce:
    cd <build-dir>/gcc
    make stmp-fixproto
    cd build
    echo 'f()' >f.h
    ./fix-header bits/f.h f.h bits/f.h
  Segmentation fault


-- 
           Summary: fix-header segfault with glibc-2.4 header
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sugioka at itonet dot co dot jp
  GCC host triplet: sh4-unknown-linux


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


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

* [Bug bootstrap/26936] fix-header segfault with glibc-2.4 header
  2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
@ 2006-03-30  9:45 ` rguenth at gcc dot gnu dot org
  2006-03-30 11:50 ` sugioka at itonet dot co dot jp
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-30  9:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-03-30 09:45 -------
I believe this has been fixed for the mainline with

2006-02-25  Juergen Weigert  <jw@suse.de>
        Richard Guenther  <rguenther@suse.de>

        * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.

it's not a regression though.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.0
      Known to work|                            |4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-30 09:45:20
               date|                            |
   Target Milestone|---                         |4.1.1


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


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

* [Bug bootstrap/26936] fix-header segfault with glibc-2.4 header
  2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
  2006-03-30  9:45 ` [Bug bootstrap/26936] " rguenth at gcc dot gnu dot org
@ 2006-03-30 11:50 ` sugioka at itonet dot co dot jp
  2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sugioka at itonet dot co dot jp @ 2006-03-30 11:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sugioka at itonet dot co dot jp  2006-03-30 11:50 -------
Thanks for the information.
I have confirmed that this is fixed on mainline.


-- 


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


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

* [Bug bootstrap/26936] fix-header segfault with glibc-2.4 header
  2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
  2006-03-30  9:45 ` [Bug bootstrap/26936] " rguenth at gcc dot gnu dot org
  2006-03-30 11:50 ` sugioka at itonet dot co dot jp
@ 2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
  2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
  2006-03-31 21:44 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-31  7:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2006-03-31 07:50 -------
Subject: Bug 26936

Author: rguenth
Date: Fri Mar 31 07:49:59 2006
New Revision: 112573

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112573
Log:
2006-03-31  Richard Guenther  <rguenther@suse.de>

        PR bootstrap/26936
        Backport from mainline.
        2006-02-25  Juergen Weigert  <jw@suse.de>
                Richard Guenther  <rguenther@suse.de>

        * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/scan-decls.c


------- Comment #4 from rguenth at gcc dot gnu dot org  2006-03-31 07:50 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug bootstrap/26936] fix-header segfault with glibc-2.4 header
  2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
                   ` (2 preceding siblings ...)
  2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
@ 2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
  2006-03-31 21:44 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-31  7:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2006-03-31 07:50 -------
Subject: Bug 26936

Author: rguenth
Date: Fri Mar 31 07:49:59 2006
New Revision: 112573

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112573
Log:
2006-03-31  Richard Guenther  <rguenther@suse.de>

        PR bootstrap/26936
        Backport from mainline.
        2006-02-25  Juergen Weigert  <jw@suse.de>
                Richard Guenther  <rguenther@suse.de>

        * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/scan-decls.c


------- Comment #4 from rguenth at gcc dot gnu dot org  2006-03-31 07:50 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug bootstrap/26936] fix-header segfault with glibc-2.4 header
  2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
                   ` (3 preceding siblings ...)
  2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
@ 2006-03-31 21:44 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-31 21:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


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


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

end of thread, other threads:[~2006-03-31 21:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30  7:49 [Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header sugioka at itonet dot co dot jp
2006-03-30  9:45 ` [Bug bootstrap/26936] " rguenth at gcc dot gnu dot org
2006-03-30 11:50 ` sugioka at itonet dot co dot jp
2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
2006-03-31  7:50 ` rguenth at gcc dot gnu dot org
2006-03-31 21:44 ` pinskia 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).