[Bug lto/45702] [4.6 Regression] New LTO test failures

2010-09-20 Thread danglin at gcc dot gnu dot org


--- Comment #15 from danglin at gcc dot gnu dot org  2010-09-21 00:44 
---
Similar errors on hppa2.0w-hp-hpux11.11.  Excess errors are:

cc1: error: LTO support has not been enabled in this configuration
cc1: error: LTO support has not been enabled in this configuration


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug tree-optimization/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)

2010-09-18 Thread danglin at gcc dot gnu dot org


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |NEW
  Component|testsuite   |tree-optimization
   Last reconfirmed|2010-05-02 15:26:05 |2010-09-18 18:10:02
   date||


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



[Bug middle-end/45722] New: FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and -Os

2010-09-18 Thread danglin at gcc dot gnu dot org
FAIL: gcc.c-torture/execute/20040709-2.c execution,  -O1
FAIL: gcc.c-torture/execute/20040709-2.c execution,  -Os 

(gdb) r
Starting program:
/home/dave/gnu/gcc-4.6/objdir/gcc/testsuite/gcc/20040709-2.x1g 

Program received signal SIGABRT, Aborted.
0x40a9787c in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
67  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x40a9787c in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#1  0x40a9c228 in abort () at abort.c:92
#2  0x0001670c in testW ()
at
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20040709-2.c:113
#3  0x000175a4 in main ()
at
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20040709-2.c:143

First seen in revision 164235.  Revision 164202 was ok.


-- 
   Summary: FAIL: gcc.c-torture/execute/20040709-2.c execution at -
O1 and -Os
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-* (32-bit)
  GCC host triplet: hppa*-*-* (32-bit)
GCC target triplet: hppa*-*-* (32-bit)


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



[Bug ada/45568] [4.6 Regression] stack overflow (or erroneous memory access) building gnattools

2010-09-15 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-09-15 22:49 ---
Bug returns in build with revision 164294.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |


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



[Bug tree-optimization/45639] [4.6 Regression] /usr/ccs/bin/ld: Data address is out of range for short load or store

2010-09-12 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-09-12 13:06 ---
Caused by same change as on SPARC.

*** This bug has been marked as a duplicate of 45612 ***


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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



[Bug bootstrap/45612] [4.6 regression] Reference to undefined label building libada on Solaris 2/SPARC

2010-09-12 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-09-12 13:06 ---
*** Bug 45639 has been marked as a duplicate of this bug. ***


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug ada/45568] [4.6 Regression] stack overflow (or erroneous memory access) building gnattools

2010-09-12 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-09-12 13:28 ---
This bug was introduced in 163808.  It no longer occurs on trunk,
probably because of the subsequent changes to tree-ssa-ccp.c
(fold_const_aggregate_ref).


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug tree-optimization/45639] New: [4.6 Regression] /usr/ccs/bin/ld: Data address is out of range for short load or store

2010-09-10 Thread danglin at gcc dot gnu dot org
-pack20.o s-pack21.o s-pack22.o s-pack23.o s-pack24.o s-pack25.o
s-pa
ck26.o s-pack27.o s-pack28.o s-pack29.o s-pack30.o s-pack31.o s-pack33.o
s-pack3
4.o s-pack35.o s-pack36.o s-pack37.o s-pack38.o s-pack39.o s-pack40.o
s-pack41.o
 s-pack42.o s-pack43.o s-pack44.o s-pack45.o s-pack46.o s-pack47.o s-pack48.o
s-
pack49.o s-pack50.o s-pack51.o s-pack52.o s-pack53.o s-pack54.o s-pack55.o
s-pac
k56.o s-pack57.o s-pack58.o s-pack59.o s-pack60.o s-pack61.o s-pack62.o
s-pack63
.o s-parame.o s-parint.o s-pooglo.o s-pooloc.o s-poosiz.o s-powtab.o s-purexc.o
s-rannum.o s-regexp.o s-regpat.o s-restri.o s-rident.o s-rpc.o s-scaval.o
s-secs
ta.o s-sequio.o s-shasto.o s-soflin.o s-stache.o s-stalib.o s-stausa.o
s-stchop.
o s-stoele.o s-stopoo.o s-stratt.o s-strhas.o s-string.o s-ststop.o s-tasloc.o
s
-traceb.o s-traces.o s-traent.o s-unstyp.o s-utf_32.o s-vaflop.o s-valboo.o
s-va
lcha.o s-valdec.o s-valenu.o s-valint.o s-vallld.o s-vallli.o s-valllu.o
s-valre
a.o s-valuns.o s-valuti.o s-valwch.o s-veboop.o s-vector.o s-vercon.o
s-vmexta.o
 s-wchcnv.o s-wchcon.o s-wchjis.o s-wchstw.o s-wchwts.o s-widboo.o s-widcha.o
s-
widenu.o s-widlli.o s-widllu.o s-widwch.o s-wwdcha.o s-wwdenu.o s-wwdwch.o
seque
nio.o system.o text_io.o unchconv.o unchdeal.o g-soccon.o g-socket.o g-socthi.o
g-soliop.o g-sothco.o  adadecode.o adaint.o argv.o cio.o cstreams.o ctrl_c.o
err
no.o exit.o env.o raise.o sysdep.o aux-io.o init.o initialize.o seh_init.o
cal.o
 arit64.o final.o tracebak.o expect.o mkdir.o socket.o targext.o raise-gcc.o \
-Wl,+h,libgnat-4.6.sl \
 -lm
/usr/ccs/bin/ld: Data address is out of range for short load or store
   Reference from:  g-debpoo.o(0x148)
