public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111569] New: Problem finding in Library functions with parametres: 32, 8 , 32 Bits
@ 2023-09-24 11:28 hjherbert at web dot de
2023-09-24 12:17 ` [Bug c++/111569] " xry111 at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjherbert at web dot de @ 2023-09-24 11:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111569
Bug ID: 111569
Summary: Problem finding in Library functions with parametres:
32, 8 , 32 Bits
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hjherbert at web dot de
Target Milestone: ---
Created attachment 55980
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55980&action=edit
4 source files and a shell script which runs on Odroid-C4
The Linker does not find in Library functions, if the function has parameters:
( char *p, u32 b, u8 c, u32 d )
But it finds in Library functions with the parameters:
( char *p, u32 b, u32 c, u32 d )
( char *p, u8 b, u32 c, u32 d )
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14'
--with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-12
--program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support
--enable-plugin --enable-default-pie --with-system-zlib
--enable-libphobos-checking=release --with-target-system-zlib=auto
--enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419
--disable-werror --enable-checking=release --build=aarch64-linux-gnu
--host=aarch64-linux-gnu --target=aarch64-linux-gnu
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/111569] Problem finding in Library functions with parametres: 32, 8 , 32 Bits
2023-09-24 11:28 [Bug c++/111569] New: Problem finding in Library functions with parametres: 32, 8 , 32 Bits hjherbert at web dot de
@ 2023-09-24 12:17 ` xry111 at gcc dot gnu.org
2023-09-24 17:06 ` pinskia at gcc dot gnu.org
2023-09-24 19:50 ` hjherbert at web dot de
2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-09-24 12:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111569
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
CC| |xry111 at gcc dot gnu.org
--- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
The test case is invalid:
upro1.cpp: In function 'int upro1(char*, u32, u8, u32)':
upro1.cpp:4:8: error: 'b32' was not declared in this scope; did you mean 'u32'?
4 | return b32 + c8 + d32 ;
| ^~~
| u32
upro1.cpp:4:14: error: 'c8' was not declared in this scope; did you mean 'c'?
4 | return b32 + c8 + d32 ;
| ^~
| c
upro1.cpp:4:19: error: 'd32' was not declared in this scope; did you mean
'u32'?
4 | return b32 + c8 + d32 ;
| ^~~
| u32
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/111569] Problem finding in Library functions with parametres: 32, 8 , 32 Bits
2023-09-24 11:28 [Bug c++/111569] New: Problem finding in Library functions with parametres: 32, 8 , 32 Bits hjherbert at web dot de
2023-09-24 12:17 ` [Bug c++/111569] " xry111 at gcc dot gnu.org
@ 2023-09-24 17:06 ` pinskia at gcc dot gnu.org
2023-09-24 19:50 ` hjherbert at web dot de
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-24 17:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111569
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You would have caught the bad code if in your compile.sh script you added:
```
set -e
```
As that would error out if one of the programs exit with a non-zero return code
which gcc does on an error.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/111569] Problem finding in Library functions with parametres: 32, 8 , 32 Bits
2023-09-24 11:28 [Bug c++/111569] New: Problem finding in Library functions with parametres: 32, 8 , 32 Bits hjherbert at web dot de
2023-09-24 12:17 ` [Bug c++/111569] " xry111 at gcc dot gnu.org
2023-09-24 17:06 ` pinskia at gcc dot gnu.org
@ 2023-09-24 19:50 ` hjherbert at web dot de
2 siblings, 0 replies; 4+ messages in thread
From: hjherbert at web dot de @ 2023-09-24 19:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111569
Hans-Jürgen Herbert <hjherbert at web dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Hans-Jürgen Herbert <hjherbert at web dot de> ---
Sorry.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-24 19:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 11:28 [Bug c++/111569] New: Problem finding in Library functions with parametres: 32, 8 , 32 Bits hjherbert at web dot de
2023-09-24 12:17 ` [Bug c++/111569] " xry111 at gcc dot gnu.org
2023-09-24 17:06 ` pinskia at gcc dot gnu.org
2023-09-24 19:50 ` hjherbert at web dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).