public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
@ 2008-11-14 20:16 edwintorok at gmail dot com
2008-11-14 20:17 ` [Bug c++/38123] " edwintorok at gmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: edwintorok at gmail dot com @ 2008-11-14 20:16 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2753 bytes --]
Compiling the attached file with latest g++ from trunk:
$ ~/gcc_inst/bin/g++
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:
In function int main():
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:84:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:85:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:88:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:89:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:92:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:93:
warning: deprecated conversion from string constant to char*
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:
In function void test(char*, __va_list_tag*):
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:96:
error: incorrect sharing of tree nodes
ap->fp_offset = D.2748;
*ap
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/UnitTests/2003-08-11-VaListArg.c:96:
internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
This is:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --disable-multilib --disable-static
--prefix=/home/edwin/gcc_inst/ --enable-languages=c,c++
Thread model: posix
gcc version 4.4.0 20081114 (experimental) [trunk revision 141857] (GCC)
--
Summary: [4.3 regression] error: incorrect sharing of tree nodes
ap->fp_offset = D.2748;
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edwintorok at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/38123] [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
@ 2008-11-14 20:17 ` edwintorok at gmail dot com
2008-11-14 20:20 ` edwintorok at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: edwintorok at gmail dot com @ 2008-11-14 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from edwintorok at gmail dot com 2008-11-14 20:15 -------
Created an attachment (id=16677)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16677&action=view)
original sourcecode
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/38123] [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
2008-11-14 20:17 ` [Bug c++/38123] " edwintorok at gmail dot com
@ 2008-11-14 20:20 ` edwintorok at gmail dot com
2008-11-14 21:57 ` [Bug target/38123] [4.4 " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: edwintorok at gmail dot com @ 2008-11-14 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from edwintorok at gmail dot com 2008-11-14 20:18 -------
Created an attachment (id=16678)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16678&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
2008-11-14 20:17 ` [Bug c++/38123] " edwintorok at gmail dot com
2008-11-14 20:20 ` edwintorok at gmail dot com
@ 2008-11-14 21:57 ` pinskia at gcc dot gnu dot org
2008-11-14 22:00 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-14 21:57 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|c++ |target
Summary|[4.3 regression] error: |[4.4 regression] error:
|incorrect sharing of tree |incorrect sharing of tree
|nodes ap->fp_offset = |nodes ap->fp_offset =
|D.2748; |D.2748;
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
` (2 preceding siblings ...)
2008-11-14 21:57 ` [Bug target/38123] [4.4 " pinskia at gcc dot gnu dot org
@ 2008-11-14 22:00 ` pinskia at gcc dot gnu dot org
2008-11-14 22:38 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-14 22:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-11-14 21:59 -------
Reduced testcase:
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
typedef struct QuadWordS_struct { int i; double d; } QuadWordS;
void test(char *fmt, va_list ap) {
QuadWordS qw;
qw = __builtin_va_arg(ap,QuadWordS);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-11-14 21:59:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
` (3 preceding siblings ...)
2008-11-14 22:00 ` pinskia at gcc dot gnu dot org
@ 2008-11-14 22:38 ` jakub at gcc dot gnu dot org
2008-11-15 13:52 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-14 22:38 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-11-14 21:59:06 |2008-11-14 22:36:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
` (4 preceding siblings ...)
2008-11-14 22:38 ` jakub at gcc dot gnu dot org
@ 2008-11-15 13:52 ` jakub at gcc dot gnu dot org
2008-11-15 16:43 ` jakub at gcc dot gnu dot org
2008-11-15 16:44 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-15 13:52 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
` (5 preceding siblings ...)
2008-11-15 13:52 ` jakub at gcc dot gnu dot org
@ 2008-11-15 16:43 ` jakub at gcc dot gnu dot org
2008-11-15 16:44 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-15 16:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-11-15 16:41 -------
Subject: Bug 38123
Author: jakub
Date: Sat Nov 15 16:40:24 2008
New Revision: 141889
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141889
Log:
PR target/38123
* config/i386/i386.c (ix86_gimplify_va_arg): Don't share valist between
gpr and other COMPONENT_REFs.
* gcc.c-torture/compile/pr38123.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr38123.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/38123] [4.4 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748;
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
` (6 preceding siblings ...)
2008-11-15 16:43 ` jakub at gcc dot gnu dot org
@ 2008-11-15 16:44 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-15 16:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-11-15 16:43 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38123
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-11-15 16:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 20:16 [Bug c++/38123] New: [4.3 regression] error: incorrect sharing of tree nodes ap->fp_offset = D.2748; edwintorok at gmail dot com
2008-11-14 20:17 ` [Bug c++/38123] " edwintorok at gmail dot com
2008-11-14 20:20 ` edwintorok at gmail dot com
2008-11-14 21:57 ` [Bug target/38123] [4.4 " pinskia at gcc dot gnu dot org
2008-11-14 22:00 ` pinskia at gcc dot gnu dot org
2008-11-14 22:38 ` jakub at gcc dot gnu dot org
2008-11-15 13:52 ` jakub at gcc dot gnu dot org
2008-11-15 16:43 ` jakub at gcc dot gnu dot org
2008-11-15 16:44 ` jakub at gcc dot gnu dot org
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).