/usr/ccs/bin/ld: Invalid fixups exist
collect2: ld returned 1 exit status
make[5]: *** [gnatlib-shared-default] Error 1
make[5]: Leaving directory `/test/gnu/gcc/objdir/gcc/ada'
make[4]: *** [gnatlib-shared-dual] Error 2
make[4]: Leaving directory `/test/gnu/gcc/objdir/gcc/ada'
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory `/test/gnu/gcc/objdir/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libada'
make[1]: *** [all-target-libada] Error 2

The error is caused by the following assembler code:

bl .+8,%r1
depi 0,31,2,%r1
L$0375:
ldo L$0371-L$0375(%r1),%r1

This code sequence is generated to load a label operand when
generating PIC code.  The above reference to L$0371 is the only
reference to it in the .s file.

  /* If we're trying to load the address of a label that happens to be
 close, then we can use a shorter sequence.  */
  if (GET_CODE (operands[1]) == LABEL_REF
   !LABEL_REF_NONLOCAL_P (operands[1])
   INSN_ADDRESSES_SET_P ()
   abs (INSN_ADDRESSES (INSN_UID (XEXP (operands[1], 0)))
- INSN_ADDRESSES (INSN_UID (insn)))  8100)
output_asm_insn (\ldo %1-%2(%0),%0\, xoperands);
  else
{
  output_asm_insn (\addil L%%%1-%2,%0\, xoperands);
  output_asm_insn (\ldo R%%%1-%2(%0),%0\, xoperands);
}

There is no code_label for 371 in .expand, but there are two references:

(jump_insn 365 556 557 84 (set (pc)
(if_then_else (ne (subreg:SI (reg/v:DI 227 [ current ]) 4)
(subreg:SI (reg:DI 228 [ D.6648 ]) 4))
(label_ref 371)
(pc))) g-debpoo.adb:782 -1
 (expr_list:REG_BR_PROB (const_int 2900 [0xb54])
(nil))
 - 371)
;; End of basic block 84 - ( 88 85)

;; Succ edge  88 [29.0%]
;; Succ edge  85 [71.0%]  (fallthru)

;; Start of basic block ( 84) - 85
;; Pred edge  84 [71.0%]  (fallthru)
(note 557 365 366 85 [bb 85] NOTE_INSN_BASIC_BLOCK)

(jump_insn 366 557 367 85 (set (pc)
(label_ref 371)) g-debpoo.adb:782 -1
 (nil)
 - 371)
;; End of basic block 85 - ( 88)


-- 
   Summary: [4.6 Regression] /usr/ccs/bin/ld: Data address is out of
range for short load or store
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-09-08 Thread danglin at gcc dot gnu dot org


--- Comment #9 from danglin at gcc dot gnu dot org  2010-09-08 23:32 ---
Subject: Bug 45250

Author: danglin
Date: Wed Sep  8 23:32:06 2010
New Revision: 164036

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164036
Log:
PR target/45250
* config/pa/pa.md (nonlocal_goto): Restore hard frame pointer using
hard_frame_pointer_rtx instead of virtual_stack_vars_rtx.
(builtin_longjmp): Likewise.
(allocate_stack): Use hard_frame_pointer_rtx instead of
frame_pointer_rtx.
* config/pa/pa-protos.h (pa_initial_elimination_offset): Declare.
* config/pa/pa.c (pa_internal_arg_pointer): Declare.
(pa_can_eliminate): Likewise.
(TARGET_INTERNAL_ARG_POINTER): Define.
(TARGET_CAN_ELIMINATE): Define.
(hppa_expand_prologue): Use hard frame pointer instead of soft frame
pointer.
(hppa_expand_epilogue, pa_eh_return_handler_rtx): Likewise.
(pa_internal_arg_pointer, pa_can_eliminate,
pa_initial_elimination_offset): New.
* config/pa/pa.h (FRAME_POINTER_REGNUM): Set to new general register.
(HARD_FRAME_POINTER_REGNUM): Set to register three.
(INITIAL_FRAME_POINTER_OFFSET): Delete.
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET, DWARF_FRAME_REGISTERS):
Define.
(DWARF_ALT_FRAME_RETURN_COLUMN, REGNO_OK_FOR_INDEX_P,
REGNO_OK_FOR_BASE_P): Update to include soft frame pointer.
* config/pa/pa32-regs.h (FIRST_PSEUDO_REGISTER): Increase by one.
(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
REG_CLASS_CONTENTS, REGNO_REG_CLASS, REGISTER_NAMES): Update to include
new soft frame pointer.
* config/pa/pa64-regs.h: Likewise.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa-protos.h
trunk/gcc/config/pa/pa.c
trunk/gcc/config/pa/pa.h
trunk/gcc/config/pa/pa.md
trunk/gcc/config/pa/pa32-regs.h
trunk/gcc/config/pa/pa64-regs.h


-- 


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



[Bug testsuite/45590] New: FAIL: gcc.dg/graphite/pr44391.c: unrecognized command line option '-m32'

2010-09-07 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gnu/gcc-4.6/objdir/gcc/xgcc
-B/home/dave/gnu/gcc-4
.6/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/graphite/pr44391.c  
-Os -m32 -fgraphite-identity -ffast-math -S  -o pr44391.s(timeout =
300)cc1: error: unrecognized command line option '-m32'
compiler exited with status 1output is:cc1: error: unrecognized command line
option '-m32'FAIL: gcc.dg/graphite/pr44391.c (test for excess errors)
Excess errors:
cc1: error: unrecognized command line option '-m32'


-- 
   Summary: FAIL: gcc.dg/graphite/pr44391.c: unrecognized command
line option '-m32'
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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



[Bug testsuite/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)

2010-09-07 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-09-07 23:23 ---
Subject: Bug 43959

Author: danglin
Date: Tue Sep  7 23:23:30 2010
New Revision: 163979

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163979
Log:
PR testsuite/43959
* gcc.dg/torture/builtin-cproj-1.c: Require c99 runtime.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/builtin-cproj-1.c


-- 


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



[Bug testsuite/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)

2010-09-07 Thread danglin at gcc dot gnu dot org


--- Comment #9 from danglin at gcc dot gnu dot org  2010-09-08 00:24 ---
Subject: Bug 43959

Author: danglin
Date: Wed Sep  8 00:24:44 2010
New Revision: 163985

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163985
Log:
Revert
PR testsuite/43959
* gcc.dg/torture/builtin-cproj-1.c: Require c99 runtime.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/builtin-cproj-1.c


-- 


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



[Bug bootstrap/45568] New: [4.6 Regression] [prj-nmsc.o] raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2010-09-06 Thread danglin at gcc dot gnu dot org
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmis
sing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I.
-I/home/dave/
gnu/gcc/gcc/gcc/ada /home/dave/gnu/gcc/gcc/gcc/ada/prj-nmsc.adb -o prj-nmsc.o
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating threads.mk
config.status: creating include/gc_config.h
config.status: creating include/gc_ext_config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/boehm-gc
multidirs=
with_multisubdir=
config.status: executing depfiles commands
config.status: executing libtool commands
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmis
sing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I.
-I/home/dave/
gnu/gcc/gcc/gcc/ada /home/dave/gnu/gcc/gcc/gcc/ada/prj-pars.adb -o prj-pars.o
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmis
sing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I.
-I/home/dave/gnu/gcc/gcc/gcc/ada /home/dave/gnu/gcc/gcc/gcc/ada/prj-part.adb -o
prj-part.o
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I.
-I/home/dave/gnu/gcc/gcc/gcc/ada /home/dave/gnu/gcc/gcc/gcc/ada/prj-proc.adb -o
prj-proc.o

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
make[3]: *** [prj-nmsc.o] Error 1
make[3]: *** Waiting for unfinished jobs
Checking multilib configuration for libobjc...
mkdir -p -- hppa-linux/libobjc
Configuring in hppa-linux/libobjc
configure: creating cache ./config.cache
checking build system type... make[3]: Leaving directory
`/home/dave/gnu/gcc/objdir/gcc/ada/tools'
make[2]: *** [gnattools-native] Error 2
make[2]: Leaving directory `/home/dave/gnu/gcc/objdir/gnattools'
make[1]: *** [all-gnattools] Error 2
make[1]: *** Waiting for unfinished jobs

This build failure was introduced between revision 163743 and 163867.
163805 has a different Ada build failure.


-- 
   Summary: [4.6 Regression] [prj-nmsc.o] raised STORAGE_ERROR :
stack overflow (or erroneous memory access)
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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



[Bug middle-end/45251] [4.6 Regression] Java testsuite regressions on hppa-linux

2010-09-05 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-09-06 00:46 ---
These failures were introduced in revision 162943:

Author: rguenth
Date: Fri Aug  6 11:47:31 2010
New Revision: 162943

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162943
Log:
2010-08-06  Richard Guenther  rguent...@suse.de

* tree-ssa-ccp.c (struct prop_value_d): Add mask member.


-- 


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



[Bug testsuite/43957] [4.6 Regression] FAIL: gcc.dg/const-uniq-1.c scan-tree-dump-times gimple LC0 2

2010-09-04 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-09-04 19:40 ---
Subject: Bug 43957

Author: danglin
Date: Sat Sep  4 19:40:07 2010
New Revision: 163867

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163867
Log:
PR testsuite/43957
* gcc.dg/const-uniq-1.c: Modify regexp.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/const-uniq-1.c


-- 


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



[Bug testsuite/43957] [4.6 Regression] FAIL: gcc.dg/const-uniq-1.c scan-tree-dump-times gimple LC0 2

2010-09-04 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-09-04 19:46 ---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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



[Bug c/45491] New: FAIL: gcc.c-torture/compile/pr45085.c

2010-09-01 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/  
-
O0  -O2  -Wuninitialized -c  -o pr45085.o
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-
torture/compile/pr45085.c(timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c: In function
'fn
9':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t3' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t2' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t1' may be used uninitialized in this function [-Wuninitialized]
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c: In function
'fn
9':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t3' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t2' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t1' may be used uninitialized in this function [-Wuninitialized]

FAIL: gcc.c-torture/compile/pr45085.c  -O0  (test for excess errors)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t3' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t2' may be used uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr45085.c:35:12: warning: 
't.t1' may be used uninitialized in this function [-Wuninitialized]

First seen in revision 163038.  163010 was ok.


-- 
   Summary: FAIL: gcc.c-torture/compile/pr45085.c
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-08-27 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-08-27 12:50 ---
Introduced in revision 162337:

2010-07-20  Jakub Jelinek  ja...@redhat.com

* var-tracking.c (vt_expand_loc, vt_expand_loc_dummy): Bump maximum
depth to 8 from 5.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jakub at redhat dot com


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



[Bug middle-end/45388] New: [4.6 Regression] Global constructor not found

2010-08-23 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/test/gnu/
gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/abi/c
ovariant3.C  -nostdinc++
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-
v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/li
bstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gc
c/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmessage-length=0   -ansi -pedantic-errors -Wno-long-long   
-L/test/gnu/gcc/ob
jdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs 
-B/test/gnu/gcc/objdir/hppa
2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs 
-L/test/gnu/gcc/objdir/hppa2.0w-hp-h
pux11.11/./libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/.
/libiberty  -lm   -o ./covariant3.exe(timeout = 300)
/usr/ccs/bin/ld: Unsatisfied symbols:
   _GLOBAL__I__ZN2c12f6Ev (first referenced in /var/tmp//cca27s2P.o) (code)
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/ccs/bin/ld: Unsatisfied symbols:
   _GLOBAL__I__ZN2c12f6Ev (first referenced in /var/tmp//cca27s2P.o) (code)
collect2: ld returned 1 exit status

FAIL: g++.dg/abi/covariant3.C (test for excess errors)

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.6.0
--with-gmp=/opt/gnu/gcc/gcc-4.6.0 --enable-threads=posix --enable-debug=no
--disable-nls --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.6.0 20100822 (experimental) [trunk revision 163461] (GCC)


-- 
   Summary: [4.6 Regression] Global constructor not found
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hpux11.11
  GCC host triplet: hppa2.0w-hpux11.11
GCC target triplet: hppa2.0w-hpux11.11


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



[Bug middle-end/45388] [4.6 Regression] Global constructor not found

2010-08-23 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-08-23 20:58 ---
Constructor is no longer global:

.PARAM _GLOBAL__I__ZN2c12f6Ev,PRIV_LEV=3
L$FB0035:
_GLOBAL__I__ZN2c12f6Ev:

As a result, collect2 does not find the constructor.


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-22 Thread danglin at gcc dot gnu dot org


--- Comment #22 from danglin at gcc dot gnu dot org  2010-08-22 16:23 
---
Subject: Bug 34544

Author: danglin
Date: Sun Aug 22 16:23:38 2010
New Revision: 163461

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163461
Log:
PR boehm-gc/34544
* gthr-posix.h (__gthread_active_init): Delete.
(__gthread_active_p): Do activity check here.
Don't include errno.h on hppa-hpux.  Update comment.
* gthr-posix95.h (__gthread_active_init): Delete.
(__gthread_active_p): Do activity check here.
Don't include errno.h on hppa-hpux.  Update comment.
* config.gcc (hppa[12]*-*-hpux11*): Define extra_parts.
* config/pa/pa64-hpux.h (LIB_SPEC): When -static is specified, only
add -lpthread when -mt or -pthread is specified.
* config/pa/pa-hpux11.h (LIB_SPEC): likewise.
(LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS): Define.
(stublib.c, pthread_default_stacksize_np-stub.o,
pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o,
$(T)libgcc_stub.a): Add methods.
* config/pa/t-pa64 (LIBGCCSTUB_OBJS): Add pthread stubs.
(stublib.c, pthread_default_stacksize_np-stub.o,
pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o): Add methods.
* config/pa/stublib.c (pthread_default_stacksize_np,
pthread_mutex_lock,
pthread_mutex_unlock): New stubs.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/pa/pa-hpux11.h
trunk/gcc/config/pa/pa64-hpux.h
trunk/gcc/config/pa/stublib.c
trunk/gcc/config/pa/t-pa-hpux11
trunk/gcc/config/pa/t-pa64
trunk/gcc/gthr-posix.h
trunk/gcc/gthr-posix95.h


-- 


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



[Bug target/39690] ld: An unknown relocation type 8

2010-08-21 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-08-22 01:26 ---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug testsuite/45342] New: FAIL: gcc.dg/tls/thr-cse-1.c scan-assembler-not emutls_get_address.*emutls_get_address.*

2010-08-19 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tls/thr-cse-1.c   -O1 -S  -o thr-cse-1.s
(timeout = 300)
PASS: gcc.dg/tls/thr-cse-1.c (test for excess errors)
FAIL: gcc.dg/tls/thr-cse-1.c scan-assembler-not
emutls_get_address.*emutls_get_a
ddress.*

We have in the .s:
b,l __emutls_get_address,%r2
...
.type   __emutls_get_address, @function


-- 
   Summary: FAIL: gcc.dg/tls/thr-cse-1.c scan-assembler-not
emutls_get_address.*emutls_get_address.*
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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



[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-08-19 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-08-19 18:26 ---
Introduced by following change:

2010-07-22  Martin Jambor  mjam...@suse.cz

PR tree-optimization/44891
* tree-sra.c: Include gimple-pretty-print.h.
(replace_uses_with_default_def_ssa_name): Renamed to
get_repl_default_def_ssa_name, return the new SSA name instead of
replacing the old one.
(sra_modify_assign): Dump a message when removing a load, if the LHS
is an SSA_NAME, do not do any propagation, just set the RHS to a
default definition SSA NAME, type convert if necessary.
* Makefile.in (tree-sra.o): Add gimple-pretty-print.h to dependencies.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mjambor at suse dot cz


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



[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-08-19 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-08-19 18:33 ---
(In reply to comment #1)
 Introduced by following change:
 2010-07-22  Martin Jambor  mjam...@suse.cz
 PR tree-optimization/44891
 * tree-sra.c: Include gimple-pretty-print.h.
 (replace_uses_with_default_def_ssa_name): Renamed to
 get_repl_default_def_ssa_name, return the new SSA name instead of
 replacing the old one.
 (sra_modify_assign): Dump a message when removing a load, if the LHS
 is an SSA_NAME, do not do any propagation, just set the RHS to a
 default definition SSA NAME, type convert if necessary.
 * Makefile.in (tree-sra.o): Add gimple-pretty-print.h to dependencies.

Sorry Martin, I must be blind...
http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01959.html


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|mjambor at suse dot cz  |


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



[Bug preprocessor/45319] New: FAIL: libgomp.fortran/vla4.f90

2010-08-18 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/xgcc -B/mnt/gnu/gcc/objdir/gcc/
/mnt/
gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90 
-B/mnt/gnu/gcc/objdir/hp
pa2.0w-hp-hpux11.11/./libgomp/
-B/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./lib
gomp/.libs -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp
-I/mnt/gnu/gcc/
gcc/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -O0  
-B/mnt/gnu/gcc/objdi
r/hppa2.0w-hp-hpux11.11/./libgomp/../libgfortran/.libs  
-L/mnt/gnu/gcc/objdir/h
ppa2.0w-hp-hpux11.11/./libgomp/.libs -lgomp
-L/mnt/gnu/gcc/objdir/hppa2.0w-hp-hp
ux11.11/./libgomp/../libgfortran/.libs -lgfortran -lm   -o ./vla4.exe   
(timeou
t = 300)
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90: In function 'foo':
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90:96:0: warning:
barri
er region may not be closely nested inside of work-sharing, critical, ordered,
m
aster or explicit task region
output is:
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90: In function 'foo':
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90:96:0: warning:
barri
er region may not be closely nested inside of work-sharing, critical, ordered,
m
aster or explicit task region

FAIL: libgomp.fortran/vla4.f90  -O0   (test for warnings, line 97)
FAIL: libgomp.fortran/vla4.f90  -O0  (test for excess errors)
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla4.f90:96:0: warning:
barri
er region may not be closely nested inside of work-sharing, critical, ordered,
m
aster or explicit task region

Appears warning points to wrong line number.


-- 
   Summary: FAIL: libgomp.fortran/vla4.f90
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug fortran/45319] [4.5 Regression] FAIL: libgomp.fortran/vla4.f90

2010-08-18 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-08-18 14:32 ---
Similar fails:
FAIL: gfortran.dg/gomp/appendix-a/a.35.4.f90  -O   (test for warnings, line 11)
FAIL: gfortran.dg/gomp/appendix-a/a.35.4.f90  -O  (test for excess errors)
Excess errors:
/mnt/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.35.4.f90:9:0:
warni
ng: barrier region may not be closely nested inside of work-sharing, critical,
o
rdered, master or explicit task region

FAIL: libgomp.fortran/vla5.f90  -O0   (test for warnings, line 69)
FAIL: libgomp.fortran/vla5.f90  -O0  (test for excess errors)
Excess errors:
/mnt/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla5.f90:68:0: warning:
barri
er region may not be closely nested inside of work-sharing, critical, ordered,
m
aster or explicit task region


-- 


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



[Bug tree-optimization/44632] [4.4/4.5 regression] wrong code for complex division

2010-08-16 Thread danglin at gcc dot gnu dot org


--- Comment #20 from danglin at gcc dot gnu dot org  2010-08-16 20:18 
---
Subject: Bug 44632

Author: danglin
Date: Mon Aug 16 20:18:08 2010
New Revision: 163284

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163284
Log:
Backport from mainline:
2010-08-09  Richard Guenther  rguent...@suse.de

PR middle-end/44632
* function.c (gimplify_parameters): Do not clear addressable
bit of the original parameter.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/function.c


-- 


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



[Bug tree-optimization/44632] [4.4/4.5 regression] wrong code for complex division

2010-08-16 Thread danglin at gcc dot gnu dot org


--- Comment #21 from danglin at gcc dot gnu dot org  2010-08-16 20:25 
---
Subject: Bug 44632

Author: danglin
Date: Mon Aug 16 20:24:54 2010
New Revision: 163285

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163285
Log:
Backport from mainline:
2010-08-09  Richard Guenther  rguent...@suse.de

PR middle-end/44632
* function.c (gimplify_parameters): Do not clear addressable
bit of the original parameter.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/function.c


-- 


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



[Bug tree-optimization/44632] [4.4/4.5 regression] wrong code for complex division

2010-08-16 Thread danglin at gcc dot gnu dot org


--- Comment #22 from danglin at gcc dot gnu dot org  2010-08-16 20:27 
---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-14 Thread danglin at gcc dot gnu dot org


--- Comment #18 from danglin at gcc dot gnu dot org  2010-08-14 14:37 
---
Subject: Bug 34544

Author: danglin
Date: Sat Aug 14 14:36:47 2010
New Revision: 163242

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163242
Log:
Revert:
2010-08-10  John David Anglin  dave.ang...@nrc-cnrc.gc.ca

PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/gthr-posix.h
branches/gcc-4_3-branch/gcc/gthr-posix95.h


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-14 Thread danglin at gcc dot gnu dot org


--- Comment #19 from danglin at gcc dot gnu dot org  2010-08-14 14:43 
---
Subject: Bug 34544

Author: danglin
Date: Sat Aug 14 14:42:43 2010
New Revision: 163243

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163243
Log:
Revert:
2010-08-08  John David Anglin  dave.ang...@nrc-cnrc.gc.ca

PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/gthr-posix.h
branches/gcc-4_4-branch/gcc/gthr-posix95.h


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-14 Thread danglin at gcc dot gnu dot org


--- Comment #20 from danglin at gcc dot gnu dot org  2010-08-14 14:45 
---
Subject: Bug 34544

Author: danglin
Date: Sat Aug 14 14:45:20 2010
New Revision: 163244

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163244
Log:
Revert:
2010-08-08  John David Anglin  dave.ang...@nrc-cnrc.gc.ca

PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/gthr-posix.h
branches/gcc-4_5-branch/gcc/gthr-posix95.h


-- 


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



[Bug tree-optimization/45220] [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal compiler error: Segmenta

2010-08-10 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-08-10 14:56 ---
Reverting 162842 restores full bootstrap.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

   GCC host triplet|hppa2.0w-hp-hpux11.11,  |hppa2.0w-hp-hpux11.11
   |hppa64-hp-hpux11.11 |


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-10 Thread danglin at gcc dot gnu dot org


--- Comment #7 from danglin at gcc dot gnu dot org  2010-08-10 15:24 ---
Subject: Bug 34544

Author: danglin
Date: Tue Aug 10 15:23:07 2010
New Revision: 163071

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163071
Log:
PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/gthr-posix.h
branches/gcc-4_3-branch/gcc/gthr-posix95.h


-- 


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



[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-08-10 Thread danglin at gcc dot gnu dot org


--- Comment #20 from danglin at gcc dot gnu dot org  2010-08-10 22:13 
---
Test still fails on hppa-linux.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


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



[Bug target/45250] New: [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-08-10 Thread danglin at gcc dot gnu dot org
 optimized out, 
cb=value optimized out, data=0xbff01d48) at ../../gcc/gcc/cselib.c:2314
#7  0x0071dc64 in vt_expand_loc_callback (x=0xb20818, regs=0xb0fc50, 
max_depth=8, data=0xbff01d48) at ../../gcc/gcc/var-tracking.c:4558
#8  0x002ec1a0 in cselib_expand_value_rtx_1 (orig=0xb20818, evd=0xbff01d48, 
max_depth=11667480) at ../../gcc/gcc/cselib.c:2314
#9  0x002ed340 in cselib_expand_value_rtx_cb (orig=value optimized out, 
regs_active=value optimized out, max_depth=value optimized out, 
cb=value optimized out, data=0xbff01d48) at ../../gcc/gcc/cselib.c:2314
---Type return to continue, or q return to quit---
#10 0x00711034 in vt_expand_loc (loc=value optimized out, 
vars=value optimized out) at ../../gcc/gcc/var-tracking.c:4558
#11 0x00714608 in emit_note_insn_var_location (varp=0xb15930, 
data=value optimized out) at ../../gcc/gcc/var-tracking.c:4558
#12 0x008d9528 in htab_traverse_noresize (htab=value optimized out, 
callba...@0x9ff9be: 0x714158 emit_note_insn_var_location, 
info=0xbff01b48) at ../../gcc/libiberty/hashtab.c:543
#13 0x0071c3b4 in emit_notes_for_changes (insn=0x415379d8, 
where=EMIT_NOTE_BEFORE_INSN, vars=value optimized out)
at ../../gcc/gcc/var-tracking.c:4558
#14 0x0071c70c in vt_emit_notes () at ../../gcc/gcc/var-tracking.c:4558
#15 0x0071ffac in variable_tracking_main ()
at ../../gcc/gcc/var-tracking.c:4558
#16 0x004b9ae4 in execute_one_pass (pass=0x9fc1a0) at ./gt-passes.h:44

Failed assertion:
  gcc_assert (byte  GET_MODE_SIZE (innermode));


-- 
   Summary: [4.6 Regression] FAIL:
tr1/5_numerical_facilities/special_functions/01_assoc_la
guerre/check_nan.cc
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: ppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: ppa-unknown-linux-gnu


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



[Bug middle-end/45251] New: [4.6 Regression] Java testsuite regressions on hppa-linux

2010-08-10 Thread danglin at gcc dot gnu dot org
The following new fails appeared between revision 162917 and 162948:
FAIL: pr29812 execution - gij test
FAIL: ExtraClassLoader execution - source compiled test
FAIL: ExtraClassLoader -findirect-dispatch execution - source compiled test
FAIL: ExtraClassLoader -O3 execution - source compiled test
FAIL: ExtraClassLoader -O3 -findirect-dispatch execution - source compiled test

Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/objdi
r/gcc/ /home/dave/gnu/gcc/gcc/libjava/testsuite/libjava.jni/pr29812_injar.c 
-sh
ared -fPIC -I. -I.. -I/home/dave/gnu/gcc/gcc/libjava/testsuite/libjava.jni
-fdol
lars-in-identifiers -Wmissing-prototypes
-I/home/dave/gnu/gcc/gcc/libjava/testsu
ite/../include -I/home/dave/gnu/gcc/gcc/libjava/testsuite/../classpath/include  
 -lm   -o libpr29812_injar.so(timeout = 300)
PASS: pr29812_injar.c compilation
set_ld_library_path_env_vars:
ld_library_path=.:/home/dave/gnu/gcc/objdir/hppa-l
inux/./libjava/.libs:/home/dave/gnu/gcc/objdir/gcc
invoke: /home/dave/gnu/gcc/objdir/hppa-linux/./libjava/gij -classpath
/home/dave
/gnu/gcc/gcc/libjava/testsuite/libjava.jni/pr29812.jar pr29812
/home/dave/gnu/gc
c/gcc/libjava/testsuite/libjava.jni/pr29812_injar.jar 
Setting LD_LIBRARY_PATH to
.:/home/dave/gnu/gcc/objdir/hppa-linux/./libjava/.lib
s:/home/dave/gnu/gcc/objdir/gcc:.:/home/dave/gnu/gcc/objdir/hppa-linux/./libjava
/.libs:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux/libstd
c++-v3/.libs:/home/dave/gnu/gcc/objdir/hppa-linux/libmudflap/.libs:/home/dave/gn
u/gcc/objdir/hppa-linux/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux/libgom
p/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev-gcc
lt-gij:
/home/dave/gnu/gcc/gcc/libjava/testsuite/libjava.jni/pr29812_injar.c:16:
 JNI_OnLoad: Assertion `k != ((void *)0)' failed.
