public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26844]  New: in compile time
@ 2006-03-24 13:47 bedorlan at gmail dot com
  2006-03-24 13:56 ` [Bug c++/26844] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bedorlan at gmail dot com @ 2006-03-24 13:47 UTC (permalink / raw)
  To: gcc-bugs




-- 
           Summary: in compile time
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bedorlan at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/26844] in compile time
  2006-03-24 13:47 [Bug c++/26844] New: in compile time bedorlan at gmail dot com
@ 2006-03-24 13:56 ` pinskia at gcc dot gnu dot org
  2006-03-24 14:06 ` bedorlan at gmail dot com
  2006-03-24 16:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-24 13:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-24 13:56 -------
Details about this bug?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/26844] in compile time
  2006-03-24 13:47 [Bug c++/26844] New: in compile time bedorlan at gmail dot com
  2006-03-24 13:56 ` [Bug c++/26844] " pinskia at gcc dot gnu dot org
@ 2006-03-24 14:06 ` bedorlan at gmail dot com
  2006-03-24 16:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bedorlan at gmail dot com @ 2006-03-24 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bedorlan at gmail dot com  2006-03-24 14:06 -------
Created an attachment (id=11112)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11112&action=view)
g++ -ansi result.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/26844] in compile time
  2006-03-24 13:47 [Bug c++/26844] New: in compile time bedorlan at gmail dot com
  2006-03-24 13:56 ` [Bug c++/26844] " pinskia at gcc dot gnu dot org
  2006-03-24 14:06 ` bedorlan at gmail dot com
@ 2006-03-24 16:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-24 16:14 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 866 bytes --]



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-24 16:14 -------
Fixed in 3.4.0.
Reduced testcase:

namespace std
{
  class type_info   {};
}
int main(int argc, char **argv)
{
  int filas, columnas;
  typeid( new double[filas][columnas] );
}


This is invalid code:
t.cc: In function ‘int main(int, char**)’:
t.cc:8: error: ‘columnas’ cannot appear in a constant-expression


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26844


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-24 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24 13:47 [Bug c++/26844] New: in compile time bedorlan at gmail dot com
2006-03-24 13:56 ` [Bug c++/26844] " pinskia at gcc dot gnu dot org
2006-03-24 14:06 ` bedorlan at gmail dot com
2006-03-24 16:14 ` pinskia 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).