[Bug other/17898] Incorrect usage of isdigit, etc.

2020-03-15 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17898

John David Anglin  changed:

   What|Removed |Added

 Status|SUSPENDED   |NEW
 CC||danglin at gcc dot gnu.org

--- Comment #6 from John David Anglin  ---
The usage of ISDIGIT in adadecode.c now causes a warning and build failure:

/test/gnu/gcc/objdir/./prev-gcc/xg++ -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/g
nu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/bin/ -nostdinc++
-B/test/gnu/gcc/objdir/prev
-hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/prev-hppa2.
0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs 
-I/test/gnu/gcc/objdir/prev-hppa2.
0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 
-I/test/gnu/gcc/objd
ir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/include 
-I/test/gnu/gcc/gcc/libstdc+
+-v3/libsupc++
-L/test/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/sr
c/.libs
-L/test/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++
/.libs -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -DIN_GCC
-fno-exc
eptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-s
trings -Wcast-qual -Wno-error=format-diag -mdisable-indexing
-Wmissing-format-at
tribute -Woverloaded-virtual -Wno-long-long -Wno-variadic-macros
-Wno-overlength
-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -Iada -I../../gcc/gcc
-I../../
gcc/gcc/ada -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/opt/gnu/gcc/gmp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/gcc/../libbacktrace   -o ada/adadecode.o -MT ada/adadecode.o -MMD
-MP -MF ada/.deps/adadecode.TPo ../../gcc/gcc/ada/adadecode.c
In file included from ../../gcc/gcc/ada/adadecode.c:35:
../../gcc/gcc/ada/adadecode.c: In function 'void __gnat_decode(const char*,
char*, int)':
../../gcc/gcc/ada/adadecode.c:260:34: error: array subscript has type 'char'
[-Werror=char-subscripts]
  260 | while (ISDIGIT (ada_name[last]) && last > 0)
  | ~^
../../gcc/gcc/ada/adadecode.c:260:12: note: in expansion of macro 'ISDIGIT'
  260 | while (ISDIGIT (ada_name[last]) && last > 0)
  |^~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:1117: ada/adadecode.o] Error 1

[Bug target/94253] New: FAIL: gfortran.dg/bind_c_coms.f90 -O0 (test for excess errors)

2020-03-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94253

Bug ID: 94253
   Summary: FAIL: gfortran.dg/bind_c_coms.f90   -O0  (test for
excess errors)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_coms.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O0 -w
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_coms_driver.c
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -lm -o
./bind_c_coms.exe
ld: (Warning) Symbol "com" in "/var/tmp//cc14WyWs.o" does not satisfy the
required 16-byte alignment in "/var/tmp//cc4g1Pgg.o".
1 warnings.
output is:
ld: (Warning) Symbol "com" in "/var/tmp//cc14WyWs.o" does not satisfy the
required 16-byte alignment in "/var/tmp//cc4g1Pgg.o".
1 warnings.

FAIL: gfortran.dg/bind_c_coms.f90   -O0  (test for excess errors)
Excess errors:
ld: (Warning) Symbol "com" in "/var/tmp//cc14WyWs.o" does not satisfy the
required 16-byte alignment in "/var/tmp//cc4g1Pgg.o".
1 warnings.

Fails at all optimizations.

We now have in bind_c_coms_driver.s:

.section.bss
.align 8
.type   com, @object
.size   com, 16
.align 8
com:
.block 16

We used to have:

.section.bss
com .comm 16

The later provides 16-byte alignment.

Looks to me like there are problems with both pa_asm_output_aligned_bss() and
pa_asm_output_aligned_common().  It looks like allocations in the BSS need to
be aligned to a power of 2 alignment greater than the size of the block.

[Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols

2020-03-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #3 from John David Anglin  ---
Same occurs on hppa-linux.

[Bug libstdc++/94275] New: /usr/ccs/bin/ld: Unsatisfied symbols: _ZNSs4_Rep20_S_empty_rep_storageE

2020-03-23 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94275

Bug ID: 94275
   Summary: /usr/ccs/bin/ld: Unsatisfied symbols:
_ZNSs4_Rep20_S_empty_rep_storageE
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

Build fails linking gcov:

/test/gnu/gcc/objdir/./prev-gcc/xg++ -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/g
nu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/bin/ -nostdinc++
-B/test/gnu/gcc/objdir/prev
-hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/prev-hppa2.
0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs 
-I/test/gnu/gcc/objdir/prev-hppa2.
0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 
-I/test/gnu/gcc/objd
ir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/include 
-I/test/gnu/gcc/gcc/libstdc+
+-v3/libsupc++
-L/test/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/sr
c/.libs
-L/test/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++
/.libs -no-pie   -g -O2 -fno-checking -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -static-libstdc++
-static-libgcc  gcov.o json.o \
hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a  
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a  -L./../zlib -lz -o gcov
/usr/ccs/bin/ld: Unsatisfied symbols:
   _ZNSs4_Rep20_S_empty_rep_storageE (first referenced in
/test/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a(stdexcept.o))
(data)
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:3014: gcov] Error 1

[Bug c/94253] FAIL: gfortran.dg/bind_c_coms.f90 -O0 (test for excess errors)

2020-03-23 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94253

John David Anglin  changed:

   What|Removed |Added

  Component|target  |c

--- Comment #1 from John David Anglin  ---
The alignments provided by ASM_OUTPUT_ALIGNED_COMMON and ASM_OUTPUT_ALIGNED_BSS
are not identical on hppa.  The c driver has switched from using
ASM_OUTPUT_ALIGNED_COMMON to ASM_OUTPUT_ALIGNED_BSS when compiling
bind_c_coms_driver.c.

[Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols

2020-03-23 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249

--- Comment #11 from John David Anglin  ---
On hppa-linux, we have:

#define __BIG_ENDIAN4321

/* hppa1.1 big-endian.  */

#ifndef _ENDIAN_H
# error "Never use  directly; include  instead."
#endif

#define __BYTE_ORDER __BIG_ENDIAN

I don't see a define for __BIG_ENDIAN__.

[Bug c/94253] FAIL: gfortran.dg/bind_c_coms.f90 -O0 (test for excess errors)

2020-03-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94253

--- Comment #2 from John David Anglin  ---
r278376 was okay.  r278658 was bad.

[Bug c/94253] FAIL: gfortran.dg/bind_c_coms.f90 -O0 (test for excess errors)

2020-03-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94253

--- Comment #3 from John David Anglin  ---
Okay, the problem is the test lacks a '-fcommon' option.

The default was changed here:

2019-11-20  Wilco Dijkstra  

PR85678
* common.opt (fcommon): Change init to 1.
* doc/invoke.texi (-fcommon): Update documentation.

This means almost all the places in the testsuite where we add '-fno-common'
are
unnecessary...

[Bug d/94321] gdc.dg/pr92216.d FAILs on 32-bit targets

2020-03-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94321

John David Anglin  changed:

   What|Removed |Added

 Target|i386-pc-solaris2.11,|i386-pc-solaris2.11,
   |sparc-sun-solaris2.11   |sparc-sun-solaris2.11,
   ||hppa-unknown-linux-gnu
 CC||danglin at gcc dot gnu.org

--- Comment #1 from John David Anglin  ---
Same issue on hppa-linux.

[Bug testsuite/94384] New: FAIL: gfortran.dg/fmt_f_default_field_width_3.f90 -O (test for excess errors)

2020-03-28 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94384

Bug ID: 94384
   Summary: FAIL: gfortran.dg/fmt_f_default_field_width_3.f90   -O
 (test for excess errors)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc
/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11
/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_
width_3.f90 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdia
gnostics-color=never -fdiagnostics-urls=never -O -cpp -fdec
-fno-dec-format-defa
ults -S -o fmt_f_default_field_width_3.s
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:23:2
3: Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:26:2
3: Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:29:2
3: Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:33:2
3: Error: Nonnegative width required in format string at (1)
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:23:2
3: Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:26:2
3: Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:29:23:
Error: Nonnegative width required in format string at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:33:23:
Error: Nonnegative width required in format string at (1)

PASS: gfortran.dg/fmt_f_default_field_width_3.f90   -O   (test for errors, line
23)
PASS: gfortran.dg/fmt_f_default_field_width_3.f90   -O   (test for errors, line
26)
PASS: gfortran.dg/fmt_f_default_field_width_3.f90   -O   (test for errors, line
29)
FAIL: gfortran.dg/fmt_f_default_field_width_3.f90   -O  (test for excess
errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_f_default_field_width_3.f90:33:23:
Error: Nonnegative width required in format string at (1)

#ifdef __GFC_REAL_16__
real_16 = 4.18
write(buffer, fmt) ':',real_16,':' ! { dg-error "Nonnegative width
required"  "" { target fortran_real_16 } }
#endif

spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/
fortran_real_1611795.f90 -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -lm -o
fortran_real_1611795.exe
ld: Unsatisfied symbol "cosl" in file /var/tmp//ccuUh0M8.o
1 errors.
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: Unsatisfied symbol "cosl" in file /var/tmp//ccuUh0M8.o
1 errors.
collect2: error: ld returned 1 exit status

Seems to me the target qualifier should be removed.

[Bug fortran/94388] New: FAIL: gfortran.dg/unlimited_polymorphic_30.f03 execution test

2020-03-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94388

Bug ID: 94388
   Summary: FAIL: gfortran.dg/unlimited_polymorphic_30.f03
execution test
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc
/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11
/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/unlimited_polymorphi
c_30.f03 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagno
stics-color=never -fdiagnostics-urls=never -O0 -pedantic-errors
-B/test/gnu/gcc/
objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-
hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgf
ortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs
-B/tes
t/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/
hppa64-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.
11/./libquadmath/.libs -lm -o ./unlimited_polymorphic_30.exe
PASS: gfortran.dg/unlimited_polymorphic_30.f03   -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfort
ran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu
/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp
-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libqua
dmath/.libs:/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../..:.:/test/gnu/gcc/ob
jdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux
11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.
libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/
objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc/testsuit
e/gfortran/../..
spawn [open ...]

Program received signal SIGBUS: Access to an undefined portion of a memory
objec
t.

(gdb) r
Starting program:
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/unlimited_polymorphic_30.exe

Program received signal SIGBUS, Bus error.
0x4000330c in MAIN__ ()
at
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/unlimited_polymorphic_30.f03:13
13x%v = ['foo','bar']
(gdb) disass $pc-16,$pc+16
Dump of assembler code from 0x400032fc to 0x4000331c:
   0x400032fc :fstd fr22,68(r3)
   0x40003300 :ldd 68(r3),r19
   0x40003304 :add,l ret0,r19,ret0
   0x40003308 :add,l r6,ret0,ret0
=> 0x4000330c :ldd 0(ret0),r31
   0x40003310 :ldi 0,ret0
   0x40003314 :cmpb,*<>,n ret0,r31,0x40003578

   0x40003318 :addil L%0,dp,r1
End of assembler dump.
(gdb) p/x $ret0
$1 = 0x8001b80b
(gdb) p x%v
$2 = ( _data = (0x666f6f01b820, 0x80010570), _vptr =
0x800101a0 <__vtab_CHARACTER_1_.10>, _len = 3 )
(gdb) p *((char *)0x8001b80b)
Overflow on numeric constant.

[Bug libstdc++/94275] /usr/ccs/bin/ld: Unsatisfied symbols: _ZNSs4_Rep20_S_empty_rep_storageE

2020-03-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94275

John David Anglin  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|UNCONFIRMED |RESOLVED

--- Comment #3 from John David Anglin  ---
Disappeared on next build.

[Bug c++/93431] FAIL: g++.dg/cpp2a/lambda-uneval9.C -std=c++2a (test for excess errors)

2020-03-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93431

--- Comment #2 from John David Anglin  ---
Does this test need -fcommon option?

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

John David Anglin  changed:

   What|Removed |Added

  Component|target  |testsuite
Summary|[10 Regression] FAIL:   |FAIL:
   |gcc.dg/ipa/ipa-sra-8.c  |gcc.dg/ipa/ipa-sra-8.c
   |execution test  |execution test

--- Comment #9 from John David Anglin  ---
With -fno-ipa-sra, the test always fails since it was first introduced.

The test passes if I change the argument of get_a from SS to SSS.  Then,
it handles the misaligned argument:

get_a:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
.stabn  68,0,14,L$M0001-L$FBB0001
L$M0001:
ldb 0(%r26),%r19
zdep %r19,7,8,%r19
ldb 1(%r26),%r20
zdep %r20,15,16,%r20
ldb 2(%r26),%r28
or %r20,%r19,%r20
zdep %r28,23,24,%r28
ldb 3(%r26),%r19
or %r28,%r20,%r28
.stabn  68,0,17,L$M0002-L$FBB0001
L$M0002:
bv %r0(%r2)
or %r19,%r28,%r28
.EXIT
.PROCEND

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-12 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

--- Comment #10 from John David Anglin  ---
Created attachment 48257
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48257&action=edit
Patch to fix argument alignment

[Bug libfortran/94586] New: trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

Bug ID: 94586
   Summary: trigd_lib.inc:84:28: error: implicit declaration of
function 'fmaf'
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libfortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc
-B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/sys-include -fchecking=1
-DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran
-iquote../../../gcc/libgfortran/io -I../../../gcc/libgfortran/../gcc
-I../../../gcc/libgfortran/../gcc/config
-I../../../gcc/libgfortran/../libquadmath -I../.././gcc
-I../../../gcc/libgfortran/../libgcc -I../libgcc
-I../../../gcc/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace
-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -g -O2 -MT trigd.lo -MD -MP -MF
.deps/trigd.Tpo -c ../../../gcc/libgfortran/intrinsics/trigd.c  -DPIC -o
.libs/trigd.o
../../../gcc/libgfortran/intrinsics/trigd.inc: In function 'sind_r4':
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit
declaration of function 'fmaf' [-Werror=implicit-function-declaration]
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
  |^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
  | ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
  | ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |D2R (x);
  |^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
  |^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
  | ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
  | ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:102:4: note: in expansion of
macro 'D2R'
  102 |D2R (x);
  |^~~
In file included from ../../../gcc/libgfortran/intrinsics/trigd_lib.inc:99,
 from ../../../gcc/libgfortran/intrinsics/trigd.c:84:
../../../gcc/libgfortran/intrinsics/trigd.inc:1:1: note: include '' or
provide a declaration of 'fmaf'
  +++ |+#include 
1 | /* Implementation of the degree trignometric functions COSD, SIND,
TAND.
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: warning: incompatible
implicit declaration of built-in function 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
  |^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
  | ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
  | ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |D2R (x);
  |^~~
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:84:28: note: include
'' or provide a declaration of 'fmaf'
   84 | #define FMA(x,y,z)  SUFFIX(fma)((x), (y), (z))
  |^~~
../../../gcc/libgfortran/intrinsics/trigd.c:74:21: note: in definition of macro
'SUFFIX'
   74 | #define SUFFIX(x)   x ## f
  | ^
../../../gcc/libgfortran/intrinsics/trigd_lib.inc:85:21: note: in expansion of
macro 'FMA'
   85 | #define D2R(x) (x = FMA((x), PIO180H, (x) * PIO180L))
  | ^~~
../../../gcc/libgfortran/intrinsics/trigd.inc:198:4: note: in expansion of
macro 'D2R'
  198 |D2R (x);
  |^~~
../../../gcc/libgfortran/intrinsics/trig

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

--- Comment #21 from John David Anglin  ---
Created attachment 48295
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48295&action=edit
Patch to fix float128 node selection on hpux

With this change, the libquadmath routines are now selected on hpux.

Testing.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48295|0   |1
is obsolete||

--- Comment #26 from John David Anglin  ---
Created attachment 48327
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48327&action=edit
Patch to fix float128 node selection on hpux

This is my latest patch to fix the float128.  In this iteration, I have
attempted
to create a target hook to allow REAL16 to be float128 instead of long double.

Previous version had a problem with iroundq.  Need to use long double builtins.

This version is untested.  With previous version, there was one new test fail
(probably it didn't run before) and one XPASS.  So, using libquadmath is
working out quite well.

Have no objection to having configure checks for fmaf and fma.  That's better
than my POSIX check.

Sorry, this is going slowly but testing takes awhile.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

--- Comment #27 from John David Anglin  ---
This build on hppa2.0w-hp-hpux11.11 had a previous version of my float128
patch:
https://gcc.gnu.org/pipermail/gcc-testresults/2020-April/559390.html

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48327|0   |1
is obsolete||

--- Comment #28 from John David Anglin  ---
Created attachment 48331
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48331&action=edit
Patch to fix float128 node selection on hpux

Fix tm.texi.in.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48331|0   |1
is obsolete||

--- Comment #30 from John David Anglin  ---
Created attachment 48352
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48352&action=edit
Patch to fix float128 node selection on hpux

Restore change to fix float128 builtins.  Handle iround specially.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

--- Comment #32 from John David Anglin  ---
Created attachment 48354
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48354&action=edit
Header file

This is kinds.h generated with gcc-8.  Note we have "typedef long double
GFC_REAL_16;".

I'm attempting to change this to float128 so that we use libquadmath instead of
the non existent support for long double.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48352|0   |1
is obsolete||

--- Comment #37 from John David Anglin  ---
Created attachment 48356
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48356&action=edit
Patch to fix float128 node selection on hpux

Fix build (missing target.h include).

I'm going to remove libgfortran changes and retest.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

--- Comment #38 from John David Anglin  ---
Because mk-kinds-h.sh has not been modifies, we still get long double in
kinds.h with gcc-10:

typedef long double GFC_REAL_16;
typedef complex long double GFC_COMPLEX_16;

However with my patch, this does not seem to matter.  The following
program

function foo(x)
   real(16) foo, x
   foo = cos(x)
end function foo

generates a call to cosq.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-22 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48356|0   |1
is obsolete||

--- Comment #39 from John David Anglin  ---
Created attachment 48357
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48357&action=edit
Patch to fix float128 node selection on hpux

Modify mk-kinds-h.sh to auto detect whether to use long double or __float128
for REAL(16).

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

--- Comment #43 from John David Anglin  ---
The fix for PR 94694 fixed the build on hppa2.0w-hp-hpux11.11.

We are left with the following new fails in dec_math.f90:
FAIL: gfortran.dg/dec_math.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -O0  execution test
FAIL: gfortran.dg/dec_math.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -O1  execution test
FAIL: gfortran.dg/dec_math.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -O2  execution test
FAIL: gfortran.dg/dec_math.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-
loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-
loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/dec_math.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -O3 -g  execution test
FAIL: gfortran.dg/dec_math.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/dec_math.f90   -Os  execution test

This is caused by the missing 'l' suffix routines:
spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/dec_math.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O0 -cpp -std=gnu
-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/./libatomic/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs -lm -o
./dec_math.exe
/usr/ccs/bin/ld: Unsatisfied symbols:
   tanl (first referenced in /var/tmp//ccQhSJVu.o) (code)
   asinl (first referenced in /var/tmp//ccQhSJVu.o) (code)
   sinl (first referenced in /var/tmp//ccQhSJVu.o) (code)
   acosl (first referenced in /var/tmp//ccQhSJVu.o) (code)
   atanl (first referenced in /var/tmp//ccQhSJVu.o) (code)
   atan2l (first referenced in /var/tmp//ccQhSJVu.o) (code)
   cosl (first referenced in /var/tmp//ccQhSJVu.o) (code)
collect2: error: ld returned 1 exit status
compiler exited with status 1

While I will continue to work on a change to use the 'q' routines from
libquadmath on hppa-hpux, this is of lower priority.

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-07-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586

John David Anglin  changed:

   What|Removed |Added

  Attachment #48357|0   |1
is obsolete||

--- Comment #45 from John David Anglin  ---
Created attachment 48901
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48901&action=edit
Patch to use libquadmath with gfortran on hpux

This patch enables the use of libquadmath with gfortran on hpux.  There is no
system support for long double (or __flat128) math, so it would be nice if we
could use the libquadmath support for __float128.

The attached patch works with both 32 and 64-bit hpux targets.  There are a
couple of testsuite fails that I haven't had time to investigate yet.  But
mostly it works.

[Bug libgomp/96661] New: configure:16984: error: unsupported system, cannot find Fortran int kind=16

2020-08-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96661

Bug ID: 96661
   Summary: configure:16984: error: unsupported system, cannot
find Fortran int kind=16
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgomp
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

Whiling configuring libgomp, the following error occurs:

configure:16984: error: unsupported system, cannot find Fortran int kind=16,
nee
ded for omp_depend_kind

##  ##
## Cache variables. ##
##  ##

ac_cv_build=hppa64-hp-hpux11.11
ac_cv_c_compiler_gnu=yes

Looks like this was introduced by:

2020-07-23  Tobias Burnus  

* configure.ac: Add OMP_DEPEND_KIND and OMP_INT128_SIZE.
* libgomp_f.h.in (omp_check_defines): Check whether
sizeof of determined Fortran kind and C typedef match.
* omp_lib.f90.in: Add omp_depened_kind.
* omp_lib.h.in: Likewise; fix omp_alloctrait_key_kind.
* configure: Regenerate.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

Guess this is because target doesn't support int128.

For the most part, libgomp used to work on this target.

[Bug middle-end/87256] hppa spends huge amount of time in synth_mult()

2020-09-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87256

John David Anglin  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---
 Target|hppa-*  |hppa*-*

--- Comment #19 from John David Anglin  ---
hppa64 compiler is still slow:

$ hppa64-linux-gnu-gcc -S -O2 hog.c
hog.c: In function 'b':
hog.c:18:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL;
   ^
hog.c:19:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL;
   ^
hog.c:20:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL; /* this line adds 2 seconds: 7->9 */
   ^
hog.c:21:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL; /* this line adds 2 seconds: 9->11 */
   ^
dave@mx3210:~/gnu/gcc$ time hppa64-linux-gnu-gcc -S -O2 hog.c
hog.c: In function 'b':
hog.c:18:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL;
   ^
hog.c:19:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL;
   ^
hog.c:20:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL; /* this line adds 2 seconds: 7->9 */
   ^
hog.c:21:15: warning: integer constant is so large that it is unsigned
   c = c * 9650029242287828579LL; /* this line adds 2 seconds: 9->11 */
   ^

real1m48.311s
user1m47.665s
sys 0m0.471s

[Bug rtl-optimization/92353] New: FAIL: gcc.target/hppa/shadd-3.c scan-assembler-times sh.add 5

2019-11-04 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92353

Bug ID: 92353
   Summary: FAIL: gcc.target/hppa/shadd-3.c scan-assembler-times
sh.add 5
   Product: gcc
   Version: 8.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rtl-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
 Build: hppa-unknown-linux-gnu

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.target/hppa/shadd-3.c
-fno-dia
gnostics-show-caret -fdiagnostics-color=never -O2 -ffat-lto-objects -S -o
shadd-
3.s
PASS: gcc.target/hppa/shadd-3.c (test for excess errors)
gcc.target/hppa/shadd-3.c: sh.add found 6 times
FAIL: gcc.target/hppa/shadd-3.c scan-assembler-times sh.add 5

Test passes on trunk and gcc-9.

[Bug rtl-optimization/85458] FAIL: gcc.dg/pr83480.c (internal compiler error)

2019-11-04 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85458

--- Comment #7 from John David Anglin  ---
I think I removed TARGET_SCHED_ADJUST_PRIORITY stuff...

[Bug rtl-optimization/85458] FAIL: gcc.dg/pr83480.c (internal compiler error)

2019-11-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85458

--- Comment #9 from John David Anglin  ---
Author: danglin
Date: Wed Nov  6 23:46:04 2019
New Revision: 277894

URL: https://gcc.gnu.org/viewcvs?rev=277894&root=gcc&view=rev
Log:
Backport from mainline
2018-09-19  John David Anglin  

PR rtl-optimization/85458
* config/pa/pa.c (pa_adjust_priority): Delete.
(TARGET_SCHED_ADJUST_PRIORITY): Delete define.


Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/pa/pa.c

[Bug rtl-optimization/85458] FAIL: gcc.dg/pr83480.c (internal compiler error)

2019-11-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85458

John David Anglin  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from John David Anglin  ---
Resolved.

[Bug demangler/92544] New: test-demangle < ../../../gcc/libiberty/testsuite/demangle-expected: FAIL at line 1452

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92544

Bug ID: 92544
   Summary: test-demangle <
../../../gcc/libiberty/testsuite/demangle-expected:
FAIL at line 1452
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: demangler
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

./test-demangle < ../../../gcc/libiberty/testsuite/demangle-expected
FAIL at line 1452, options :
in:  _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE
out: void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)),
void>::type*)
exp: void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))),
void>::type*)
./test-demangle: 335 tests, 1 failures
make[3]: *** [Makefile:52: check-cplus-dem] Error 1