FAIL: pr29812 execution - gij test
UNTESTED: pr29812 output - gij test

The others are like the following:
Exception in thread main java.lang.ClassNotFoundException: C not found in
gnu.
gcj.runtime.SystemClassLoader{urls=[file:./,file:/home/dave/gnu/gcc/gcc/libjava/
testsuite/libjava.lang/,file:/home/dave/gnu/gcc/objdir/hppa-linux/libjava/testsu
ite/,file:/home/dave/gnu/gcc/objdir/hppa-linux/libjava/testsuite/../libgcj-4.6.0
.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:452)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:387)
   at java.lang.Class.forName(natClass.cc:105)
   at java.lang.Class.newInstance(natClass.cc:664)
   at ExtraClassLoader.main(ExtraClassLoader.java:9)
FAIL: ExtraClassLoader execution - source compiled test
UNTESTED: ExtraClassLoader output - source compiled test


-- 
   Summary: [4.6 Regression] Java testsuite regressions on hppa-
linux
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-08-08 15:04 ---
Subject: Bug 34544

Author: danglin
Date: Sun Aug  8 15:04:38 2010
New Revision: 163003

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163003
Log:
PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/gthr-posix.h
trunk/gcc/gthr-posix95.h


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-08-08 15:08 ---
Subject: Bug 34544

