public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
@ 2005-10-27  1:56 ` pinskia at gcc dot gnu dot org
  2005-10-27 14:01 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-27  1:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2005-10-27 01:56 -------
I might have a fix for the two error messages, though it might also cause other
issues, let see what happens in the test results.


-- 


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
  2005-10-27  1:56 ` [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message pinskia at gcc dot gnu dot org
@ 2005-10-27 14:01 ` pinskia at gcc dot gnu dot org
  2005-10-28  3:57 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-27 14:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pinskia at gcc dot gnu dot org  2005-10-27 14:01 -------
(In reply to comment #12)
> I might have a fix for the two error messages, though it might also cause other
> issues, let see what happens in the test results.

It did not work.


-- 


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
  2005-10-27  1:56 ` [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message pinskia at gcc dot gnu dot org
  2005-10-27 14:01 ` pinskia at gcc dot gnu dot org
@ 2005-10-28  3:57 ` pinskia at gcc dot gnu dot org
  2005-10-28  4:18 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-28  3:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2005-10-28 03:57 -------
Actually I figured out how to fix the problem with my patch, just moving around
error mark node is what is needed here.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-08-17 02:40:11         |2005-10-28 03:57:06
               date|                            |


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-28  3:57 ` pinskia at gcc dot gnu dot org
@ 2005-10-28  4:18 ` pinskia at gcc dot gnu dot org
  2005-10-28 14:51 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-28  4:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from pinskia at gcc dot gnu dot org  2005-10-28 04:18 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01599.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg01599.html
           Keywords|                            |patch


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-28  4:18 ` pinskia at gcc dot gnu dot org
@ 2005-10-28 14:51 ` pinskia at gcc dot gnu dot org
  2005-10-28 14:57 ` pinskia at gcc dot gnu dot org
  2005-10-28 14:58 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-28 14:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from pinskia at gcc dot gnu dot org  2005-10-28 14:50 -------
Subject: Bug 23426

Author: pinskia
Date: Fri Oct 28 14:50:53 2005
New Revision: 105934

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105934
Log:
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23426
        * decl.c (start_decl): Check that the decl is an
        error_mark_node before getting the type.
        Remove the check for the decl's type being an
        error_mark_node.  

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23426
        * g++.dg/other/large-size-array.C: New test.


Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/large-size-array.C
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/decl.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-28 14:51 ` pinskia at gcc dot gnu dot org
@ 2005-10-28 14:57 ` pinskia at gcc dot gnu dot org
  2005-10-28 14:58 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-28 14:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from pinskia at gcc dot gnu dot org  2005-10-28 14:57 -------
Subject: Bug 23426

Author: pinskia
Date: Fri Oct 28 14:57:30 2005
New Revision: 105936

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105936
Log:
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23426
        * decl.c (start_decl): Check that the decl is an
        error_mark_node before getting the type.
        Remove the check for the decl's type being an
        error_mark_node.  

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23426
        * g++.dg/other/large-size-array.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/other/large-size-array.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
       [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-10-28 14:57 ` pinskia at gcc dot gnu dot org
@ 2005-10-28 14:58 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-28 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from pinskia at gcc dot gnu dot org  2005-10-28 14:57 -------
Fixed in 4.0.3.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
  2005-08-16 18:44 [Bug c++/23426] New: partial fix too large array problem wilson at gcc dot gnu dot org
  2005-08-23 11:46 ` [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message pinskia at gcc dot gnu dot org
@ 2005-09-27 15:57 ` mmitchel at gcc dot gnu dot org
  1 sibling, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 15:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
  2005-08-16 18:44 [Bug c++/23426] New: partial fix too large array problem wilson at gcc dot gnu dot org
@ 2005-08-23 11:46 ` pinskia at gcc dot gnu dot org
  2005-09-27 15:57 ` mmitchel at gcc dot gnu dot org
  1 sibling, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-23 11:46 UTC (permalink / raw)
  To: gcc-bugs

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-23 11:44 -------
earth:~>gcc t.cc
t.cc: In function ‘int main()’:
t.cc:19: error: size of array ‘a’ is too large
t.cc:20: error: ‘a’ was not declared in this scope
earth:~>~/ia32_linux_gcc3_4/bin/gcc t.cc
t.cc: In function `int main()':
t.cc:19: error: size of variable 'a' is too large
earth:~>gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/peshtigo/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-gnu --
host=i686-pc-linux-gnu --enable-__cxa_atexit --enable-languages=c++,objc,java,f95 --prefix=/
home/gates/pinskia/linux --enable-threads=posix --enable-shared
Thread model: posix
gcc version 4.1.0 20050823 (experimental)

So the error message is also a regression but that makes this minor as the first error message is 
correct.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|ice-on-invalid-code         |diagnostic
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0
            Summary|[4.0/4.1 Regression] partial|[4.0/4.1 Regression] Too
                   |fix too large array problem |large array problem gives
                   |                            |two error message


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


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

end of thread, other threads:[~2005-10-28 14:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23426-338@http.gcc.gnu.org/bugzilla/>
2005-10-27  1:56 ` [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message pinskia at gcc dot gnu dot org
2005-10-27 14:01 ` pinskia at gcc dot gnu dot org
2005-10-28  3:57 ` pinskia at gcc dot gnu dot org
2005-10-28  4:18 ` pinskia at gcc dot gnu dot org
2005-10-28 14:51 ` pinskia at gcc dot gnu dot org
2005-10-28 14:57 ` pinskia at gcc dot gnu dot org
2005-10-28 14:58 ` pinskia at gcc dot gnu dot org
2005-08-16 18:44 [Bug c++/23426] New: partial fix too large array problem wilson at gcc dot gnu dot org
2005-08-23 11:46 ` [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message pinskia at gcc dot gnu dot org
2005-09-27 15:57 ` mmitchel 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).