public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code
@ 2008-12-30 10:43 tim at klingt dot org
2008-12-30 10:43 ` [Bug c++/38670] " tim at klingt dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tim at klingt dot org @ 2008-12-30 10:43 UTC (permalink / raw)
To: gcc-bugs
(sorry for not reducing the test case)
gcc-4.4 fails to compile some of my code, which compiled fine with (at least)
4.2 and 4.3. the preprocessed source is attached.
gcc version:
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../gcc-4.4-20081226/configure -v
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs
--enable-languages=c,c++ --prefix=/usr/local/lib/gcc-snapshot --enable-shared
--with-system-zlib --disable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-gtk-cairo --disable-plugin --enable-objc-gc --enable-mpfr
--disable-werror --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.0 20081226 (experimental) (GCC)
--
Summary: [4.4 regression] g++ rejects valid c++ code
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tim at klingt dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/38670] [4.4 regression] g++ rejects valid c++ code
2008-12-30 10:43 [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code tim at klingt dot org
@ 2008-12-30 10:43 ` tim at klingt dot org
2008-12-30 10:57 ` tim at klingt dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tim at klingt dot org @ 2008-12-30 10:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tim at klingt dot org 2008-12-30 10:42 -------
Created an attachment (id=17011)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17011&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/38670] [4.4 regression] g++ rejects valid c++ code
2008-12-30 10:43 [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code tim at klingt dot org
2008-12-30 10:43 ` [Bug c++/38670] " tim at klingt dot org
@ 2008-12-30 10:57 ` tim at klingt dot org
2008-12-30 10:59 ` tim at klingt dot org
2008-12-30 11:14 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tim at klingt dot org @ 2008-12-30 10:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tim at klingt dot org 2008-12-30 10:56 -------
Created an attachment (id=17012)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17012&action=view)
possible reduced test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/38670] [4.4 regression] g++ rejects valid c++ code
2008-12-30 10:43 [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code tim at klingt dot org
2008-12-30 10:43 ` [Bug c++/38670] " tim at klingt dot org
2008-12-30 10:57 ` tim at klingt dot org
@ 2008-12-30 10:59 ` tim at klingt dot org
2008-12-30 11:14 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tim at klingt dot org @ 2008-12-30 10:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tim at klingt dot org 2008-12-30 10:58 -------
(In reply to comment #2)
> Created an attachment (id=17012)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17012&action=view) [edit]
> possible reduced test case
hm, i am not sure, whether this is a compiler bug, or a stricter implementation
of the standard when reusing type names as variable names ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/38670] [4.4 regression] g++ rejects valid c++ code
2008-12-30 10:43 [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code tim at klingt dot org
` (2 preceding siblings ...)
2008-12-30 10:59 ` tim at klingt dot org
@ 2008-12-30 11:14 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-30 11:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-12-30 11:12 -------
See PR37302. Your testcase is invalid.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-30 11:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-30 10:43 [Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code tim at klingt dot org
2008-12-30 10:43 ` [Bug c++/38670] " tim at klingt dot org
2008-12-30 10:57 ` tim at klingt dot org
2008-12-30 10:59 ` tim at klingt dot org
2008-12-30 11:14 ` 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).