Author: danglin
Date: Sun Aug  8 15:07:53 2010
New Revision: 163004

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163004
Log:
PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/gthr-posix.h
branches/gcc-4_5-branch/gcc/gthr-posix95.h


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-08-08 15:11 ---
Subject: Bug 34544

Author: danglin
Date: Sun Aug  8 15:11:20 2010
New Revision: 163005

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163005
Log:
PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/gthr-posix.h
branches/gcc-4_4-branch/gcc/gthr-posix95.h


-- 


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-08-08 15:17 ---
Fixed on trunk, 4.5 and 4.4.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-08-08 19:55 ---
Subject: Bug 44805

Author: danglin
Date: Sun Aug  8 19:55:40 2010
New Revision: 163017

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163017
Log:
Backport from mainline.
2010-07-17  John David Anglin  dave.ang...@nrc-cnrc.gc.ca

PR target/44805
* config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
on all targets.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/pa/pa.h


-- 


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



[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-08-08 19:57 ---
Subject: Bug 44805

Author: danglin
Date: Sun Aug  8 19:57:46 2010
New Revision: 163018

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163018
Log:
Backport from mainline.
2010-07-17  John David Anglin  dave.ang...@nrc-cnrc.gc.ca

PR target/44805
* config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
on all targets.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/pa/pa.h


-- 


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



[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-08-08 Thread danglin at gcc dot gnu dot org


--- Comment #17 from danglin at gcc dot gnu dot org  2010-08-09 00:19 
---
The match string doesn't work on hppa-linux:

FAIL: g++.dg/debug/dwarf2/lineno-simple1.C scan-assembler
_ZN1CC[12]Ev:[^\\t]*(\
\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:4\\n
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C scan-assembler
_ZN1C3fooEv:[^\\t]*(\\
t.(frame|mask|file)[^\\t]*)*\\t[^:]+:6\\nFAIL:
g++.dg/debug/dwarf2/lineno-simple1.C scan-assembler main:[^\\t]*(\\t.(fram
e|mask|file)[^\\t]*)*\\t[^:]+:12\\n
FAIL: g++.dg/debug/dwarf2/nested-2.C scan-assembler
[^\n\r]*\\(DIE[^\n\r]*DW_TAG
_structure_type\\)[\n\r]+[^\n\r]*S0[ \t]+(#|//)[
\t]+DW_AT_name[\n\r]+(.*)
?\\(DIE[^\n\r]*DW_TAG_structure_type\\)[\n\r]+[^\n\r]*Tint0[
\t]+(.*)?\\
(DIE[^\n\r]*DW_TAG_template_type_param\\)[\n\r]+[^\n\r]*[\n\r]+[^\n\r]*[\n\r]+[^
\n\r]*(#|//)[ \t]+end of children of DIE[^\n\r]*[\n\r]+[^\n\r]*end of children
o
f DIE[^\n\r]*
FAIL: g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgI4FullEC[12]
Ev:[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:21\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgI4FullED0Ev:
[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:21\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgIP3ArgEC[12]
Ev:[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:28\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgIP3ArgED0Ev:
[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:28\\nFAIL:
g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgI3ArgEC[12]Ev:[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:34\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C scan-assembler
_ZN12MisplacedDbgI3ArgED0Ev:[^\\t]*(\\t.(frame|mask|file)[^\\t]*)*\\t[^:]+:34\\n


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug bootstrap/45118] No rule to make target `.deps/affinity.Plo'

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-08-07 17:42 ---
I have been unable to duplicate in several subsequent builds.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX


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



[Bug target/44632] [4.4/4.5/4.6 regression] wrong code for complex division

2010-08-07 Thread danglin at gcc dot gnu dot org


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-08-07 19:13:51
   date||


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



[Bug target/44632] [4.4/4.5/4.6 regression] wrong code for complex division

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-08-07 19:32 ---
Starting program: /home/dave/gnu/gcc-4.6/objdir/gcc/testsuite/g++/test 
(2,0)

Breakpoint 2, 0x000109f8 in f (x=...) at test.cxx:12
12   x = 1.0 / x;
(gdb) step
std::operator/double (_...@0xc0246388, __y=...)
at /home/dave/gnu/gcc/objdir/hppa-linux/libstdc++-v3/include/complex:429
429   complex_Tp __r = __x;
(gdb) p __y
$15 = (const std::complexdouble *) 0xc0246390
(gdb) p __r
$16 = (std::complexdouble *) 0xc0246390
(gdb) p __y
$17 = (const std::complexdouble ) @0xc0246390: {_M_value = 2 + 0 * I}
(gdb) p __r
$18 = {_M_value = 2 + 0 * I}
(gdb) step
std::complexdouble::complex (this=0xc0246390, __r=1, __i=0)
at /home/dave/gnu/gcc/objdir/hppa-linux/libstdc++-v3/include/complex:1172
1172__real__ _M_value = __r;
(gdb) 
1173__imag__ _M_value = __i;
(gdb) 
1174  }
(gdb) 
std::operator/double (_...@0xc0246388, __y=...)
at /home/dave/gnu/gcc/objdir/hppa-linux/libstdc++-v3/include/complex:430
430   __r /= __y;
(gdb) p __y
$19 = (const std::complexdouble ) @0xc0246390: {_M_value = 1 + 0 * I}
(gdb) p __r
$20 = {_M_value = 1 + 0 * I}

The problem is __r and __y share the same location.


-- 


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



[Bug tree-optimization/44632] [4.4/4.5/4.6 regression] wrong code for complex division

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-08-07 19:52 ---
With slightly modified test,

#include complex
#include iostream

void g(std::complexdouble x)
{
 std::cout  x  std::endl;
}

void f(std::complexdouble x)
{
 g (x);
 x = 1.0 / x;
 g (x);
}

int main()
{
 f(2.0);
}

it appears RTL is wrong at expansion:

;; x.1 = std::operator/double (D.24646, x.1); [return slot optimization]

(insn 18 17 19 (set (reg:SI 102)
(plus:SI (reg/f:SI 90 virtual-stack-vars)
(const_int 8 [0x8]))) test.cxx:12 -1
 (nil))
(insn 19 18 20 (set (reg:SI 103)
(plus:SI (reg/f:SI 90 virtual-stack-vars)
(const_int 8 [0x8]))) test.cxx:12 -1
 (nil))

(insn 20 19 21 (set (reg:SI 28 %r28)
(reg:SI 103)) test.cxx:12 -1
 (nil))

(insn 21 20 22 (set (reg:SI 26 %r26)
(reg/f:SI 90 virtual-stack-vars)) test.cxx:12 -1
 (nil))

(insn 22 21 23 (set (reg:SI 25 %r25)
(reg:SI 102)) test.cxx:12 -1
 (nil))

(call_insn 23 22 0 (parallel [
(call (mem:SI (symbol_ref/v/i:SI
(@_ZStdvIdESt7complexIT_ERKS1_RKS2_) [flags 0x1]  function_decl 0x40f5d600
operator/) [0 S4 A32])
(const_int 16 [0x10]))
(clobber (reg:SI 1 %r1))
(clobber (reg:SI 2 %r2))
(use (const_int 0 [0]))
]) test.cxx:12 -1
 (nil)
(expr_list:REG_DEP_TRUE (use (reg:SI 25 %r25))
(expr_list:REG_DEP_TRUE (use (reg:SI 26 %r26))
(expr_list:REG_DEP_TRUE (use (reg:SI 28 %r28))
(nil)


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|target  |tree-optimization


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



[Bug tree-optimization/44632] [4.4/4.5/4.6 regression] wrong code for complex division

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-08-07 19:58 ---
Richard do you know what's wrong?  I think the issue is the return slot
optimization.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #19 from danglin at gcc dot gnu dot org  2010-08-07 20:26 
---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug target/44581] [4.5/4.6 Regression] internal compiler error: in simplify_subreg

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-08-07 22:04 ---
Appears to be fixed on trunk.


-- 


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



[Bug tree-optimization/45220] [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal compiler error: Segmenta

2010-08-07 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-08-08 01:00 ---
Introduced in revision 162842.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org
   Target Milestone|4.6.0   |---


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



[Bug tree-optimization/45220] New: [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal compiler error: Segmenta

2010-08-06 Thread danglin at gcc dot gnu dot org
/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu/gcc/gc
c-4.6.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.1
1/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/include -isystem
/o
pt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H -I.
-I../
../../../gcc/libjava/libltdl -g -O2 -c ../../../../gcc/libjava/libltdl/ltdl.c 
-
fPIC -DPIC -o .libs/ltdl.o
/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc
-4.6.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11
/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/include -isystem
/op
t/gnu/gcc/gcc-4.6.0/hppa2.0w-hp-hpux11.11/sys-include-c -g -O2   -W -Wall
-g
natpg   s-fileio.adb -o s-fileio.o
s-fileio.adb: In function 'System.File_Io.Close':
s-fileio.adb:308:10: warning: 'Errno' may be used uninitialized in this
function
 [-Wuninitialized]
../../../../gcc/libjava/libltdl/ltdl.c: In function 'sys_shl_sym':
../../../../gcc/libjava/libltdl/ltdl.c:1272:1: internal compiler error:
Segmenta
tion fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
make[4]: *** [ltdl.lo] Error 1
make[4]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/l
ibltdl'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/l
ibltdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: *** Waiting for unfinished jobs

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.6.0
--with-gmp=/opt/gnu/gcc/gcc-4.6.0 --enable-threads=posix --enable-debug=no
--disable-nls --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.6.0 20100806 (experimental) [trunk revision 162948] (GCC) 

Program received signal SIGSEGV, Segmentation fault.
0x0062ab88 in dominated_by_p (dir=CDI_DOMINATORS, bb1=0x7ae08e10, bb2=0x0)
at ../../gcc/gcc/dominance.c:973
973   struct et_node *n1 = bb1-dom[dir_index], *n2 = bb2-dom[dir_index];

(gdb) bt
#0  0x0062ab88 in dominated_by_p (dir=CDI_DOMINATORS, bb1=0x7ae08e10, bb2=0x0)
at ../../gcc/gcc/dominance.c:973
#1  0x02781b14 in dse_possible_dead_store_p (stmt=0x7ae0ac90, 
use_stmt=0x7eff0e98) at ../../gcc/gcc/tree-ssa-dse.c:202
#2  0x02781de4 in dse_optimize_stmt (dse_gd=0x7eff0d28, bd=0x400c2620,
gsi=Cannot access memory at address 0x10
)
at ../../gcc/gcc/tree-ssa-dse.c:296
#3  0x0278219c in dse_enter_block (walk_data=0x7eff0d08, bb=0x7ae08e10)
at ../../gcc/gcc/tree-ssa-dse.c:369
#4  0x031b2c8c in walk_dominator_tree (walk_data=0x7eff0d08, bb=0x7ae08e10)
at ../../gcc/gcc/domwalk.c:188
#5  0x0278249c in tree_ssa_dse () at ../../gcc/gcc/tree-ssa-dse.c:429
#6  0x00c8a508 in execute_one_pass (pass=0x400c8460)
at ../../gcc/gcc/passes.c:1564
#7  0x00c8a800 in execute_pass_list (pass=0x400c8460)
at ../../gcc/gcc/passes.c:1619
#8  0x00c8a824 in execute_pass_list (pass=0x4001cfe8)
at ../../gcc/gcc/passes.c:1620
#9  0x02500b84 in tree_rest_of_compilation (fndecl=0x7ae9b500)
at ../../gcc/gcc/tree-optimize.c:452
#10 0x013f2638 in cgraph_expand_function (node=0x7ae8ded8)
at ../../gcc/gcc/cgraphunit.c:1643
#11 0x013f29ac in cgraph_expand_all_functions ()
at ../../gcc/gcc/cgraphunit.c:1722
#12 0x013f33e4 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1978
#13 0x013f066c in cgraph_finalize_compilation_unit ()
at ../../gcc/gcc/cgraphunit.c:1185
#14 0x000bd144 in c_write_global_declarations ()
at ../../gcc/gcc/c-decl.c:9698
#15 0x00e377e4 in compile_file () at ../../gcc/gcc/toplev.c:983
#16 0x00e3b3d0 in do_compile () at ../../gcc/gcc/toplev.c:2321
#17 0x00e3b55c in toplev_main (argc=27, argv=0x7eff06a4)
at ../../gcc/gcc/toplev.c:2362
#18 0x00363164 in main (argc=27, argv=0x7eff06a4) at ../../gcc/gcc/main.c:36


-- 
   Summary: [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal
compiler error: Segmenta
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges

2010-08-05 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-08-05 15:43 ---
Also seen on darwin9.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-08-05 15:43:13
   date||


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



[Bug middle-end/45150] [4.6 Regression] bootstrap debug-compare fail

2010-08-04 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-08-04 15:00 ---
I back-ported r162697 to r162678 and see comparison fail at r162678.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-08-04 15:00:59
   date||


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



[Bug rtl-optimization/45162] [4.6 regression] ARM bootstrap comparison failures after stage 3

2010-08-04 Thread danglin at gcc dot gnu dot org


--- Comment #9 from danglin at gcc dot gnu dot org  2010-08-04 16:38 ---
The patch fixes the darwin comparison failure.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-28 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-07-28 15:00 ---
(In reply to comment #4)
 While the ICE nominally results from a hash lookup failure, replacing
 libiberty.a with the stage1 version makes no difference.  Thus, it
 doesn't appear that the problem is with the hash code.

This is wrong.  Hash related failure is different bug.  The backtrace
for this ICE is:

Program received signal SIGSEGV, Segmentation fault.
commutative_operand_precedence (op=0x0) at ../../gcc/gcc/rtlanal.c:2914
2914  enum rtx_code code = GET_CODE (op);
(gdb) bt
#0  commutative_operand_precedence (op=0x0) at ../../gcc/gcc/rtlanal.c:2914
#1  0x003b135c in swap_commutative_operands_p (x=value optimized out, y=0x0)
at ../../gcc/gcc/rtlanal.c:2980
#2  0x003ee244 in simplify_const_relational_operation (code=NE, mode=SImode, 
op0=0x400122b8, op1=0x0) at ../../gcc/gcc/simplify-rtx.c:4256
#3  0x003e4ee0 in simplify_relational_operation (code=NE, mode=SImode, 
cmp_mode=SImode, op0=0x400122b8, op1=0x0)
at ../../gcc/gcc/simplify-rtx.c:3904
#4  0x003e565c in simplify_gen_relational (code=NE, mode=VOIDmode, 
cmp_mode=value optimized out, op0=0x400122b8, op1=0x0)
at ../../gcc/gcc/simplify-rtx.c:346
#5  0x00317ec4 in iv_number_of_iterations (loop=0x7, desc=0x9b62d8)
at ../../gcc/gcc/loop-iv.c:2609
#6  check_simple_exit (loop=0x7, desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2847
#7  find_simple_exit (loop=0x7, desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2872

(gdb) p/x $pc
$2 = 0x3b11d8
(gdb) disass 0x3b11c8,0x3b11e8
Dump of assembler code from 0x3b11c8 to 0x3b11e8:
   0x003b11c8 regno_use_in+276:   ldo -4(r7),r7
   0x003b11cc regno_use_in+280:   b,l 0x3b10f8 regno_use_in+68,r0
   0x003b11d0 regno_use_in+284:   ldi 0,ret0
   0x003b11d4 commutative_operand_precedence+0:   stw rp,-14(sp)
= 0x003b11d8 commutative_operand_precedence+4:   ldh 0(r26),r19
   0x003b11dc commutative_operand_precedence+8:   ldo 40(sp),sp
   0x003b11e0 commutative_operand_precedence+12:  ldi 1e,r20
   0x003b11e4 commutative_operand_precedence+16:  cmpb,
r20,r19,0x3b11f8 commutative_operand_precedence+36
End of assembler dump.
(gdb) p/x $r26
$3 = 0x0

ICE also seen on hppa2.0w-hp-hpux11.11.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||bernds at gcc dot gnu dot
   ||org
  GCC build triplet|hppa-unknown-linux-gnu  |hppa*-*-* (32-bit)
   GCC host triplet|hppa-unknown-linux-gnu  |hppa*-*-* (32-bit)
 GCC target triplet|hppa-unknown-linux-gnu  |hppa*-*-* (32-bit)


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-28 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-07-28 15:15 ---
2609  assumption = simplify_gen_relational (NE, SImode, mode, tmp,
const0_rtx);

For some reason, 0 is being passed instead of const0_rtx.


-- 


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-28 Thread danglin at gcc dot gnu dot org


--- Comment #7 from danglin at gcc dot gnu dot org  2010-07-28 15:33 ---
   0x00317ea8 find_simple_exit+5636:  ldw -cc(sp),r19
   0x00317eac find_simple_exit+5640:  copy ret0,r23
   0x00317eb0 find_simple_exit+5644:  stw r19,-34(sp)
   0x00317eb4 find_simple_exit+5648:  copy r5,r24
   0x00317eb8 find_simple_exit+5652:  ldi 50,r26
   0x00317ebc find_simple_exit+5656:  b,l 0x30d394,rp
   0x00317ec0 find_simple_exit+5660:  ldi 7,r25

The op1 value is loaded from the stack frame at -0xcc.  The
frame value appears to be set here:

   0x00317e48 find_simple_exit+5540:  stw r19,-cc(sp)

Breakpoint 3, 0x00317e48 in iv_number_of_iterations (loop=0x40296580, 
desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2605
2605  bound = GEN_INT (((unsigned HOST_WIDEST_INT) 1  (size - 1 ) 
1) - 1);
(gdb) p/x $r19
$10 = 0x0
(gdb) p size
$11 = 31


-- 


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-28 Thread danglin at gcc dot gnu dot org


--- Comment #13 from danglin at gcc dot gnu dot org  2010-07-28 20:21 
---
RTL seems to go wrong in ira.  We have after sched1:

(insn 1311 1308 1312 134 (set (reg/f:SI 926 [ const_int_rtx+256 ])   
(mem/s/f:SI (plus:SI (reg/f:SI 1207)(const_int 256 [0x100])) [3
const_int_rtx+256 S4 A32])) ../../gcc/gcc/loop-iv.c:2609 37 {*pa.md:2102}
 (expr_list:REG_EQUAL (mem/s/f:SI (const:SI (plus:SI (symbol_ref:SI
(const_int_rtx) [flags 0x240]  var_decl 0x40836b40 const_int_rtx)
(const_int 256 [0x100]))) [3 const_int_rtx+256 S4 A32])
(nil)))

(insn 1312 1311 1315 134 (set (mem:SI (plus:SI (reg/f:SI 30 %r30)
(const_int -52 [0xffcc])) [0 S4 A32])
(reg/f:SI 926 [ const_int_rtx+256 ])) ../../gcc/gcc/loop-iv.c:2609 37
{*pa.md:2102}
 (expr_list:REG_DEAD (reg/f:SI 926 [ const_int_rtx+256 ])
(nil)))

We have after ira:

(insn 1311 1308 2909 134 (set (reg/f:SI 19 %r19 [orig:926 const_int_rtx+256 ]
[926])(mem/s/f:SI (plus:SI (reg/f:SI 12 %r12 [1207])   
(const_int 256 [0x100])) [3 const_int_rtx+256 S4 A32]))
../../gcc/gcc/loop-iv.c:2609 37 {*pa.md:2102}
 (expr_list:REG_EQUIV (mem/s/f:SI (plus:SI (reg/f:SI 12 %r12 [1207])
(const_int 256 [0x100])) [3 const_int_rtx+256 S4 A32])
(expr_list:REG_EQUAL (mem/s/f:SI (const:SI (plus:SI (symbol_ref:SI
(const_int_rtx) [flags 0x240]  var_decl 0x40836b40 const_int_rtx)
(const_int 256 [0x100]))) [3 const_int_rtx+256 S4 A32])
(nil

(insn 2909 1311 1312 134 (set (reg:SI 19 %r19)
(mem/c:SI (plus:SI (reg/f:SI 30 %r30)
(const_int -204 [0xff34])) [84 S4 A32]))
../../gcc/gcc/loop-iv.c:2609 37 {*pa.md:2102}
 (nil))

(insn 1312 2909 1315 134 (set (mem:SI (plus:SI (reg/f:SI 30 %r30)
(const_int -52 [0xffcc])) [0 S4 A32])
(reg/f:SI 19 %r19 [orig:926 const_int_rtx+256 ] [926]))
../../gcc/gcc/loop-iv.c:2609 37 {*pa.md:2102}
 (nil))


-- 


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



[Bug bootstrap/45118] New: No rule to make target `.deps/affinity.Plo'

2010-07-28 Thread danglin at gcc dot gnu dot org
libtool: compile:  /Users/dave/gnu/gcc/objdir/./gcc/xgcc
-B/Users/dave/gnu/gcc/o
bjdir/./gcc/ -B/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/bin/
-B/opt/gnu/gcc/gcc
-4.6.0/i686-apple-darwin9/lib/ -isystem
/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin
9/include -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/sys-include
-DHAVE_
CONFIG_H -I. -I../../../gcc/libgomp -I../../../gcc/libgomp/config/bsd
-I../../..
/gcc/libgomp/config/posix -I../../../gcc/libgomp -Wall -pthread -Werror -g -O2
-
MT affinity.lo -MD -MP -MF .deps/affinity.Tpo -c
../../../gcc/libgomp/config/pos
ix/affinity.c -o affinity.o /dev/null 21
mv -f .deps/time.Tpo .deps/time.Plo
make  DO=all multi-do # make
mv -f .deps/bar.Tpo .deps/bar.Plo
/Users/dave/gnu/gcc/objdir/./gcc/gfortran -B/Users/dave/gnu/gcc/objdir/./gcc/
-B
/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/bin/
-B/opt/gnu/gcc/gcc-4.6.0/i686-app
le-darwin9/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/include
-isys
tem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/sys-include-g -O2 -Wall
-fsynt
ax-only omp_lib.f90
mv -f .deps/affinity.Tpo .deps/affinity.Plo
make[6]: *** No rule to make target `.deps/affinity.Plo'.  Stop.
make[5]: *** [all-multi] Error 2


-- 
   Summary: No rule to make target `.deps/affinity.Plo'
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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



[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-07-27 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-27 21:56 ---
pthread_default_stacksize_np fails with error EPERM.

[New process 12140, lwp 4032369]
[process 12140, lwp 4032369 exited]

Breakpoint 1, main () at ../../../gcc/boehm-gc/tests/test.c:1797

I think this is caused by the current implementation of __gthread_active_p
on hpux.  The above behavior suggests an alternate implementation.


-- 


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



[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-27 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-07-27 23:19 ---
Introduced in revision 162418.  Don't see any difference in gcc (C)
testresults for 162417 (full bootstrap) and 162418 (--disable-bootstrap).

While the ICE nominally results from a hash lookup failure, replacing
libiberty.a with the stage1 version makes no difference.  Thus, it
doesn't appear that the problem is with the hash code.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

  GCC build triplet|hppa-unknown-linu-gnu   |hppa-unknown-linux-gnu
   GCC host triplet|hppa-unknown-linu-gnu   |hppa-unknown-linux-gnu
 GCC target triplet|hppa-unknown-linu-gnu   |hppa-unknown-linux-gnu


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



[Bug target/45063] New: ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-24 Thread danglin at gcc dot gnu dot org
libtool: compile:  /home2/dave/gcc-4.6/objdir/./gcc/xgcc
-B/home2/dave/gcc-4.6/o
bjdir/./gcc/ -B/home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/bin/
-B/home2/dave/o
pt/gnu/gcc/gcc-4.6.0/hppa-linux/lib/ -isystem
/home2/dave/opt/gnu/gcc/gcc-4.6.0/
hppa-linux/include -isystem
/home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/sys-inc
lude -DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran
-iquote../../../gcc/libgfort
ran/io -I../../../gcc/libgfortran/../gcc
-I../../../gcc/libgfortran/../gcc/confi
g -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-pro
totypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules
-ffunc
tion-sections -fdata-sections -ftree-vectorize -funroll-loops -g -O2 -MT
matmul_
i1.lo -MD -MP -MF .deps/matmul_i1.Tpo -c
../../../gcc/libgfortran/generated/matm
ul_i1.c  -fPIC -DPIC -o .libs/matmul_i1.o
../../../gcc/libgfortran/generated/matmul_i1.c: In function 'matmul_i1':
../../../gcc/libgfortran/generated/matmul_i1.c:374:1: internal compiler error:
S

d...@gsyprf11:~/gcc-4.6/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--enable-nls --prefix=/home2/dave/opt/gnu/gcc/gcc-4.6.0
--with-local-prefix=/home2/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu
--enable-java-gc=boehm --enable-java-awt=xlib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
Thread model: posix
gcc version 4.6.0 20100722 (experimental) [trunk revision 162433] (GCC) 

162392 was ok.


-- 
   Summary: ICE: Segmentation fault (cc1) compiling matmul_i1.c
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linu-gnu
  GCC host triplet: hppa-unknown-linu-gnu
GCC target triplet: hppa-unknown-linu-gnu


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



[Bug middle-end/45017] miscompile with bitfield and optimization

2010-07-23 Thread danglin at gcc dot gnu dot org


--- Comment #8 from danglin at gcc dot gnu dot org  2010-07-23 13:17 ---
Test fails on hppa64-hp-hpux11.11.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-07-18 Thread danglin at gcc dot gnu dot org


--- Comment #17 from danglin at gcc dot gnu dot org  2010-07-18 15:20 
---
And on hppa64-hp-hpux11.11 gcc-4.6 162277 in stage2:

/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu64/gcc/g
cc-4.6.0/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-4.6.0/hppa64-hp-hpux11.11
/lib/ -isystem /opt/gnu64/gcc/gcc-4.6.0/hppa64-hp-hpux11.11/include -isystem
/op
t/gnu64/gcc/gcc-4.6.0/hppa64-hp-hpux11.11/sys-include-g -O2 -O2  -g -O2
-DIN
_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-protot
ypes -Wold-style-definition  -isystem ./include  -fPIC -Dpa64=1 -DELF=1
-mlong-c
alls -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I..
/.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/..
/gcc -I../../../gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_popcountdi
2.o -MT _popcountdi2.o -MD -MP -MF _popcountdi2.dep -DL_popcountdi2 -c
../../../
gcc/libgcc/../gcc/libgcc2.c \
  -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/../gcc/libgcc2.c: In function
'__popcountsi2':../../../gcc/l
ibgcc/../gcc/libgcc2.c: In function '__popcountdi2':

../../../gcc/libgcc/../gcc/libgcc2.c:791:1: internal compiler error:
Segmentatio
n fault


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-17 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-07-17 22:51 ---
Subject: Bug 44805

Author: danglin
Date: Sat Jul 17 22:51:34 2010
New Revision: 162278

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=162278
Log:
PR target/44805
* config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
on all targets.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.h


-- 


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



[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-17 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-07-17 23:00 ---
Fixed on trunk.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug fortran/44953] FAIL: gfortran.dg/char4_iunit_1.f03 * execution test

2010-07-15 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-07-16 01:01 ---
Also in hppa64-hp-hpux11.11.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-07-16 01:01:51
   date||


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



[Bug target/44903] [4.6 Regression] FAIL: gcc.dg/pr35258.c execution test

2010-07-13 Thread danglin at gcc dot gnu dot org


--- Comment #15 from danglin at gcc dot gnu dot org  2010-07-14 00:18 
---
We get a segv here:

Program received signal SIGSEGV, Segmentation fault.
0x0017686c in emit_block_move_hints (x=0x7afb3610, y=0x7afb36f0, 
size=0x7af312d8, method=1074100336, expected_align=0, expected_size=-1)
at ../../gcc/gcc/expr.c:1146
1146  align = MIN (MEM_ALIGN (x), MEM_ALIGN (y));

(gdb) p debug_rtx (x)
(reg:SI 94 [ D.1980 ])
$2 = void
(gdb) p debug_rtx (y)
(mem/c:BLK (plus:SI (reg/f:SI 97)
(const_int 1 [0x1])) [0 MEM[(char * {ref-all})str + 1B]+0 S4 A8])


-- 


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



[Bug target/44903] [4.6 Regression] FAIL: gcc.dg/pr35258.c execution test

2010-07-11 Thread danglin at gcc dot gnu dot org


--- Comment #8 from danglin at gcc dot gnu dot org  2010-07-11 16:33 ---
With 4.5, the block move was emitted as follows:

Breakpoint 2, emit_block_move_hints (x=0x7afcb550, y=0x7afcb630, 
size=0x7af312d8, method=BLOCK_OP_NORMAL, expected_align=64, 
expected_size=-1) at ../../gcc/gcc/expr.c:1170
1170  rtx retval = 0;
(gdb) bt
#0  emit_block_move_hints (x=0x7afcb550, y=0x7afcb630, size=0x7af312d8, 
method=BLOCK_OP_NORMAL, expected_align=64, expected_size=-1)
at ../../gcc/gcc/expr.c:1170
#1  0x002d5e8c in expand_builtin_memcpy (exp=0x7afaae10, target=0x7af312b8)
at ../../gcc/gcc/builtins.c:3326
#2  0x002dc884 in expand_builtin (exp=0x7afaae10, target=0x7af312b8, 
subtarget=0x0, mode=VOIDmode, ignore=1) at ../../gcc/gcc/builtins.c:5972
#3  0x004d0cbc in expand_expr_real_1 (exp=0x7afaae10, target=0x0, 
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
at ../../gcc/gcc/expr.c:9262
#4  0x00e043dc in expand_call_stmt (stmt=0x7af299c0)
at ../../gcc/gcc/cfgexpand.c:1789
#5  0x00e045cc in expand_gimple_stmt_1 (stmt=0x7af299c0)
at ../../gcc/gcc/cfgexpand.c:1822
#6  0x00e04bfc in expand_gimple_stmt (stmt=0x7af299c0)
at ../../gcc/gcc/cfgexpand.c:1978
#7  0x00e09348 in expand_gimple_basic_block (bb=0x7afcc240)
at ../../gcc/gcc/cfgexpand.c:3401
#8  0x00e0ab3c in gimple_expand_cfg () at ../../gcc/gcc/cfgexpand.c:3851
#9  0x0077b644 in execute_one_pass (pass=0x4003c990)
at ../../gcc/gcc/passes.c:1568
#10 0x0077b928 in execute_pass_list (pass=0x4003c990)
at ../../gcc/gcc/passes.c:1623
#11 0x016891fc in tree_rest_of_compilation (fndecl=0x7afa4900)
at ../../gcc/gcc/tree-optimize.c:413
#12 0x00bd40f8 in cgraph_expand_function (node=0x7afb3000)
at ../../gcc/gcc/cgraphunit.c:1574
#13 0x00bd4460 in cgraph_expand_all_functions ()
at ../../gcc/gcc/cgraphunit.c:1653
#14 0x00bd4ea4 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1909
#15 0x00bd2cc4 in cgraph_finalize_compilation_unit ()
at ../../gcc/gcc/cgraphunit.c:1122
#16 0x000a8524 in c_write_global_declarations ()
at ../../gcc/gcc/c-decl.c:9519
#17 0x0087a810 in compile_file () at ../../gcc/gcc/toplev.c:1065
#18 0x0087ddb4 in do_compile () at ../../gcc/gcc/toplev.c:2417
#19 0x0087df34 in toplev_main (argc=17, argv=0x7eff05bc)
at ../../gcc/gcc/toplev.c:2459
#20 0x00252d94 in main (argc=17, argv=0x7eff05bc) at ../../gcc/gcc/main.c:35


-- 


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



[Bug tree-optimization/44903] New: FAIL: gcc.dg/pr35258.c execution test

2010-07-10 Thread danglin at gcc dot gnu dot org
Wrong code is generated causing bus error in test(gdb):

(gdb) r
Program received signal SIGBUS, Bus error.
0x2b48 in bar ()
(gdb) disass
Dump of assembler code for function bar:
   0x2b40 +0: addil L%-800,dp,r1
   0x2b44 +4: ldo 780(r1),r1
= 0x2b48 +8: ldw 1(r1),ret0
   0x2b4c +12:extrw,u ret0,15,16,r19
   0x2b50 +16:sth r19,2(r1)
   0x2b54 +20:sth ret0,4(r1)
   0x2b58 +24:ldi 2e,ret0
   0x2b5c +28:bv r0(rp)
   0x2b60 +32:stb ret0,1(r1)

Register r1 points to str which has 4-byte alignment.  So,
the memory address for the ldw instruction is misaligned.

The test would also fail on linux if the unaligned handler
was disabled.

We have the following for function bar after coalescing:

bar ()
{
  unsigned int D.1980;

  # BLOCK 2 freq:1
  # PRED: ENTRY [100.0%]  (fallthru,exec)
  D.1980_3 = MEM[(char * {ref-all})str + 1B];
  MEM[(char * {ref-all})str + 2B] = D.1980_3;
  str[1] = 46;
  return;
  # SUCC: EXIT [100.0%] 

}


-- 
   Summary: FAIL: gcc.dg/pr35258.c execution test
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-hpux*
  GCC host triplet: hppa*-*-hpux*
GCC target triplet: hppa*-*-hpux*


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



[Bug tree-optimization/44903] [4.6 Regression] FAIL: gcc.dg/pr35258.c execution test

2010-07-10 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-07-10 19:46 ---
Introduced in revision 161655.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org
Summary|FAIL: gcc.dg/pr35258.c  |[4.6 Regression] FAIL:
   |execution test  |gcc.dg/pr35258.c execution
   ||test


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



[Bug testsuite/43441] pr42427.c:5:21: fatal error: complex.h: No such file or directory

2010-07-09 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-09 22:32 ---
Patch:
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01915.html


-- 


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



[Bug inline-asm/44810] New: [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-04 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/test/gnu/
gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/tortu
re/pr36745.C  -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v
3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc
++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/lib
stdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmes
sage-length=0  -O0  -O2 -fPIC  -S  -o pr36745.s(timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr36745.C: In member function
'vo
id QRegExpEngine::addCatTransitions()':
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr36745.C:20:35: error: output
nu
mber 0 not directly addressable
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr36745.C: In member function
'vo
id QRegExpEngine::addCatTransitions()':
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr36745.C:20:35: error: output
nu
mber 0 not directly addressable

FAIL: g++.dg/torture/pr36745.C  -O0  (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr36745.C:20:35: error: output
nu
mber 0 not directly addressable


-- 
   Summary: [4.6 Regression] FAIL: g++.dg/torture/pr36745.C
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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



[Bug middle-end/44738] c-c++-common/uninit-17.c failed

2010-07-04 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-04 14:34 ---
Also seen on hppa64-hp-hpux11.11.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-07-04 14:34:30
   date||


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



[Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests

2010-07-04 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-07-04 19:12 ---
I see the following similar fails on hppa64-hp-hpux11.11:

FAIL: 27_io/basic_stringbuf/sputbackc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sputbackc/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sungetc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sungetc/wchar_t/1.cc (test for excess errors)

/test/gnu/gcc/gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.
cc:111:1: error: caller edge frequency 0 does not match BB freqency 1000
std::basic_stringbuf_CharT, _Traits, _Alloc::int_type
std::basic_stringbuf_Ch
arT, _Traits, _Alloc::underflow() [with _CharT = char, _Traits =
std::char_trai
tschar, _Alloc = std::allocatorchar, std::basic_stringbuf_CharT, _Traits,
_
Alloc::int_type = int]/722(-1) @83fffde41ac0 (asm:
_ZNSt15basic_stringbufIc
St11char_traitsIcESaIcEE9underflowEv) availability:not_available
  called by: std::basic_streambuf_CharT, _Traits::int_type
std::basic_streambu
f_CharT, _Traits::sgetc() [with _CharT = char, _Traits =
std::char_traitschar
, std::basic_streambuf_CharT, _Traits::int_type = int]/78 (can throw external
) 
  calls: 
  References: 
  Refering this function: 
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.
cc:111:1: internal compiler error: verify_cgraph_node failed


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-07-04 19:12:55
   date||


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



[Bug target/44805] New: [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strpcpy-2.c
/test/gn
u/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strpcpy-2-lib.c
/test/gnu
/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c  -w  -O1   -lm 
  -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/strpcpy-2.x1(timeout = 300)
PASS: gcc.c-torture/execute/builtins/strpcpy-2.c compilation,  -O1 
Setting LD_LIBRARY_PATH to :/test/gnu/gcc/objdir/gcc::/test/gnu/gcc/objdir/gcc
FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution,  -O1 

Program received signal SIGBUS, Bus error.
0x40002cb4 in test (buf3=value optimized out, 
buf4=value optimized out, buf6=value optimized out, 
n=value optimized out)
at
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strpcpy-2.c:28
28if (__builtin_stpcpy ((char *) buf3, ABCDEFG) != (char *) buf1 + 7

(gdb) p/x $pc
$1 = 0x40002cb4
(gdb) disass 0x40002ca4 0x40002cc4
Dump of assembler code from 0x40002ca4 to 0x40002cc4:
0x40002ca4 test+116:  addil L%0,dp,r1
0x40002ca8 test+120:  ldd 8(r1),r26
0x40002cac test+124:  addil L%0,dp,r1
0x40002cb0 test+128:  ldd 10(r1),ret0
0x40002cb4 test+132:  ldd 0(ret0),ret0
0x40002cb8 test+136:  std ret0,0(r26)
0x40002cbc test+140:  addil L%0,dp,r1
0x40002cc0 test+144:  ldd 18(r1),r25
End of assembler dump.
(gdb) p/x $ret0
$2 = 0x400017ac
(gdb) x/8c 0x400017ac
0x400017ac L$C0001:   65 'A'  66 'B'  67 'C'  68 'D'  69 'E'  70 'F'
7

ABCDEFG is misaligned.  At first glance, this appears to be a problem
with the alignment of the .rodata section.


-- 
   Summary: [4.6 Regression] FAIL: gcc.c-
torture/execute/builtins/strpcpy-2.c execution, at -O1
and above
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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



[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-07-03 15:20 ---
.section.rodata
.align 4
L$C:
.stringzabcdefghijklmnop
.align 4
L$C0001:
.stringzABCDEFG

On hppa, .align 4 advances the location counter until it is a multiple
of 4 bytes.  ldd needs an alignment of 8 bytes.


-- 


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



[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-03 20:28 ---
Subject: Bug 44705

Author: danglin
Date: Sat Jul  3 20:28:44 2010
New Revision: 161781

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161781
Log:
PR target/44705
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.h


-- 


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



[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #3 from danglin at gcc dot gnu dot org  2010-07-03 20:38 ---
Subject: Bug 44705

Author: danglin
Date: Sat Jul  3 20:38:04 2010
New Revision: 161782

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161782
Log:
PR target/44705
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/pa/pa.h


-- 


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



[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-07-03 20:40 ---
Subject: Bug 44705

Author: danglin
Date: Sat Jul  3 20:40:30 2010
New Revision: 161783

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161783
Log:
PR target/44705
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/pa/pa.h


-- 


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



[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-07-03 20:42 ---
Subject: Bug 44705

Author: danglin
Date: Sat Jul  3 20:42:43 2010
New Revision: 161784

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161784
Log:
PR target/44705
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF.


Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/pa/pa.h


-- 


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



[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-07-03 20:43 ---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug middle-end/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-03 20:59 ---
It looks like the define for CONSTANT_ALIGNMENT needs a tweak.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|target  |middle-end


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #4 from danglin at gcc dot gnu dot org  2010-07-03 22:44 ---
Subject: Bug 44597

Author: danglin
Date: Sat Jul  3 22:43:47 2010
New Revision: 161786

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161786
Log:
PR target/44597
* config/pa/predicates.md (prefetch_cc_operand): Remove.
(prefetch_nocc_operand): Likewise.
* config/pa/pa.md (prefetch): Revise expander to use prefetch_20.
(prefetch_20): New insn.
(prefetch_cc): Remove.
(prefetch_nocc): Likewise.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.md
trunk/gcc/config/pa/predicates.md


-- 


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #5 from danglin at gcc dot gnu dot org  2010-07-03 22:47 ---
Subject: Bug 44597

Author: danglin
Date: Sat Jul  3 22:46:51 2010
New Revision: 161788

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161788
Log:
PR target/44597
* config/pa/predicates.md (prefetch_cc_operand): Remove.
(prefetch_nocc_operand): Likewise.
* config/pa/pa.md (prefetch): Revise expander to use prefetch_20.
(prefetch_20): New insn.
(prefetch_cc): Remove.
(prefetch_nocc): Likewise.


Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/pa/pa.md
branches/gcc-4_5-branch/gcc/config/pa/predicates.md


-- 


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2010-07-03 22:50 ---
Subject: Bug 44597

Author: danglin
Date: Sat Jul  3 22:50:37 2010
New Revision: 161790

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161790
Log:
PR target/44597
* config/pa/predicates.md (prefetch_cc_operand): Remove.
(prefetch_nocc_operand): Likewise.
* config/pa/pa.md (prefetch): Revise expander to use prefetch_20.
(prefetch_20): New insn.
(prefetch_cc): Remove.
(prefetch_nocc): Likewise.


Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/pa/pa.md
branches/gcc-4_4-branch/gcc/config/pa/predicates.md


-- 


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #7 from danglin at gcc dot gnu dot org  2010-07-03 22:53 ---
Subject: Bug 44597

Author: danglin
Date: Sat Jul  3 22:53:25 2010
New Revision: 161791

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161791
Log:
PR target/44597
* config/pa/predicates.md (prefetch_cc_operand): Remove.
(prefetch_nocc_operand): Likewise.
* config/pa/pa.md (prefetch): Revise expander to use prefetch_20.
(prefetch_20): New insn.
(prefetch_cc): Remove.
(prefetch_nocc): Likewise.


Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/pa/pa.md
branches/gcc-4_3-branch/gcc/config/pa/predicates.md


-- 


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #8 from danglin at gcc dot gnu dot org  2010-07-03 23:04 ---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug target/44581] [4.5/4.6 Regression] internal compiler error: in simplify_subreg

2010-07-03 Thread danglin at gcc dot gnu dot org


--- Comment #2 from danglin at gcc dot gnu dot org  2010-07-03 23:39 ---
Breakpoint 1, simplify_subreg (outermode=DFmode, op=0x40167760, 
innermode=DFmode, byte=80) at ../../gcc/gcc/simplify-rtx.c:5120
5120  gcc_assert (byte  GET_MODE_SIZE (innermode));
(gdb) p byte
$3 = 80
(gdb) p innermode
$4 = DFmode
(gdb) bt
#0  simplify_subreg (outermode=DFmode, op=0x40167760, innermode=DFmode, 
byte=80) at ../../gcc/gcc/simplify-rtx.c:5120
#1  0x0152ac74 in avoid_constant_pool_reference (x=0x1d)
at ../../gcc/gcc/simplify-rtx.c:193
#2  0x0152ac74 in avoid_constant_pool_reference (x=0x401aa7e0)
at ../../gcc/gcc/simplify-rtx.c:193
#3  0x013ffbe4 in commutative_operand_precedence (op=0x401aa7e0)
at ../../gcc/gcc/rtlanal.c:2922
#4  0x013ffe24 in swap_commutative_operands_p (x=0x401aa7e0, y=0x401aa810)
at ../../gcc/gcc/rtlanal.c:2978
#5  0x0153f1e8 in simplify_rtx (x=0x401aa7d0)
at ../../gcc/gcc/simplify-rtx.c:5493
#6  0x006cde5c in cselib_expand_value_rtx_1 (orig=0x401aa7d0, evd=0xc0627008, 
max_depth=4) at ../../gcc/gcc/cselib.c:1504

(gdb) p debug_rtx (op)
(const_double:DF -1257966797 [0xb504f333]
7.07106781186547572737310929369414225220680236816e-1 [0x0.b504f333f9de68p+0])

PS:
-mpa-risc-1-0 reduces the number of floating point registers.  This
was only needed on old series 800 servers.  As far a I know, none of these
machines are supported by Linux.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-07-03 23:39:42
   date||
Summary|internal compiler error: in |[4.5/4.6 Regression]
   |simplify_subreg |internal compiler error: in
   ||simplify_subreg


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



[Bug target/43958] FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta ESCAPED = { }

2010-07-02 Thread danglin at gcc dot gnu dot org


--- Comment #14 from danglin at gcc dot gnu dot org  2010-07-02 20:52 
---
Subject: Bug 43958

Author: danglin
Date: Fri Jul  2 20:51:58 2010
New Revision: 161746

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161746
Log:
PR target/43958
* config/pa/pa.c (hppa_gimplify_va_arg_expr): Use pointer arithmetic
for argument alignment.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.c


-- 


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



[Bug target/43958] FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta ESCAPED = { }

2010-07-02 Thread danglin at gcc dot gnu dot org


--- Comment #15 from danglin at gcc dot gnu dot org  2010-07-02 20:58 
---
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug tree-optimization/39799] [4.3/4.4/4.5/4.6 Regression] missing 'may be used uninitialized' warning

2010-07-01 Thread danglin at gcc dot gnu dot org


--- Comment #8 from danglin at gcc dot gnu dot org  2010-07-01 17:14 ---
c-c++-common/uninit-17.c fails on hppa2.0w-hp-hpux11.11:

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c   -Wc++-compat  -O2
-Wunin
itialized -S  -o uninit-17.s(timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c: In function 'foobar':
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c:12:9: warning: 'b' is
u
sed uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c:12:9: note: 'b' was
dec
lared here
output is:
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c: In function 'foobar':
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c:12:9: warning: 'b' is
u
sed uninitialized in this function [-Wuninitialized]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c:12:9: note: 'b' was
dec
lared here

PASS: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat  (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/uninit-17.c:12:9: warning: 'b' is
u
sed uninitialized in this function [-Wuninitialized]


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug libfortran/43298] fortran library does not read in NaN -Inf or Inf

2010-07-01 Thread danglin at gcc dot gnu dot org


--- Comment #14 from danglin at gcc dot gnu dot org  2010-07-02 00:12 
---
gfortran.dg/nan_6.f90 fails on hppa2.0w-hp-hpux11:

Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/test/gnu/gcc/gcc/gcc/testsui
te/gfortran.dg/nan_6.f90   -O0   -pedantic-errors 
-B/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11
/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/
.libs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libiberty  -lm   -o
./nan_6
.exe(timeout = 300)
PASS: gfortran.dg/nan_6.f90  -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfo
rtran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test
/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.
libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gc
c/objdir/gcc
FAIL: gfortran.dg/nan_6.f90  -O0  execution test


Breakpoint 2, MAIN__ ()
at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/nan_6.f90:89
89  if (.not. isnan(real(z))) call abort()
(gdb) p z
$1 = 0 + 0 * I

(gdb) bt
#0  0x2d40 in _gfortran_abort ()
at ../../../gcc/libgfortran/intrinsics/abort.c:32
#1  0x3f74 in MAIN__ ()
at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/nan_6.f90:89
#2  0x4210 in main (argc=error reading variable, 
argv=error reading variable)
at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/nan_6.f90:99


-- 


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



[Bug target/43958] FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta ESCAPED = { }

2010-06-29 Thread danglin at gcc dot gnu dot org


--- Comment #7 from danglin at gcc dot gnu dot org  2010-06-30 00:24 ---
The re-alignment is necessary, so this is a testsuite issue.  The comment
needs adjustment. 


-- 


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



[Bug fortran/42169] [4.4/4.5/4.6 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2010-06-28 Thread danglin at gcc dot gnu dot org


--- Comment #14 from danglin at gcc dot gnu dot org  2010-06-28 19:31 
---
I still see it as of 161474 (both head and 4.5).


-- 


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



[Bug tree-optimization/44705] New: FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-06-28 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr44674.c   -O -fprofile-generate -S  -o
pr4
4674.s(timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr44674.c: In function 'jumpfunc':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr44674.c:10:1: error: insn does not
sati
sfy its constraints:
(insn 38 30 32 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr44674.c:9 (set
(reg:QI
 28 %r28 [orig:112 jumplabel ] [112])
(mem/c/i:QI (label_ref:SI [22 deleted]) [0 jumplabel+0 S1 A8])) 58
{*pa.
md:2936} (nil))
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr44674.c:10:1: internal compiler error: 
in reload_cse_simplify_operands, at postreload.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
compiler exited with status 1

Also seen on trunk.


-- 
   Summary: FAIL: gcc.dg/pr44674.c (internal compiler error)
   Product: gcc
   Version: 4.5.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-06-21 Thread danglin at gcc dot gnu dot org


--- Comment #1 from danglin at gcc dot gnu dot org  2010-06-21 23:03 ---
This was introduced by the following change:

Author: bernds
Date: Thu Jun 17 21:51:55 2010
New Revision: 160947

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160947
Log:
PR rtl-optimization/39871
* reload1.c (init_eliminable_invariants): For flag_pic, disable
equivalences only for constants that aren't LEGITIMATE_PIC_OPERAND_P.
(function_invariant_p): Rule out a plus of frame or arg pointer with
a SYMBOL_REF.
* ira.c (find_reg_equiv_invariant_const): Likewise.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira.c
trunk/gcc/reload1.c


-- 


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



  1   2   3   4   5   6   7   8   9   10   >