[Bug tree-optimization/92128] fold more non-constant strlen relational expressions

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92128

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #4 from John David Anglin  ---
Test also needs to be skipped on hppa*-*-*.

[Bug tree-optimization/92547] New: FAIL: c-c++-common/goacc/firstprivate-mappings-1.c scan-tree-dump omplower "(?n)

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92547

Bug ID: 92547
   Summary: FAIL: c-c++-common/goacc/firstprivate-mappings-1.c
scan-tree-dump omplower "(?n)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

Created attachment 47285
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47285&action=edit
Tree dump

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/c-c++-common/goacc/firstprivate-mappings-1.c
-fno-diagnostics-sh
ow-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnost
ics-urls=never -fopenacc -fdump-tree-omplower -Wno-psabi -S -o
firstprivate-mapp
ings-1.s^M
PASS: c-c++-common/goacc/firstprivate-mappings-1.c (test for excess errors)
PASS: c-c++-common/goacc/firstprivate-mappings-1.c scan-tree-dump omplower
"(?n)
#pragma omp target oacc_parallel map\\(from:array_so \\[len: 4\\]\\)
firstprivat
e\\(array_li.[0-9]+\\)"
FAIL: c-c++-common/goacc/firstprivate-mappings-1.c scan-tree-dump omplower
"(?n)
#pragma omp target oacc_parallel map\\(from:array_so \\[len: 4\\]\\)
firstprivat
e\\(array_li.[0-9]+\\) map\\(tofrom:\\(\\*array.[0-9]+\\) \\[len:
D\\.[0-9]+\\]\
\) map\\(firstprivate:array \\[pointer assign, bias: 0\\]\\) \\["

Probably fails because target is callee copies.

[Bug ipa/92548] New: FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra "Will split parameter" 2

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92548

Bug ID: 92548
   Summary: FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra
"Will split parameter" 2
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

Created attachment 47286
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47286&action=edit
IPA dump

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/ipa/ipa-sra-12.c -fno-diagnostics-show-caret
-fno-diagnos
tics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O2
-f
ipa-sra -fdump-ipa-sra -lm -o ./ipa-sra-12.exe^M
PASS: gcc.dg/ipa/ipa-sra-12.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libatomic/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir
/hppa2.0w-hp-hpux11.11/./libatomic/.libs
spawn [open ...]^M
PASS: gcc.dg/ipa/ipa-sra-12.c execution test
gcc.dg/ipa/ipa-sra-12.c: pattern found 1 times
FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra "Will split parameter" 2
gcc.dg/ipa/ipa-sra-12.c: pattern found 2 times
FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra "component at byte
offset"
 4

[Bug ipa/92550] New: FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

Bug ID: 92550
   Summary: FAIL: gcc.dg/ipa/ipa-sra-8.c execution test
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/ipa/ipa-sra-8.c -fno-diagnostics-show-caret
-fno-diagnost
ics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3
-lm
 -o ./ipa-sra-8.exe^M
PASS: gcc.dg/ipa/ipa-sra-8.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libatomic/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir
/hppa2.0w-hp-hpux11.11/./libatomic/.libs
spawn [open ...]^M
FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

(gdb) r
Starting program: /test/gnu/gcc/objdir/ipa-sra-8.exe
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work.  See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.

Program received signal SIGBUS, Bus error.
0x2c0c in get_a ()
(gdb) bt
Python Exception  Failed to load
/home/gnu/lib/python2.7/lib-dynload/itertools.sl:
#0  0x2c0c in get_a ()
#1  0x2c20 in foo ()
#2  0x2c88 in main ()
(gdb) disass $pc-16,$pc+16
Dump of assembler code from 0x2bfc to 0x2c1c:
   0x2bfc :   mtctl r26,tr3
   0x2c00 :   bv r0(rp)
   0x2c04 :   mfctl tr3,ret0
   0x2c08 :bv r0(rp)
=> 0x2c0c :ldw 0(r26),ret0
   0x2c10 :  stw rp,-14(sp)
   0x2c14 :  ldo 40(sp),sp
   0x2c18 :  b,l 0x2c08 ,rp
End of assembler dump.
(gdb) p/x $r26
$1 = 0x40001a49

Problem is misaligned load.

Similar fail:
FAIL: gcc.dg/ipa/ipa-sra-9.c execution test

[Bug tree-optimization/70315] FAIL: gcc.dg/tree-ssa/sra-17.c scan-tree-dump-times esra

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70315

--- Comment #7 from John David Anglin  ---
Still fails on trunk.

[Bug tree-optimization/70315] FAIL: gcc.dg/tree-ssa/sra-17.c scan-tree-dump-times esra

2019-11-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70315

John David Anglin  changed:

   What|Removed |Added

   Target Milestone|--- |8.5

[Bug ipa/92550] [10 Regression] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2019-11-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

John David Anglin  changed:

   What|Removed |Added

  Known to work||9.2.1

--- Comment #2 from John David Anglin  ---
Revision 275550 was okay. Revision 276011 failed.

[Bug ipa/92548] FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra "Will split parameter" 2

2019-11-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92548

--- Comment #1 from John David Anglin  ---
Revision 275550 was okay. Revision 276011 failed.  Test was introduced in
275982.

[Bug libgcc/92988] New: crtstuff.c:387:21: error: '__dso_handle' undeclared (first use in this function)

2019-12-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92988

Bug ID: 92988
   Summary: crtstuff.c:387:21: error: '__dso_handle' undeclared
(first use in this function)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgcc
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: jozef.l at somniumtech dot com
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu64/gcc/g
cc-10/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/lib/
-isystem /opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/g
cc/gcc-10/hppa64-hp-hpux11.11/sys-include   -fno-checking -g -O2 -O2 -g -O2
-DIN
_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict
-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include 
-I.
 -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/
libgcc/../gcc -I../../../gcc/libgcc/../include   -g0  -finhibit-size-directive
-fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-fno-tree-vectorize -fbuilding-libgcc -fno-stack-protector-I. -I.
-I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include  -o crtbeginS.o
-MT crtbeginS.o -MD -MP -MF crtbeginS.dep  -c ../../../gcc/libgcc/crtstuff.c
-DCRT_BEGIN -DCRTSTUFFS_O
../../../gcc/libgcc/crtstuff.c: In function '__do_global_dtors_aux':
../../../gcc/libgcc/crtstuff.c:386:7: warning: the address of '__cxa_finalize'
will always evaluate as 'true' [-Waddress]
  386 |   if (__cxa_finalize)
  |   ^~
../../../gcc/libgcc/crtstuff.c:387:21: error: '__dso_handle' undeclared (first
use in this function)
  387 | __cxa_finalize (__dso_handle);
  | ^~~~
../../../gcc/libgcc/crtstuff.c:387:21: note: each undeclared identifier is
reported only once for each function it appears in
../../../gcc/libgcc/crtstuff.c:430:7: warning: the address of
'__deregister_frame_info' will always evaluate as 'true' [-Waddress]
  430 |   if (__deregister_frame_info)
  |   ^~~
../../../gcc/libgcc/crtstuff.c: In function 'frame_dummy':
../../../gcc/libgcc/crtstuff.c:482:7: warning: the address of
'__register_frame_info' will always evaluate as 'true' [-Waddress]
  482 |   if (__register_frame_info)
  |   ^
Makefile:1031: recipe for target 'crtbeginS.o' failed
make[3]: *** [crtbeginS.o] Error 1

[Bug tree-optimization/93017] New: FAIL: gcc.dg/graphite/interchange-1.c scan-tree-dump graphite "tiled"

2019-12-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93017

Bug ID: 93017
   Summary: FAIL: gcc.dg/graphite/interchange-1.c scan-tree-dump
graphite "tiled"
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
 Build: hppa-unknown-linux-gnu

Created attachment 47527
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47527&action=edit
Tree dump

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/graphite/interchange-1.c
-f
no-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color
=never -fdiagnostics-urls=never -O2 -ffast-math -floop-nest-optimize
-fdump-tree
-graphite-all -lm -o ./interchange-1.exe
PASS: gcc.dg/graphite/interchange-1.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/obj
dir/hppa-linux-gnu/./libatomic/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/g
nu/gcc/objdir/hppa-linux-gnu/./libatomic/.libs:/home/dave/gnu/gcc/objdir/hppa-li
nux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.
libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/o
bjdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/
gnu/gcc/objdir/./prev-gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/
src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/g
cc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/
libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev
-gcc
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/graphite/interchange-1.c execution test
FAIL: gcc.dg/graphite/interchange-1.c scan-tree-dump graphite "tiled"

Similar fails:
FAIL: gcc.dg/graphite/interchange-10.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/interchange-11.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/interchange-3.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/interchange-4.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/interchange-7.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/interchange-9.c scan-tree-dump graphite "tiled"
FAIL: gcc.dg/graphite/uns-interchange-9.c scan-tree-dump graphite "tiled"
FAIL: gfortran.dg/graphite/interchange-3.f90   -O   scan-tree-dump graphite
"tiled"

Maybe this depends on following:
ii  libppl14:hppa  1:1.2-7  hppa Parma Polyhedra Library (runtime
l>

[Bug libgomp/93066] New: libgomp/target.c:525:46: error: expected expression before ')' token

2019-12-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

Bug ID: 93066
   Summary: libgomp/target.c:525:46: error: expected expression
before ')' token
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgomp
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

The following build error occurs:

/bin/sh ./libtool  --tag=CC   --mode=compile /test/gnu/gcc/objdir/./gcc/xgcc
-B/
test/gnu/gcc/objdir/./gcc/ -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/bin/
-B/o
pt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-10/hppa
64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/sys-i
nclude   -fno-checking -DHAVE_CONFIG_H -I. -I../../../gcc/libgomp 
-I../../../gc
c/libgomp/config/hpux -I../../../gcc/libgomp/config/posix
-I../../../gcc/libgomp
 -I../../../gcc/libgomp/../include  -Wall -Werror -Wc,-pthread  -g -O2 -MT
targe
t.lo -MD -MP -MF .deps/target.Tpo -c -o target.lo ../../../gcc/libgomp/target.c
libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc
-B/test/gnu/gcc/objdir/./gcc/
 -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-10/hppa64
-hp-hpux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/include
-i
system /opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/sys-include -fno-checking
-DHAV
E_CONFIG_H -I. -I../../../gcc/libgomp -I../../../gcc/libgomp/config/hpux
-I../..
/../gcc/libgomp/config/posix -I../../../gcc/libgomp
-I../../../gcc/libgomp/../in
clude -Wall -pthread -Werror -g -O2 -MT target.lo -MD -MP -MF .deps/target.Tpo
-
c ../../../gcc/libgomp/target.c  -DPIC -o .libs/target.o
../../../gcc/libgomp/target.c: In function 'gomp_attach_pointer':
../../../gcc/libgomp/target.c:525:46: error: expected expression before ')'
toke
n
  525 |   if (n->aux->attach_count[idx] < UINTPTR_MAX)
  |  ^

On HP-UX, we have in inttypes.h,

/* The following 2 macros are provided for testing whether the types
** intptr_t and uintptr_t (integers large enough to hold a void *) are
** defined in this header. They are needed in case the architecture can't
** represent a pointer in any standard integral type.
*/

#define INTPTR_MAX
#define UINTPTR_MAX

UINTPTR_MAX is defined in stdint.h which doesn't seem to be included.

[Bug c++/67834] Local references inside comdat groups

2019-12-27 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

John David Anglin  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
   Last reconfirmed||2019-12-27
Version|5.2.1   |9.2.1
 Resolution|FIXED   |---
   Target Milestone|5.5 |---
 Ever confirmed|0   |1

--- Comment #9 from John David Anglin  ---
This problem has reappeared since pa_reloc_rw_mask() was changed to allow
relocs in readonly data.

See this binutils bugzilla:
https://sourceware.org/bugzilla/show_bug.cgi?id=25315

We have a plabel relocation to the local symbol __tcf_0 in a comdat section.

It is setup here:

start_cleanup_fn (void)
{
  char name[32];
  tree fntype;
  tree fndecl;
  bool use_cxa_atexit = flag_use_cxa_atexit
&& !targetm.cxx.use_atexit_for_cxa_atexit ();

  push_to_top_level ();

  /* No need to mangle this.  */
  push_lang_context (lang_name_c);

  /* Build the name of the function.  */
  sprintf (name, "__tcf_%d", start_cleanup_cnt++);
  /* Build the function declaration.  */
  fntype = TREE_TYPE (get_atexit_fn_ptr_type ());
  fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
  /* It's a function with internal linkage, generated by the
 compiler.  */
  TREE_PUBLIC (fndecl) = 0;
  DECL_ARTIFICIAL (fndecl) = 1;
  /* Make the function `inline' so that it is only emitted if it is
 actually needed.  It is unlikely that it will be inlined, since
 it is only called via a function pointer, but we avoid unnecessary
 emissions this way.  */
  DECL_DECLARED_INLINE_P (fndecl) = 1;
  DECL_INTERFACE_KNOWN (fndecl) = 1;

The original problem was worked around with this binutils change:

static unsigned int
elf_hppa_action_discarded (asection *sec)
{
  /* Ignore relocations in .data.rel.ro.local.  This section can contain
 PLABEL32 relocations to functions in discarded COMDAT groups.  */
  if (strcmp (".data.rel.ro.local", sec->name) == 0)
return 0;

[Bug libgcc/92988] crtstuff.c:387:21: error: '__dso_handle' undeclared (first use in this function)

2019-12-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92988

--- Comment #1 from John David Anglin  ---
Created attachment 47561
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47561&action=edit
Patch

[Bug libgomp/93066] libgomp/target.c:525:46: error: expected expression before ')' token

2019-12-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

--- Comment #4 from John David Anglin  ---
Created attachment 47562
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47562&action=edit
Patch

I'm fine with the proposed changes to target.c but I think we need the include
fix as it's needed for other packages:
https://community.hpe.com/t5/Languages-and-Scripting/SIZE-MAX-undefined/td-p/4798688#

[Bug c++/67834] Local references inside comdat groups

2019-12-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

--- Comment #10 from John David Anglin  ---
Created attachment 47564
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47564&action=edit
Patch

Untested fix.

[Bug libgomp/93066] libgomp/target.c:525:46: error: expected expression before ')' token

2019-12-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

--- Comment #5 from John David Anglin  ---
Author: danglin
Date: Mon Dec 30 20:33:17 2019
New Revision: 279773

URL: https://gcc.gnu.org/viewcvs?rev=279773&root=gcc&view=rev
Log:
PR libgomp/93066
* inclhack.def (hpux_c99_inttypes3): Fix defines for INTPTR_MAX
and UINTPTR_MAX, and missing define for SIZE_MAX.
* fixincl.x: Regenerate.
* tests/base/inttypes.h: Update for above fix.


Modified:
trunk/fixincludes/ChangeLog
trunk/fixincludes/fixincl.x
trunk/fixincludes/inclhack.def
trunk/fixincludes/tests/base/inttypes.h

[Bug libgomp/93066] libgomp/target.c:525:46: error: expected expression before ')' token

2019-12-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

John David Anglin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from John David Anglin  ---
Fixed on trunk.

[Bug target/93111] New: FAIL: gfortran.fortran-torture/compile/pr32663.f, -O3 -g (internal compiler error)

2019-12-31 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93111

Bug ID: 93111
   Summary: FAIL: gfortran.fortran-torture/compile/pr32663.f,  -O3
-g   (internal compiler error)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa*-*-*
Target: hppa*-*-*
 Build: hppa*-*-*

spawn -ignore SIGHUP
/home/dave/gnu/gcc/objdir/gcc/testsuite/gfortran1/../../gfo
rtran -B/home/dave/gnu/gcc/objdir/gcc/testsuite/gfortran1/../../
-B/home/dave/gn
u/gcc/objdir/hppa-linux-gnu/./libgfortran/ -fno-diagnostics-show-caret
-fno-diag
nostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -w
-O3 -g -c -o /home/dave/gnu/gcc/objdir/gcc/testsuite/gfortran1/pr32663.o
/home/d
ave/gnu/gcc/gcc/gcc/testsuite/gfortran.fortran-torture/compile/pr32663.f
during RTL pass: final
/home/dave/gnu/gcc/gcc/gcc/testsuite/gfortran.fortran-torture/compile/pr32663.f:
147:0: internal compiler error: in pa_print_operand, at config/pa/pa.c:5316
0xaee103 pa_print_operand(_IO_FILE*, rtx_def*, int)
../../gcc/gcc/config/pa/pa.c:5316
0x7d9537 default_print_operand(_IO_FILE*, rtx_def*, int)
../../gcc/gcc/targhooks.c:345
0x47e313 output_operand(rtx_def*, int)
../../gcc/gcc/final.c:4051
0x47f123 output_asm_insn(char const*, rtx_def**)
../../gcc/gcc/final.c:3944
0x48380b final_scan_insn_1
../../gcc/gcc/final.c:3106
0x483d9b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
../../gcc/gcc/final.c:3152
0x4840ab final_1
../../gcc/gcc/final.c:2020
0x484b53 rest_of_handle_final
../../gcc/gcc/final.c:4658
0x484b53 execute
../../gcc/gcc/final.c:4736
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gfortran.fortran-torture/compile/pr32663.f,  -O3 -g   (internal compiler
e
rror)

Code is 66 'B', comparison is LTGT.

Rev. 277745 was okay.

[Bug libgomp/93066] libgomp/target.c:525:46: error: expected expression before ')' token

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

--- Comment #7 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 17:01:46 2020
New Revision: 279814

URL: https://gcc.gnu.org/viewcvs?rev=279814&root=gcc&view=rev
Log:
Backport from mainline
2019-12-30  John David Anglin  

PR libgomp/93066
* inclhack.def (hpux_c99_inttypes3): Fix defines for INTPTR_MAX
and UINTPTR_MAX, and missing define for SIZE_MAX.
* fixincl.x: Regenerate.
* tests/base/inttypes.h: Update for above fix.


Modified:
branches/gcc-9-branch/fixincludes/ChangeLog
branches/gcc-9-branch/fixincludes/fixincl.x
branches/gcc-9-branch/fixincludes/inclhack.def
branches/gcc-9-branch/fixincludes/tests/base/inttypes.h

[Bug libgomp/93066] libgomp/target.c:525:46: error: expected expression before ')' token

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93066

--- Comment #8 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 17:05:41 2020
New Revision: 279815

URL: https://gcc.gnu.org/viewcvs?rev=279815&root=gcc&view=rev
Log:
Backport from mainline
2019-12-30  John David Anglin  

PR libgomp/93066
* inclhack.def (hpux_c99_inttypes3): Fix defines for INTPTR_MAX
and UINTPTR_MAX, and missing define for SIZE_MAX.
* fixincl.x: Regenerate.
* tests/base/inttypes.h: Update for above fix.


Modified:
branches/gcc-8-branch/fixincludes/ChangeLog
branches/gcc-8-branch/fixincludes/fixincl.x
branches/gcc-8-branch/fixincludes/inclhack.def
branches/gcc-8-branch/fixincludes/tests/base/inttypes.h

[Bug target/93111] FAIL: gfortran.fortran-torture/compile/pr32663.f, -O3 -g (internal compiler error)

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93111

--- Comment #1 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 20:54:58 2020
New Revision: 279818

URL: https://gcc.gnu.org/viewcvs?rev=279818&root=gcc&view=rev
Log:
PR target/93111
* config/pa/pa.md (scc): Use ordered_comparison_operator instead of
comparison_operator in B and S integer comparisons.  Likewise, use
ordered_comparison_operator instead of cmpib_comparison_operator in
cmpib patterns.
* config/pa/predicates.md (cmpib_comparison_operator): Remove.


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

[Bug target/93111] FAIL: gfortran.fortran-torture/compile/pr32663.f, -O3 -g (internal compiler error)

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93111

--- Comment #2 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 20:57:04 2020
New Revision: 279819

URL: https://gcc.gnu.org/viewcvs?rev=279819&root=gcc&view=rev
Log:
PR target/93111
* config/pa/pa.md (scc): Use ordered_comparison_operator instead of
comparison_operator in B and S integer comparisons.  Likewise, use
ordered_comparison_operator instead of cmpib_comparison_operator in
cmpib patterns.
* config/pa/predicates.md (cmpib_comparison_operator): Remove.


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

[Bug target/93111] FAIL: gfortran.fortran-torture/compile/pr32663.f, -O3 -g (internal compiler error)

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93111

--- Comment #3 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 20:59:14 2020
New Revision: 279820

URL: https://gcc.gnu.org/viewcvs?rev=279820&root=gcc&view=rev
Log:
PR target/93111
* config/pa/pa.md (scc): Use ordered_comparison_operator instead of
comparison_operator in B and S integer comparisons.  Likewise, use
ordered_comparison_operator instead of cmpib_comparison_operator in
cmpib patterns.
* config/pa/predicates.md (cmpib_comparison_operator): Remove.


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

[Bug target/93111] FAIL: gfortran.fortran-torture/compile/pr32663.f, -O3 -g (internal compiler error)

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93111

John David Anglin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from John David Anglin  ---
Fixed.

[Bug target/67834] Local references inside comdat groups

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

--- Comment #11 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 22:57:54 2020
New Revision: 279823

URL: https://gcc.gnu.org/viewcvs?rev=279823&root=gcc&view=rev
Log:
PR target/67834
* config/pa/pa.c (pa_elf_select_rtx_section): New.  Put references to
COMDAT group function labels in .data.rel.ro.local section.
* config/pa/pa32-linux.h (TARGET_ASM_SELECT_RTX_SECTION): Define.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.c
trunk/gcc/config/pa/pa32-linux.h

[Bug target/67834] Local references inside comdat groups

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

--- Comment #12 from John David Anglin  ---
Author: danglin
Date: Wed Jan  1 23:00:58 2020
New Revision: 279824

URL: https://gcc.gnu.org/viewcvs?rev=279824&root=gcc&view=rev
Log:
PR target/67834
* config/pa/pa.c (pa_elf_select_rtx_section): New.  Put references to
COMDAT group function labels in .data.rel.ro.local section.
* config/pa/pa32-linux.h (TARGET_ASM_SELECT_RTX_SECTION): Define.


Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/config/pa/pa.c
branches/gcc-9-branch/gcc/config/pa/pa32-linux.h

[Bug target/67834] Local references inside comdat groups

2020-01-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

John David Anglin  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from John David Anglin  ---
Resolved.

[Bug libgcc/92988] crtstuff.c:387:21: error: '__dso_handle' undeclared (first use in this function)

2020-01-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92988

John David Anglin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from John David Anglin  ---
Fixed.

[Bug c++/93360] New: FAIL: g++.dg/cpp0x/std-layout1.C -std=c++2a (test for excess errors)

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93360

Bug ID: 93360
   Summary: FAIL: g++.dg/cpp0x/std-layout1.C  -std=c++2a (test for
excess errors)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/g
cc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1
.C -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-
color=never -fdiagnostics-urls=never -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-h
p-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa
64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-
v3/testsuite/util -fmessage-length=0 -std=c++2a -pedantic-errors -Wno-long-long
-S -o std-layout1.s
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:29:32: warning:
'temp
late struct std::is_pod' is deprecated [-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
defin
ition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:44:1: note: in
expans
ion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C
:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
 note: declared here
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:30:13: warning:
'temp
late struct std::is_pod' is deprecated [-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
defin
ition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:44:1: note: in
expans
ion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C
:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
 note: declared here
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:31:13: warning:
'temp
late struct std::is_pod' is deprecated [-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
defin
ition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:44:1: note: in
expans
ion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C
:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
 note: declared here
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:29:32: warning:
'temp
late struct std::is_pod' is deprecated [-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
defin
ition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:47:1: note: in
expans
ion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C
:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
 note: declared here
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:30:13: warning:
'temp
late struct std::is_pod' is deprecated [-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
defin
ition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:47:1: note: in
expansion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
note: declared here
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:31:13: warning:
'template struct std::is_pod' is deprecated
[-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
definition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:47:1: note: in
expansion of macro 'NONPOD'
In file included from
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/type_traits:693:5:
note: declared here
output is:
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:29:32: warning:
'template struct std::is_pod' is deprecated
[-Wdeprecated-declarations]
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std-layout1.C:22:34: note: in
definition of macro 'TRY'
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/std

[Bug ipa/90720] g++.dg/lto/alias-1 FAILs

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90720

John David Anglin  changed:

   What|Removed |Added

 Target|*-*-solaris2.11 |*-*-solaris2.11
   ||hppa64-*-hpux*
 CC||danglin at gcc dot gnu.org

--- Comment #5 from John David Anglin  ---
Also fails on hppa64-*-hpux*.

[Bug lto/93361] New: FAIL: g++-dg-lto-devirt-19-01.exe 1 blank line(s) in output

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93361

Bug ID: 93361
   Summary: FAIL: g++-dg-lto-devirt-19-01.exe 1 blank line(s) in
output
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/g
cc/testsuite/g++/../../ cp_lto_devirt-19_0.o -fno-diagnostics-show-caret
-fno-di
agnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never
-
nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa6
4-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/libstdc++-v3/inclu
de/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-
O2 -fdump-ipa-cp -fipa-cp-clone -Wno-return-type -flto -r -nostdlib
-flinker-out
put=nolto-rel -flto=auto
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-
v3/src/.libs
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
 -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs -o
g++-dg-l
to-devirt-19-01.exe
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
  -b, -m  Ignored for compatibility.
  -B, --always-make   Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
  Change to DIRECTORY before doing anything.
  -d  Print lots of debugging information.
  --debug[=FLAGS] Print various types of debugging information.
  -e, --environment-overrides
  Environment variables override makefiles.
  --eval=STRING   Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
  Read FILE as a makefile.
  -h, --help  Print this message and exit.
  -i, --ignore-errors Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
  Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]  Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-goingKeep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
  Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
  Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
  Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
  Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base   Print make's internal database.
  -q, --question  Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules  Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet   Don't echo recipes.
  -S, --no-keep-going, --stop
  Turns off -k.
  -t, --touch Touch targets instead of remaking them.
  --trace Print tracing information.
  -v, --version   Print the version number of make and exit.
  -w, --print-directory   Print the current directory.
  --no-print-directoryTurn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
  Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for hppa64-hp-hpux11.11
Report bugs to 
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.
compiler exited with status 1
output is:
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
  -b, -m  Ignored for compatibility.
  -B, --always-make   Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
  Change to DIRECTORY before doing anything.
  -d  Print lots of debugging information.
  --debug[=FLAGS] Print various types of debugging information.
  -e, --environment-overrides

[Bug lto/93362] New: FAIL: g++.dg/lto/pr70929 cp_lto_pr70929_0.o-cp_lto_pr70929_1.o execute -O3 -flto

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93362

Bug ID: 93362
   Summary: FAIL: g++.dg/lto/pr70929
cp_lto_pr70929_0.o-cp_lto_pr70929_1.o execute -O3
-flto
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/g
cc/testsuite/g++/../../ cp_lto_pr70929_0.o cp_lto_pr70929_1.o
-fno-diagnostics-s
how-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnos
tics-urls=never -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++
-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libst
dc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/l
ibstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fm
essage-length=0 -O3 -flto
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++
-v3/src/.libs
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.lib
s -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs -o
g++-dg-
lto-pr70929-01.exe
PASS: g++.dg/lto/pr70929 cp_lto_pr70929_0.o-cp_lto_pr70929_1.o link, -O3 -flto
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc+
+-v3/src/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
:/test/gnu/gcc/objdir/gcc/testsuite/g++/../..:.:/test/gnu/gcc/objdir/hppa64-hp-h
pux11.11/./libstdc++-v3/src/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./lib
stdc++-v3/src/.libs:/test/gnu/gcc/objdir/gcc/testsuite/g++/../..
spawn [open ...]
FAIL: g++.dg/lto/pr70929 cp_lto_pr70929_0.o-cp_lto_pr70929_1.o execute -O3
-flto

[Bug lto/89884] g++.dg/lto/pr89335 FAILs

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89884

John David Anglin  changed:

   What|Removed |Added

 Target|*-*-solaris2.*  |*-*-solaris2.*
   ||hppa64-*-hpux*
 CC||danglin at gcc dot gnu.org

--- Comment #4 from John David Anglin  ---
Also fails on hppa64-hp-hpux11.11.

[Bug analyzer/93367] New: FAIL: gcc.dg/analyzer/abort.c (test for warnings, line 71)

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93367

Bug ID: 93367
   Summary: FAIL: gcc.dg/analyzer/abort.c  (test for warnings,
line 71)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: analyzer
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/analyzer/abort.c -fno-diagnostics-show-caret
-fno-diagnos
tics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never
-fanal
yzer -fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer
-call-summaries -S -o abort.s
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_1':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:14:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_2':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:31:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_3':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:47:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_4':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:60:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_5':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:71:3: warning: UNKNOWN
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_1':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:14:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_2':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:31:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_3':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:47:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_4':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:60:3: warning: TRUE
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c: In function 'test_5':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:71:3: warning: UNKNOWN

PASS: gcc.dg/analyzer/abort.c  (test for warnings, line 14)
PASS: gcc.dg/analyzer/abort.c  (test for warnings, line 31)
PASS: gcc.dg/analyzer/abort.c  (test for warnings, line 47)
PASS: gcc.dg/analyzer/abort.c  (test for warnings, line 60)
FAIL: gcc.dg/analyzer/abort.c  (test for warnings, line 71)
FAIL: gcc.dg/analyzer/abort.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/abort.c:71:3: warning: UNKNOWN

[Bug analyzer/93368] New: FAIL: gcc.dg/analyzer/data-model-1.c (test for excess errors)

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93368

Bug ID: 93368
   Summary: FAIL: gcc.dg/analyzer/data-model-1.c (test for excess
errors)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: analyzer
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
 Build: hppa64-hp-hpux11.11

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never   -fanalyzer
-fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer-call-summaries -S   -o data-model-1.s(timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fanalyzer
-fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer-call-summaries -S -o data-model-1.s
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c: In function
'test_12':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c:140:13: warning:
implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c:140:13: warning:
incompatible implicit declaration of built-in function 'alloca'

FAIL: gcc.dg/analyzer/data-model-1.c  (test for warnings, line 144)
FAIL: gcc.dg/analyzer/data-model-1.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c:140:13: warning:
implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c:140:13: warning:
incompatible implicit declaration of built-in function 'alloca'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/data-model-1.c:144:3: warning:
UNKNOWN

[Bug analyzer/93368] FAIL: gcc.dg/analyzer/data-model-1.c (test for excess errors)

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93368

--- Comment #1 from John David Anglin  ---
Similar fails:

FAIL: gcc.dg/analyzer/malloc-1.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-1.c:274:15: warning:
implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-1.c:274:15: warning:
incompatible implicit declaration of built-in function 'alloca'

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c -fno-diagnostics-show-caret
-
fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=n
ever -fanalyzer -fdiagnostics-path-format=separate-events
-Wanalyzer-too-complex
 -fanalyzer-call-summaries -S -o malloc-callbacks.s
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c: In function
'get_alloca':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error:
 'alloca' undeclared (first use in this function); did you mean 'valloc'?
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10: note:
each undeclared identifier is reported only once for each function it appears
in
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c: In function
'get_alloca':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error:
 'alloca' undeclared (first use in this function); did you mean 'valloc'?
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10: note:
each undeclared identifier is reported only once for each function it appears
in

FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 27)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 28)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 34)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 35)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 41)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 53)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 54)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 62)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 64)
XFAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 70)
FAIL: gcc.dg/analyzer/malloc-callbacks.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error: 'alloca' undeclared (first use in this function); did you mean 'valloc'?

