This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/61159] __builtin_constant_p gives incorrect results with aliases
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Sep 2016 12:43:16 +0000
- Subject: [Bug ipa/61159] __builtin_constant_p gives incorrect results with aliases
- Auto-submitted: auto-generated
- References: <bug-61159-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61159
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> ---
The new testcase FAILs on Solaris/x86 with /bin/as:
FAIL: gcc.c-torture/compile/pr61159.c -O0 (test for excess errors)
Excess errors:
Assembler: pr61159.c
"/var/tmp//ccRtFPva.s", line 5 : Cannot set a weak symbol to a common
symbol
Input is
.file "pr61159.c"
.local dummy
.comm dummy,4,4
.weak foo
.set foo,dummy
Rainer