https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116993
Bug ID: 116993
Summary: FAIL: g++.dg/tm/pr46270.C -std=gnu++17 (test for
excess errors)
Product: gcc
Version: 15.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: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/testsuite/g++1/../../xg++
-
B/home/dave/gnu/gcc/objdir64/gcc/testsuite/g++1/../../
/home/dave/gnu/gcc/gcc/gc
c/testsuite/g++.dg/tm/pr46270.C -fdiagnostics-plain-output -nostdinc++
-I/home/d
ave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.1
1 -I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/home
/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/i
nclude/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmessage-l
ength=0 -std=gnu++17 -fgnu-tm -S -o pr46270.s
In file included from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-
v3/include/bits/new_allocator.h:34,
from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-
v3/include/hppa64-hp-hpux11.11/bits/c++allocator.h:33,
from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-
v3/include/bits/allocator.h:46,
from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-
v3/include/list:65,
from
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/tm/pr46270.C:5
:
/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++/new:168:26: warning: new
declarati
on 'void* operator new(std::size_t, std::align_val_t)' ambiguates built-in
decla
ration 'void* operator new(long unsigned int, std::align_val_t)
transaction_safe
' [-Wbuiltin-declaration-mismatch]
/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++/new:179:26: warning: new
declarati
on 'void* operator new [](std::size_t, std::align_val_t)' ambiguates built-in
de
claration 'void* operator new [](long unsigned int, std::align_val_t)
transactio
n_safe' [-Wbuiltin-declaration-mismatch]
FAIL: g++.dg/tm/pr46270.C -std=gnu++17 (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++/new:168:26: warning: new
declaration 'void* operator new(std::size_t, std::align_val_t)' ambiguates
built-in declaration 'void* operator new(long unsigned int, std::align_val_t)
transaction_safe' [-Wbuiltin-declaration-mismatch]
/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++/new:179:26: warning: new
declaration 'void* operator new [](std::size_t, std::align_val_t)' ambiguates
built-in declaration 'void* operator new [](long unsigned int,
std::align_val_t) transaction_safe' [-Wbuiltin-declaration-mismatch]
Similar fail:
FAIL: g++.dg/tm/pr46270.C -std=gnu++26 (test for excess errors)