FAIL: gcc.dg/analyzer/malloc-paths-8.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:16:11:
warning: implicit declaration of function 'alloca'
[-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:16:11:
warning: incompatible implicit declaration of built-in function 'alloca'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:28:11:
warning: incompatible implicit declaration of built-in function 'alloca'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:42:11:
warning: incompatible implicit declaration of built-in function 'alloca'

[Bug analyzer/93316] Several gcc.dg/analyzer tests FAIL

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93316

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #2 from John David Anglin  ---
Seeing these on hppa64-*-hpux* as well.

[Bug lto/91627] FAIL: gcc.dg/lto/20081201-2 c_lto_20081201-2_0.o-c_lto_20081201-2_1.o execute -O3 -flto -flto-partition=1to1

2020-01-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91627

--- Comment #2 from John David Anglin  ---
As can be seen foo() is not inlined.

(gdb) disass 0x40002d34
Dump of assembler code for function foo:
   0x40002d30 <+0>: copy rp,ret0
   0x40002d34 <+4>: std rp,-10(sp)
   0x40002d38 <+8>: ldd -10(sp),rp
   0x40002d3c <+12>:bve,n (rp)
End of assembler dump.

Why is it okay to inline foo?

[Bug c++/93431] New: FAIL: g++.dg/cpp2a/lambda-uneval9.C -std=c++2a (test for excess errors)

2020-01-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93431

Bug ID: 93431
   Summary: FAIL: g++.dg/cpp2a/lambda-uneval9.C  -std=c++2a (test
for excess errors)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp2a/lambda-uneval9.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -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/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++2a
-pedantic-errors -Wno-long-long
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp2a/lambda-uneval9.cc
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -lm -o
./lambda-uneval9.exe
/usr/ccs/bin/ld: Duplicate symbol "_ZZ7counterIZ1fvEUlvE_EivE3cnt" in files
/var/tmp//ccU6tw34.o and /var/tmp//ccQhHpab.o
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/ccs/bin/ld: Duplicate symbol "_ZZ7counterIZ1fvEUlvE_EivE3cnt" in files
/var/tmp//ccU6tw34.o and /var/tmp//ccQhHpab.o
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)
collect2: error: ld returned 1 exit status

