public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
@ 2011-06-17 13:44 danglin at gcc dot gnu.org
  2011-06-17 18:30 ` [Bug target/49454] " sje at cup dot hp.com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-06-17 13:44 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] /usr/include/libio.h:336:3: internal
                    compiler error: Segmentation fault
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa*-*-* (32-bit)
            Target: hppa*-*-* (32-bit)
             Build: hppa*-*-* (32-bit)


/home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/
dave/opt/gnu/gcc/gcc-4.5/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.5/hppa-l
inux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5/hppa-linux/include -isystem
/h
ome/dave/opt/gnu/gcc/gcc-4.5/hppa-linux/sys-include    -g -O2 -O2  -g -O2
-DIN_G
CC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototyp
es -Wold-style-definition  -isystem ./include  -fPIC -DELF=1 -DLINUX=1 -g
-DHAVE
_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fbuilding-libgcc
-fno-stack
-protector   -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/.
 -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include    -o _negdi2.o
-
MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c
../../../gcc/libgcc/../gcc/li
bgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/stdio.h:75:0,
                 from ../../../gcc/libgcc/../gcc/tsystem.h:87,
                 from ../../../gcc/libgcc/../gcc/libgcc2.c:29:
/usr/include/libio.h:336:3: internal compiler error: Segmentation fault

This is in stage2.

First seen in revision 175083.  175007 was ok.


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
@ 2011-06-17 18:30 ` sje at cup dot hp.com
  2011-06-21 15:48 ` sje at cup dot hp.com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-06-17 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

Steve Ellcey <sje at cup dot hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.17 18:30:10
                 CC|                            |sje at cup dot hp.com
         Depends on|                            |49429
     Ever Confirmed|0                           |1

--- Comment #1 from Steve Ellcey <sje at cup dot hp.com> 2011-06-17 18:30:10 UTC ---
This is caused by r175063, the same change that caused pr49429.


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
  2011-06-17 18:30 ` [Bug target/49454] " sje at cup dot hp.com
@ 2011-06-21 15:48 ` sje at cup dot hp.com
  2011-06-21 16:27 ` sje at cup dot hp.com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-06-21 15:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Steve Ellcey <sje at cup dot hp.com> 2011-06-21 15:48:14 UTC ---
I built an hppa2.0w-hp-hpux11.11 compiler with --disable-bootstrap and then ran
the test suite to see if I could get a smaller test case.  The tests are still
running but there are many failures with -O1 and higher levels of optimization.

One small example is gcc.c-torture/execute/20000717-1.c, which fails during
execution at -O1, -O2, -O3, -Os.

Here are some other tests that fail at -O1:

FAIL: gcc.c-torture/execute/20000706-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/20000706-2.c execution,  -O1 
FAIL: gcc.c-torture/execute/20000706-5.c execution,  -O1 
FAIL: gcc.c-torture/execute/20000717-5.c execution,  -O1 
FAIL: gcc.c-torture/execute/20011113-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/20020215-1.c execution,  -O1


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
  2011-06-17 18:30 ` [Bug target/49454] " sje at cup dot hp.com
  2011-06-21 15:48 ` sje at cup dot hp.com
@ 2011-06-21 16:27 ` sje at cup dot hp.com
  2011-06-21 17:24 ` dave at hiauly1 dot hia.nrc.ca
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-06-21 16:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Steve Ellcey <sje at cup dot hp.com> 2011-06-21 16:26:44 UTC ---
I should have mentioned in comment #2 that the build and test I did included
the proposed patch in comment #11 pf PR 49429.


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-06-21 16:27 ` sje at cup dot hp.com
@ 2011-06-21 17:24 ` dave at hiauly1 dot hia.nrc.ca
  2011-06-22 14:22 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2011-06-21 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from dave at hiauly1 dot hia.nrc.ca 2011-06-21 17:23:27 UTC ---
> I should have mentioned in comment #2 that the build and test I did included
> the proposed patch in comment #11 pf PR 49429.

I assumed so.  Richard's comments regarding the patch indicated that
it was unlikely to fix all the problems on hppa (a callee copies target).

Dave


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-06-21 17:24 ` dave at hiauly1 dot hia.nrc.ca
@ 2011-06-22 14:22 ` rguenth at gcc dot gnu.org
  2011-06-24 17:10 ` eraman at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-22 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-06-22 14:22 ` rguenth at gcc dot gnu.org
@ 2011-06-24 17:10 ` eraman at gcc dot gnu.org
  2011-06-25 21:54 ` danglin at gcc dot gnu.org
  2011-06-25 22:07 ` ebotcazou at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: eraman at gcc dot gnu.org @ 2011-06-24 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from eraman at gcc dot gnu.org 2011-06-24 17:10:23 UTC ---
Author: eraman
Date: Fri Jun 24 17:10:18 2011
New Revision: 175384

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175384
Log:
2011-06-24  Easwaran Raman  <eraman@google.com>

      PR rtl-optimization/49429
      PR target/49454
      * expr.c (emit_block_move_hints):  Mark MEM_EXPR(x) and
      MEM_EXPR(y) addressable if emit_block_move_via_libcall is
      used to copy y into x.
      * calls.c (initialize_argument_information): Mark
      an argument addressable if it is passed by invisible reference.
      (emit_library_call_value_1): Mark  MEM_EXPR (val) addressable
      if it is passed by reference.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c
    trunk/gcc/expr.c


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-06-24 17:10 ` eraman at gcc dot gnu.org
@ 2011-06-25 21:54 ` danglin at gcc dot gnu.org
  2011-06-25 22:07 ` ebotcazou at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-06-25 21:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> 2011-06-25 21:53:27 UTC ---
Fixed.


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

* [Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault
  2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-06-25 21:54 ` danglin at gcc dot gnu.org
@ 2011-06-25 22:07 ` ebotcazou at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-25 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         Resolution|                            |FIXED

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-25 22:07:05 UTC ---
As Dave said.


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

end of thread, other threads:[~2011-06-25 22:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 13:44 [Bug target/49454] New: [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
2011-06-17 18:30 ` [Bug target/49454] " sje at cup dot hp.com
2011-06-21 15:48 ` sje at cup dot hp.com
2011-06-21 16:27 ` sje at cup dot hp.com
2011-06-21 17:24 ` dave at hiauly1 dot hia.nrc.ca
2011-06-22 14:22 ` rguenth at gcc dot gnu.org
2011-06-24 17:10 ` eraman at gcc dot gnu.org
2011-06-25 21:54 ` danglin at gcc dot gnu.org
2011-06-25 22:07 ` ebotcazou 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).