FAIL: g++.dg/cpp2a/lambda-uneval9.C  -std=c++2a (test for excess errors)
Excess errors:
/usr/ccs/bin/ld: Duplicate symbol "_ZZ7counterIZ1fvEUlvE_EivE3cnt" in files
/var/tmp//ccU6tw34.o and /var/tmp//ccQhHpab.o
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)

Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs:/test/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs:/test/gnu/gcc/objdir/gcc
FAIL: g++.dg/cpp2a/lambda-uneval9.C  -std=c++2a execution test

[Bug demangler/92544] test-demangle < ../../../gcc/libiberty/testsuite/demangle-expected: FAIL at line 1452

2020-01-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92544

--- Comment #1 from John David Anglin  ---
This occurred again.  This time on hppa64-hp-hpux11.11:

/test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/g
nu64/gcc/gcc-10/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux1
1.11/bin/ -B/opt/gnu64/gcc/gcc-10/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/g
cc/gcc-10/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-10/hppa64-hp-h
pux11.11/sys-include-DHAVE_CONFIG_H -g -O2 -static-libstdc++ -static-libgcc
 -I.. -I../../../gcc/libiberty/testsuite/../../include  -o test-demangle \
../../../gcc/libiberty/testsuite/test-demangle.c ../libiberty.a
./test-demangle < ../../../gcc/libiberty/testsuite/demangle-expected
FAIL at line 1452, options :
in:  _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE
out: void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)),
void>::type*)
exp: void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))),
void>::type
*)
./test-demangle: 336 tests, 1 failures

[Bug c/70813] Wrong warning "'0' flag ignored with precision and ā€˜%d’ gnu_printf format"

2020-02-09 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70813

John David Anglin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-02-09
 CC||danglin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from John David Anglin  ---
I observe the same warning.  Whether the '0' flag is ignored or not in this
situation is an issue for mpfr since r13457.

HP-UX treats this situation differently from glibc.  HP-UX ignores the flag and
glibc doesn't.

[Bug c++/93817] New: FAIL: g++.dg/diagnostic/array-init1.C -std=c++98 (test for errors, line 10)

2020-02-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93817

Bug ID: 93817
   Summary: FAIL: g++.dg/diagnostic/array-init1.C  -std=c++98
(test for errors, line 10)
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
 Build: hppa-unknown-linux-gnu

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/h
ome/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../
/home/dave/gnu/gcc/gcc/gcc/test
suite/g++.dg/diagnostic/array-init1.C -fno-diagnostics-show-caret
-fno-diagnosti
cs-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never
-nostdin
c++
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-g
nu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include
-I/home/dave/
gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include
/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmessage-length=
0 -std=c++98 -pedantic-errors -Wno-long-long -S -o array-init1.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:8:3:
error:
 conversion from 'long int' to 'A' is ambiguous
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:3:21:
note:
 candidate: 'A::A(char*)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:3:12:
note:
 candidate: 'A::A(int)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:9:3:
error:
 invalid conversion from 'int*' to 'int' [-fpermissive]
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:3:15:
note:
   initializing argument 1 of 'A::A(int)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:10:23:
erro
r: conversion from 'unsigned int' to 'A' is ambiguous
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:3:21:
note: candidate: 'A::A(char*)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:3:12:
note: candidate: 'A::A(int)'
compiler exited with status 1
PASS: g++.dg/diagnostic/array-init1.C  -std=c++98  (test for errors, line 8)
PASS: g++.dg/diagnostic/array-init1.C  -std=c++98  (test for errors, line 9)
FAIL: g++.dg/diagnostic/array-init1.C  -std=c++98  (test for errors, line 10)
FAIL: g++.dg/diagnostic/array-init1.C  -std=c++98 (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/array-init1.C:10:23:
error: conversion from 'unsigned int' to 'A' is ambiguous

[Bug c++/93431] FAIL: g++.dg/cpp2a/lambda-uneval9.C -std=c++2a (test for excess errors)

2020-02-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93431

--- Comment #1 from John David Anglin  ---
The following are unsupported:
UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C  -std=c++98
UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C  -std=c++14
UNSUPPORTED: g++.dg/cpp2a/lambda-uneval9.C  -std=c++17

Seems like on issue with check_effective_target_c++2a.

[Bug libstdc++/93851] New: FAIL: 20_util/integer_comparisons/equal.cc execution test

2020-02-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93851

Bug ID: 93851
   Summary: FAIL: 20_util/integer_comparisons/equal.cc execution
test
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
 Build: hppa2.0w-hp-hpux11.11

spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/test/gnu/gcc/objdir/./gc
c -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/t
est/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/
objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu/gcc/gcc-10/
hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/lib/
-isy
stem /opt/gnu/gcc/gcc-10/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc
-10/hppa2.0w-hp-hpux11.11/sys-include -fchecking=1
-B/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column -g
-O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/lib
stdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux1
1.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu
/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuit
e/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/integer_comparisons/equa
l.cc -std=gnu++2a -fno-diagnostics-show-caret -fdiagnostics-color=never
./libtes
tc++.a
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/filesystem/
.libs -lm -o ./equal.exe
PASS: 20_util/integer_comparisons/equal.cc (test for excess errors)
Setting LD_LIBRARY_PATH to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa2.0w-
hp-hpux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
spawn [open ...]
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/integer_comparisons/equal.cc:64:
void test03(): Assertion '!std::cmp_equal(u, ul)' failed.
FAIL: 20_util/integer_comparisons/equal.cc execution test
extra_tool_flags are:
 -std=gnu++2a

[Bug ipa/92548] FAIL: gcc.dg/ipa/ipa-sra-12.c scan-ipa-dump-times sra "Will split parameter" 2

2020-02-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92548

John David Anglin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from John David Anglin  ---
Fixed on trunk.

[Bug ada/91100] [9,10 Regression] FAIL: gnat.dg/socket1.adb execution test

2020-02-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91100

John David Anglin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from John David Anglin  ---
Fixed.

[Bug libstdc++/93991] New: FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

2020-03-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991

Bug ID: 93991
   Summary: FAIL: 22_locale/time_get/get_time/char/2.cc execution
test - 'errorstate == ios_base::eofbit' failed
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
  Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
 Build: hppa-unknown-linux-gnu

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/home
/dave/gnu/gcc/objdir/./gcc -nostdinc++
-L/home/dave/gnu/gcc/objdir/hppa-linux-gn
u/libstdc++-v3/src
-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.
libs -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/
home/dave/opt/gnu/gcc/gcc-10/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-10
/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-10/hppa-linux-gnu/inclu
de -isystem /home/dave/opt/gnu/gcc/gcc-10/hppa-linux-gnu/sys-include
-fchecking=
1 -B/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs
-fmessage-
length=0 -fno-show-column -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOUR
CE -DLOCALEDIR="." -nostdinc++
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstd
c++-v3/include/hppa-linux-gnu
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc
++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/g
cc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/tests
uite/util
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_get/get_t
ime/char/2.cc -include bits/stdc++.h -fno-diagnostics-show-caret
-fdiagnostics-c
olor=never -fdiagnostics-urls=never ./libtestc++.a -Wl,--gc-sections
-L/home/dav
e/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/filesystem/.libs -lm -o
./2.exe
PASS: 22_locale/time_get/get_time/char/2.cc (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/obj
dir/hppa-linux-gnu/./libstdc++-v3/../libatomic/.libs:/home/dave/gnu/gcc/objdir/h
ppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-lin
ux-gnu/./libstdc++-v3/src/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gc
c/objdir/hppa-linux-gnu/./libstdc++-v3/../libatomic/.libs:/home/dave/gnu/gcc/obj
dir/hppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/objdir/hpp
a-linux-gnu/./libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/li
bstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home
/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa
-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/ob
jdir/./prev-gcc
Execution timeout is: 300
spawn [open ...]
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2
.cc:62: void test02(): Assertion 'errorstate == ios_base::eofbit' failed.
FAIL: 22_locale/time_get/get_time/char/2.cc execution test
extra_tool_flags are:
  -include bits/stdc++.h

This is with Debian unstable.  There are several similar failures.

[Bug libstdc++/93991] FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

2020-03-01 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991

--- Comment #1 from John David Anglin  ---
Revision 275589 was okay.

[Bug middle-end/56214] New: [4.8 Regression] FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE

2013-02-05 Thread danglin at gcc dot gnu.org


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



 Bug #: 56214

   Summary: [4.8 Regression] FAIL:

gcc.c-torture/execute/20050121-1.c compilation, ICE

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: middle-end

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa*-*-* (32-bit)

Target: hppa*-*-* (32-bit)

 Build: hppa*-*-* (32-bit)





Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc

-B/home/dave/gnu/gcc/objdir/gcc/

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c 

-fno-diagnostics-show-caret  -w  -O0   -lm   -o

/home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/20050121-1.x0(timeout = 300)

spawn /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c

-fno-diagnostics-show-caret -w -O0 -lm -o

/home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/20050121-1.x0

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c: In

function 'foo_char':

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c:33:1:

error: unrecognizable insn:

(insn 46 25 34 2 (set (reg:SI 20 %r20)

(subreg:SI (mem/c:CQI (plus:SI (reg/f:SI 3 %r3)

(const_int 22 [0x16])) [0 %sfp+22 S2 A64]) 0))

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c:33 -1

 (nil))

/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20050121-1.c:33:1:

internal compiler error: in extract_insn, at recog.c:2150

0x4c0f9f _fatal_insn(char const*, rtx_def const*, char const*, int, char

const*)

../../gcc/gcc/rtl-error.c:109

0x4c0ff7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)

../../gcc/gcc/rtl-error.c:117

0x48f52f extract_insn(rtx_def*)

../../gcc/gcc/recog.c:2150

0x48f5b3 extract_insn_cached(rtx_def*)

../../gcc/gcc/recog.c:2053

0x2d3623 cleanup_subreg_operands(rtx_def*)

../../gcc/gcc/final.c:3008

0x4b85ff reload(rtx_def*, int)

../../gcc/gcc/reload1.c:1240

0x3d2df3 do_reload

../../gcc/gcc/ira.c:4635

0x3d2df3 rest_of_handle_reload

../../gcc/gcc/ira.c:4736



Introduced between 195690 and 195703.


[Bug target/56214] [4.8 Regression] FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE

2013-02-06 Thread danglin at gcc dot gnu.org


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



John David Anglin  changed:



   What|Removed |Added



 Status|UNCONFIRMED |ASSIGNED

   Last reconfirmed||2013-02-06

  Component|middle-end  |target

 Ever Confirmed|0   |1



--- Comment #1 from John David Anglin  2013-02-06 
16:40:02 UTC ---

Testing fix.


[Bug middle-end/56242] New: [4.8 Regression] libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:175:0: ICE: Segmentation fault

2013-02-07 Thread danglin at gcc dot gnu.org


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



 Bug #: 56242

   Summary: [4.8 Regression]

libjava/classpath/gnu/javax/swing/text/html/parser/sup

port/textPreProcessor.java:175:0: ICE: Segmentation

fault

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: middle-end

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa2.0w-hp-hpux11.11

Target: hppa2.0w-hp-hpux11.11

 Build: hppa2.0w-hp-hpux11.11





/opt/gnu/bin/bash ./libtool --tag=GCJ   --mode=compile

/test/gnu/gcc/objdir/./gc

c/gcj -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/

-B/test/gnu/gcc/objd

ir/./gcc/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/

-B/opt/gnu/gcc/gcc-4

.8/hppa2.0w-hp-hpux11.11/lib/ -isystem

/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.1

1/include -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include   

-fc

lasspath= -fbootclasspath=../../../gcc/libjava/classpath/lib --encoding=UTF-8

-W

no-deprecated -fbootstrap-classes -g -O2  -c -o

gnu/javax/swing/text/html/parser

/support.lo

-fsource-filename=/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava

/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/support.lo -MD -MP

-

MF gnu/javax/swing/text/html/parser/support.deps

@gnu/javax/swing/text/html/pars

er/support.list

libtool: compile:  /test/gnu/gcc/objdir/./gcc/gcj

-B/test/gnu/gcc/objdir/hppa2.0

w-hp-hpux11.11/libjava/ -B/test/gnu/gcc/objdir/./gcc/

-B/opt/gnu/gcc/gcc-4.8/hpp

a2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/lib/

-isyst

em /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include -isystem

/opt/gnu/gcc/gcc-

4.8/hppa2.0w-hp-hpux11.11/sys-include -fclasspath=

-fbootclasspath=../../../gcc/

libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g

-O

2 -c

-fsource-filename=/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/classp

ath/lib/classes -MT gnu/javax/swing/text/html/parser/support.lo -MD -MP -MF

gnu/

javax/swing/text/html/parser/support.deps

@gnu/javax/swing/text/html/parser/supp

ort.list  -fPIC -o gnu/javax/swing/text/html/parser/.libs/support.o

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:

In class 'gnu.javax.swing.text.html.parser.support.textPreProcessor':

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:

In method

'gnu.javax.swing.text.html.parser.support.textPreProcessor.preprocessPreformatted(java.lang.StringBuffer)':

In file included from

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/parameterDefaulter.java:104:0,

 from

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java:111,

 from

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/Parser.java:1530,

 from

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/Parser.java:248,

 from

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/Parser.java:137,

 from :12:

/test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:175:0:

internal compiler error: Segmentation fault

   return toCharArray(a_text);

 ^

libbacktrace could not find executable to open

Please submit a full bug report,

with preprocessed source if appropriate.

See  for instructions.

make[3]: *** [gnu/javax/swing/text/html/parser/support.lo] Error 1

make[3]: *** Waiting for unfinished jobs

make[3]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava'

make[2]: *** [all-recursive] Error 1



Starting program: /test/gnu/gcc/objdir/gcc/jc1 /var/tmp//cckrnrz2jx

-fuse-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions

-fkeep-inline-functions -quiet -dumpbase cckrnrz2jx -auxbase-strip

gnu/javax/swing/text/html/parser/.libs/support.o -g -O2 -Wno-deprecated

-version -ffilelist-file -fencoding=UTF-8 -fbootstrap-classes

-fsource-filename=/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib/classes

-fPIC -fbootclasspath=./:../../../gcc/libjava/classpath/lib/ -faux-classpath

cckrnrz2jx.zip -MD_ -MT gnu/javax/swing/text/html/parser/support.lo -MF

gnu/javax/swing/text/html/parser/support.deps -o cckrnrz2jx.s

warning: Private mapping of shared library text was not specified

by the executable; setting a breakpoint in a shared library which

is not privately mapped will not work.  See the HP-UX 11i v3 chatr

manpage for methods to privately map shared library text.

GNU Java (GCC) version 4.8.0 20130206 (experimental) [trunk revision 19581

[Bug debug/56307] New: FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra "Created a debug-only replacement for s"

2013-02-13 Thread danglin at gcc dot gnu.org


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



 Bug #: 56307

   Summary: FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra

"Created a debug-only replacement for s"

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: debug

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa2.0w-hp-hpux11.11

Target: hppa2.0w-hp-hpux11.11

 Build: hppa2.0w-hp-hpux11.11





Created attachment 29438

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29438

Tree dump



Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/

/te

st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr55579.c 

-fno-diagnostics-show-ca

ret   -O2 -g -fdump-tree-esra -S  -o pr55579.s(timeout = 300)

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/

/test/gnu/gcc/gc

c/gcc/testsuite/gcc.dg/tree-ssa/pr55579.c -fno-diagnostics-show-caret -O2 -g

-fd

ump-tree-esra -S -o pr55579.s

PASS: gcc.dg/tree-ssa/pr55579.c (test for excess errors)

FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra "Created a debug-only

replac

ement for s"


[Bug testsuite/56345] New: FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)

2013-02-15 Thread danglin at gcc dot gnu.org


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



 Bug #: 56345

   Summary: FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11

(test for excess errors)

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: testsuite

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa2.0w-hp-hpux11.11

Target: hppa2.0w-hp-hpux11.11

 Build: hppa2.0w-hp-hpux11.11





spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++

-B/test/gnu/gcc/objdir/g

cc/testsuite/g++/../../

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/lamb

da-this8.C -fno-diagnostics-show-caret -nostdinc++

-I/test/gnu/gcc/objdir/hppa2.

0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11

-I/test/gnu/gcc/objdi

r/hppa2.0w-hp-hpux11.11/libstdc++-v3/include

-I/test/gnu/gcc/gcc/libstdc++-v3/li

bsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward

-I/test/gnu/gcc/gcc/li

bstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 -pedantic-errors

-Wno-lo

ng-long -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs

-B

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs

-L/test/gnu/

gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -lm -o

./lambda-this8.

exe

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:6:31: error:

declaration of 'void abort() throw ()' has a different exception specifier

In file included from /test/gnu/gcc/objdir/gcc/include-fixed/wchar.h:33:0,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/in

clude/cwchar:44,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/in

clude/bits/postypes.h:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/char_traits.h:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/string:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/stdexcept:39,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/array:38,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/tuple:39,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/functional:55,

 from

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:4:

/test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:178:20: error: from previous

declaration 'void abort()'

compiler exited with status 1

output is:

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:6:31: error:

declaration of 'void abort() throw ()' has a different exception specifier

In file included from /test/gnu/gcc/objdir/gcc/include-fixed/wchar.h:33:0,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cwchar:44,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/postypes.h:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/char_traits.h:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/string:40,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/stdexcept:39,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/array:38,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/tuple:39,

 from

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/functional:55,

 from

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:4:

/test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:178:20: error: from previous

declaration 'void abort()'



FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)



   extern void abort(void);


[Bug c++/56346] New: FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)

2013-02-15 Thread danglin at gcc dot gnu.org


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



 Bug #: 56346

   Summary: FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test

for excess errors)

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: c++

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa2.0w-hp-hpux11.11

Target: hppa2.0w-hp-hpux11.11





spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++

-B/test/gnu/gcc/objdir/g

cc/testsuite/g++/../../

/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/tls/thread_local3

.C -fno-diagnostics-show-caret -nostdinc++

-I/test/gnu/gcc/objdir/hppa2.0w-hp-hp

ux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11

-I/test/gnu/gcc/objdir/hppa2.

0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++

-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward

-I/test/gnu/gcc/gcc/libstdc++-

v3/testsuite/util -fmessage-length=0 -std=gnu++11 -pthread

-L/test/gnu/gcc/objdi

r/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs

-B/test/gnu/gcc/objdir/hppa2.0w

-hp-hpux11.11/./libstdc++-v3/src/.libs

-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11

.11/./libstdc++-v3/src/.libs -o ./thread_local3.exe

/usr/ccs/bin/ld: Unsatisfied symbols:

   __dso_handle (first referenced in /var/tmp//cccf0gDu.o) (data)

collect2: error: ld returned 1 exit status

compiler exited with status 1

output is:

/usr/ccs/bin/ld: Unsatisfied symbols:

   __dso_handle (first referenced in /var/tmp//cccf0gDu.o) (data)

collect2: error: ld returned 1 exit status



FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)



Related fails:



FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 execution test

FAIL: g++.dg/tls/thread_local4.C -std=gnu++11 (test for excess errors)

FAIL: g++.dg/tls/thread_local4.C -std=gnu++11 execution test

FAIL: g++.dg/tls/thread_local5.C -std=gnu++11 (test for excess errors)

FAIL: g++.dg/tls/thread_local5.C -std=gnu++11 execution test

FAIL: g++.dg/tls/thread_local6.C (test for excess errors)

FAIL: g++.dg/tls/thread_local6.C execution test



Target doesn't use crtstuff.c.


[Bug tree-optimization/56347] New: [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



 Bug #: 56347

   Summary: [4.8 Regression] FAIL:

gfortran.dg/integer_exponentiation_2.f90  -O2

execution test

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: tree-optimization

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa2.0w-hp-hpux11.11

Target: hppa2.0w-hp-hpux11.11

 Build: hppa2.0w-hp-hpux11.11





Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran

-B

/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../

-B/test/gnu/gcc/objdir/hppa2.

0w-hp-hpux11.11/./libgfortran/

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integ

er_exponentiation_2.f90  -fno-diagnostics-show-caret   -O2   

-B/test/gnu/gcc/ob

jdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs

-L/test/gnu/gcc/objdir/hppa2.0w-h

p-hpux11.11/./libgfortran/.libs

-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./l

ibgfortran/.libs

-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.lib

s -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs

-L/test/gnu/g

cc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs  -lm   -o

./integer_exponent

iation_2.exe(timeout = 300)

spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran

-B/test/gnu/gcc

/objdir/gcc/testsuite/gfortran/../../

-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.

11/./libgfortran/

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentia

tion_2.f90 -fno-diagnostics-show-caret -O2

-B/test/gnu/gcc/objdir/hppa2.0w-hp-hp

ux11.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

-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs

-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs

-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs -lm -o

./integer_exponentiation_2.exe

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:142.13:



  call gee_i(i**0_8) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:143.13:



  call gee_i(i**1_8) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:144.13:



  call gee_i(i**2_8) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:145.13:



  call gee_i(i**3_8) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:146.13:



  call gee_i(i**(-1_8)) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:147.13:



  call gee_i(i**(-2_8)) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:148.13:



  call gee_i(i**(-3_8)) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:149.13:



  call gee_i(i**huge(0_8)) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:150.13:



  call gee_i(i**(-huge(0_8))) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:151.13:



  call gee_i(i**(-huge(0_8)-1_8)) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

output is:

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:142.13:



  call gee_i(i**0_8) ! { dg-warning "Type mismatch in argument" }

 1

Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)

/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation

[Bug tree-optimization/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



--- Comment #1 from John David Anglin  2013-02-15 
18:35:58 UTC ---

Wrong assembly code is here:



   0x30f4 :fsub,sgl fr17,fr17,fr22

   0x30f8 :fabs,sgl fr22,fr22

   0x30fc :fcmp,sgl,!< fr13R,fr22

   0x3100 :ftest

   0x3104 :b,l,n 0x37f0 ,r0



This is with a slightly reduced testcase.  Bug disappears when I tried to

reduce run_me.


[Bug tree-optimization/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



--- Comment #2 from John David Anglin  2013-02-15 
18:37:58 UTC ---

Created attachment 29471

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29471

Slightly reduced testcase


[Bug tree-optimization/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



--- Comment #3 from John David Anglin  2013-02-15 
19:07:29 UTC ---

In final:



(note 135 134 137 [bb 11] NOTE_INSN_BASIC_BLOCK)

(insn:TI 137 135 138 (set (reg:SF 68 %fr22 [orig:303 D.1185 ] [303])

(minus:SF (reg:SF 58 %fr17 [orig:107 D.1185 ] [107])

(reg:SF 58 %fr17 [orig:107 D.1185 ] [107])))

integer_exponentiation_2.f90:83 140 {subsf3}

 (nil))

(insn:TI 138 137 139 (set (reg:SF 68 %fr22 [orig:304 D.1185 ] [304])

(abs:SF (reg:SF 68 %fr22 [orig:303 D.1185 ] [303])))

integer_exponentiation_2.f90:83 150 {abssf2}

 (nil))



In expand:



;; Generating RTL for gimple basic block 12



;; if (_131 < _143)



(insn 136 135 137 (set (reg:SF 302 [ D.1185 ])

(mult:SF (reg:SF 104 [ D.1185 ])

(reg:SF 200 [ D.1185 ]))) integer_exponentiation_2.f90:39 -1

 (nil))



(insn 137 136 138 (set (reg:SF 303 [ D.1185 ])

(minus:SF (reg:SF 302 [ D.1185 ])

(reg:SF 107 [ D.1185 ]))) integer_exponentiation_2.f90:83 -1

 (nil))



(insn 138 137 139 (set (reg:SF 304 [ D.1185 ])

(abs:SF (reg:SF 303 [ D.1185 ]))) integer_exponentiation_2.f90:83 -1

 (nil))



The tree code is:



  _131 = _130 * 9.9974737875163555145263671875e-6;

  ...



;;   basic block 12, loop depth 0

;;pred:   11

  powmult_43 = _12 * powmult_177;

  _142 = powmult_43 - _17;

  _143 = ABS_EXPR <_142>;

  if (_131 < _143)

goto ;

  else

goto ;


[Bug tree-optimization/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



--- Comment #4 from John David Anglin  2013-02-15 
20:07:47 UTC ---

> Wrong assembly code is here:

> 

>0x30f4 :fsub,sgl fr17,fr17,fr22

>0x30f8 :fabs,sgl fr22,fr22

>0x30fc :fcmp,sgl,!< fr13R,fr22

>0x3100 :ftest

>0x3104 :b,l,n 0x37f0 :ftest

   0x30f0 :b,l,n 0x37f0 ,r0

   0x30f4 :fsub,sgl fr17,fr17,fr22

   0x30f8 :fabs,sgl fr22,fr22

=> 0x30fc :fcmp,sgl,!< fr13R,fr22

   0x3100 :ftest

   0x3104 :b,l,n 0x37f0 ,r0

   0x3108 :fcmp,sgl,!> fr12R,fr15

   0x310c :ftest

   0x3110 :b,l,n 0x37f0 ,r0

End of assembler dump.

(gdb) p $fr12R

$3 = 2

(gdb) p $fr15

$4 = 9.09090886e-06



Ignore #3.


[Bug target/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-15 Thread danglin at gcc dot gnu.org


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



John David Anglin  changed:



   What|Removed |Added



  Component|tree-optimization   |target



--- Comment #5 from John David Anglin  2013-02-15 
21:44:34 UTC ---

Floating register $fr12R is clobbered by call to powf.  Problem is similar

to PR fortran/31832.


[Bug target/56214] [4.8 Regression] FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE

2013-02-18 Thread danglin at gcc dot gnu.org


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



--- Comment #2 from John David Anglin  2013-02-18 
15:21:41 UTC ---

Author: danglin

Date: Mon Feb 18 15:21:32 2013

New Revision: 196122



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196122

Log:

PR target/56214

* config/pa/predicates.md (base14_operand): Except for BLKmode, QImode

and HImode, require all displacements to be an integer multiple of the

mode size.

* config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,

only allow QImode and HImode when reload is in progress and strict is

true.  Likewise for symbolic addresses.  Use base14_operand to check

displacements in REG+BASE addresses.





Modified:

trunk/gcc/ChangeLog

trunk/gcc/config/pa/pa.c

trunk/gcc/config/pa/predicates.md


[Bug target/56214] [4.8 Regression] FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE

2013-02-18 Thread danglin at gcc dot gnu.org


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



John David Anglin  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED



--- Comment #3 from John David Anglin  2013-02-18 
15:25:55 UTC ---

Fixed.


[Bug target/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-18 Thread danglin at gcc dot gnu.org


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



--- Comment #6 from John David Anglin  2013-02-18 
16:29:56 UTC ---

Author: danglin

Date: Mon Feb 18 16:29:49 2013

New Revision: 196123



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196123

Log:

PR target/56347

* config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark

registers %fr12 and %fr12R as call used.





Modified:

trunk/gcc/ChangeLog

trunk/gcc/config/pa/pa.c


[Bug target/56347] [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test

2013-02-18 Thread danglin at gcc dot gnu.org


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



--- Comment #7 from John David Anglin  2013-02-18 
18:04:23 UTC ---

Patch to remove old work around is here:

http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00854.html


[Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error)

2013-02-18 Thread danglin at gcc dot gnu.org


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



 Bug #: 56382

   Summary: FAIL: gcc.c-torture/compile/pr55921.c  (internal

compiler error)

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: middle-end

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: dang...@gcc.gnu.org

  Host: hppa64-hp-hpux11.11

Target: hppa64-hp-hpux11.11

 Build: hppa64-hp-hpux11.11





This is a problem extracting the first subreg from a SCmode value.  Thia

occurs during reload after the point where pseudos can be created but we

need a pseudo to extract the subreg.  The problem is SCmode is the same

size as DImode on this target, so the subreg can't be extracted by a move.



I marked this a middle-end bug as the documentation indicates that complex

values are handled by it.


[Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error)

2013-02-18 Thread danglin at gcc dot gnu.org


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



--- Comment #1 from John David Anglin  2013-02-18 
18:34:54 UTC ---

Created attachment 29485

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29485

Patch



I tried the above changes to expmed.c but this

approach eventually reaches a gcc_unreacheable

dead end.


  1   2   3   4   5   6   7   8   9   10   >