public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/10349] [Sparc64/Solaris] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
@ 2003-05-26  9:07 ` dhazeghi@yahoo.com
  2003-05-26 12:08 ` ebotcazou@gcc.gnu.org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-26  9:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 08:53 -------
Hello,

according to gcc-testresults, this problem is still occuring on mainline (http://gcc.gnu.org/ml/
gcc-testresults/2003-05/msg01389.html) and possibly on branch.

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/10349] [Sparc64/Solaris] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
  2003-05-26  9:07 ` [Bug target/10349] [Sparc64/Solaris] testsuite failure in g++.dg/parse/stack1.C dhazeghi@yahoo.com
@ 2003-05-26 12:08 ` ebotcazou@gcc.gnu.org
  2003-12-29 22:49 ` [Bug optimization/10349] " pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou@gcc.gnu.org @ 2003-05-26 12:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-26 11:21:51
               date|                            |


------- Additional Comments From ebotcazou@gcc.gnu.org  2003-05-26 11:21 -------
On branch to as of 05/22.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
  2003-05-26  9:07 ` [Bug target/10349] [Sparc64/Solaris] testsuite failure in g++.dg/parse/stack1.C dhazeghi@yahoo.com
  2003-05-26 12:08 ` ebotcazou@gcc.gnu.org
@ 2003-12-29 22:49 ` pinskia at gcc dot gnu dot org
  2004-01-01  7:10 ` ghazi at caip dot rutgers dot edu
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-29 22:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-29 21:41 -------
This is fixed for 3.3.3, as this is a dup of bug 10060.

*** This bug has been marked as a duplicate of 10060 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |3.3.3


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (2 preceding siblings ...)
  2003-12-29 22:49 ` [Bug optimization/10349] " pinskia at gcc dot gnu dot org
@ 2004-01-01  7:10 ` ghazi at caip dot rutgers dot edu
  2004-01-01  7:12 ` ghazi at caip dot rutgers dot edu
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ghazi at caip dot rutgers dot edu @ 2004-01-01  7:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at caip dot rutgers dot edu  2004-01-01 07:10 -------
Subject: Re:  testsuite failure in g++.dg/parse/stack1.C

This PR is not fixed for 3.3.3, when I configure with checking
enabled, I still get the error.  (I thought it was noted in the PR
that some enable checking parameter is required to trigger, but now I
don't see it).  Anyway, see:
http://gcc.gnu.org/ml/gcc-testresults/2004-01/msg00013.html

I used --enable-checking=misc,tree,rtl,rtlflag,gc I'm not sure which
one exposes the bug.

Please reopen the PR.

		Thanks,
		--Kaveh


-- 


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (3 preceding siblings ...)
  2004-01-01  7:10 ` ghazi at caip dot rutgers dot edu
@ 2004-01-01  7:12 ` ghazi at caip dot rutgers dot edu
  2004-01-01  7:13 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ghazi at caip dot rutgers dot edu @ 2004-01-01  7:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at caip dot rutgers dot edu  2004-01-01 07:12 -------
Bug really isn't fixed as noted.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (4 preceding siblings ...)
  2004-01-01  7:12 ` ghazi at caip dot rutgers dot edu
@ 2004-01-01  7:13 ` pinskia at gcc dot gnu dot org
  2004-01-01  7:16 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-01  7:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 07:13 -------
Minor as checking causes it.  I want to say it is caused by RTL checking.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|                            |ice-checking


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (5 preceding siblings ...)
  2004-01-01  7:13 ` pinskia at gcc dot gnu dot org
@ 2004-01-01  7:16 ` pinskia at gcc dot gnu dot org
  2004-01-01  8:02 ` ghazi at caip dot rutgers dot edu
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-01  7:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 07:16 -------
Actually is an enhancement really because it does not ICE with regular checking on the mainline so 
it is caused by RTL checking.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (6 preceding siblings ...)
  2004-01-01  7:16 ` pinskia at gcc dot gnu dot org
@ 2004-01-01  8:02 ` ghazi at caip dot rutgers dot edu
  2004-01-01  8:17 ` ghazi at caip dot rutgers dot edu
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ghazi at caip dot rutgers dot edu @ 2004-01-01  8:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (7 preceding siblings ...)
  2004-01-01  8:02 ` ghazi at caip dot rutgers dot edu
@ 2004-01-01  8:17 ` ghazi at caip dot rutgers dot edu
  2004-01-01  8:25 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ghazi at caip dot rutgers dot edu @ 2004-01-01  8:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at caip dot rutgers dot edu  2004-01-01 08:17 -------
Don't be so dismissive of the bug.  It still occurs on mainline and does not 
require RTL checking.  All you need to do is increase the else-if count in the 
testcase from 11k to 100k (or more.)  At some point you'll get a crash.

-- 


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (8 preceding siblings ...)
  2004-01-01  8:17 ` ghazi at caip dot rutgers dot edu
@ 2004-01-01  8:25 ` pinskia at gcc dot gnu dot org
  2004-01-01 16:17 ` ghazi at caip dot rutgers dot edu
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-01  8:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 08:25 -------
Okay fine what is the back trace, maybe I can get this fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
           Keywords|ice-checking                |
   Target Milestone|3.3.3                       |---


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (9 preceding siblings ...)
  2004-01-01  8:25 ` pinskia at gcc dot gnu dot org
@ 2004-01-01 16:17 ` ghazi at caip dot rutgers dot edu
  2004-01-01 16:26 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ghazi at caip dot rutgers dot edu @ 2004-01-01 16:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at caip dot rutgers dot edu  2004-01-01 16:17 -------
Subject: Re:  testsuite failure in g++.dg/parse/stack1.C

With gdb I can't get a good trace, perhaps because the stack
overflowed.  Also given that it crashes in the parser, the 3.4 bug
might be different than the 3.3.x one.  Or maybe not.  Note this was
3.4 configured with no special options on sparc-sun-solaris2.7,
(i.e. sparc64, listed in the initial report, is not necessary given a
larger number of "else-ifs".  Though the crash still happens on
sparc64 also.)  I used sparc32 because gdb doesn't support sparc64
AFAICT.

GNU gdb 5.3
[...]
(gdb) run -fpreprocessed stack2.ii -quiet -dumpbase stack2.C -mcpu=v7
-auxbase stack2 -version -o stack2.s
Starting program:
/teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/cc1plus
-fpreprocessed stack2.ii -quiet -dumpbase stack2.C -mcpu=v7 -auxbase
stack2 -version -o stack2.s
GNU C++ version 3.4.0 20040101 (experimental) (sparc-sun-solaris2.7)
        compiled by GNU C version 3.4.0 20040101 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096


Program received signal SIGSEGV, Segmentation fault.
0x000ed7e8 in cp_parser_type_name (parser=0xff10ff80)
    at ../../egcc-CVS20040101/gcc/cp/parser.c:8752
8752      type_decl = cp_parser_class_name (parser,
(gdb) bt
#0  0x000ed7e8 in cp_parser_type_name (parser=0xff10ff80)
    at ../../egcc-CVS20040101/gcc/cp/parser.c:8752
Cannot access memory at address 0xff3eff54
(gdb) list
8752      type_decl = cp_parser_class_name (parser,
8753                                        /*typename_keyword_p=*/false,
8754                                        /*template_keyword_p=*/false,
8755                                        /*type_p=*/false,
8756                                        /*check_dependency_p=*/true,
8757                                        /*class_head_p=*/false,
8758                                        /*is_declaration=*/false);
8759      /* If it's not a class-name, keep looking.  */
8760      if (!cp_parser_parse_definitely (parser))
8761        {
(gdb) p *parser
$2 = {lexer = 0x3b6c0000, scope = 0xfd068320, object_scope = 0x500660,
  qualifying_scope = 0x10, context = 0x2e6c0000,
  allow_gnu_extensions_p = false, greater_than_is_operator_p = false,
  default_arg_ok_p = false, integral_constant_expression_p = false,
  allow_non_integral_constant_expression_p = false,
  non_integral_constant_expression_p = 80, in_offsetof_p = 6,
  local_variables_forbidden_p = 96,
  in_unbraced_linkage_specification_p = false, in_declarator_p = false,
  in_template_argument_list_p = false, in_iteration_statement_p = 16,
  in_switch_statement_p = 71,
  type_definition_forbidden_message = 0xff390180 "",
  unparsed_functions_queues = 0x500660, num_classes_being_defined = 16,
  num_template_parameter_lists = 1193410560}


-- 


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (10 preceding siblings ...)
  2004-01-01 16:17 ` ghazi at caip dot rutgers dot edu
@ 2004-01-01 16:26 ` ebotcazou at gcc dot gnu dot org
  2004-01-01 16:31 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-01 16:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-01-01 16:26 -------
>I used sparc32 because gdb doesn't support sparc64 AFAICT.

It does, when configured specifically for SPARC64.


-- 


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


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

* [Bug optimization/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (11 preceding siblings ...)
  2004-01-01 16:26 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-01 16:31 ` pinskia at gcc dot gnu dot org
  2004-10-27  3:50 ` [Bug c++/10349] " pinskia at gcc dot gnu dot org
  2004-11-28 21:10 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-01 16:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 16:31 -------
One issue is that the following code is not sibcalled:
6073      /* Otherwise, we simply parse the statement directly.  */
6074      else
6075        statement = cp_parser_compound_statement (parser, false);
6076
6077      /* Return the statement.  */
6078      return statement;

I know that is fixed on the tree-ssa (but there is already another problem on the tree-ssa see bug 
12454), there might be other problems too.

-- 


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


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

* [Bug c++/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (12 preceding siblings ...)
  2004-01-01 16:31 ` pinskia at gcc dot gnu dot org
@ 2004-10-27  3:50 ` pinskia at gcc dot gnu dot org
  2004-11-28 21:10 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-27  3:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-27 03:50 -------
#1251 0x000ae778 in cp_parser_implicitly_scoped_statement (parser=0x4178ec40) at /Users/pinskia/
src/local/gcc/gcc/cp/parser.c:6541
#1252 0x0009dba4 in cp_parser_statement (parser=0x4178ec40, in_statement_expr=0x0) at /Users/
pinskia/src/local/gcc/gcc/cp/parser.c:6115
#1253 0x000ae778 in cp_parser_implicitly_scoped_statement (parser=0x4178ec40) at /Users/pinskia/
src/local/gcc/gcc/cp/parser.c:6541



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-07-28 14:44:37         |2004-10-27 03:50:34
               date|                            |


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


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

* [Bug c++/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
                   ` (13 preceding siblings ...)
  2004-10-27  3:50 ` [Bug c++/10349] " pinskia at gcc dot gnu dot org
@ 2004-11-28 21:10 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-28 21:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-28 21:10 -------
#1138 0x0005d820 in cp_parser_implicitly_scoped_statement (parser=0x424b6c40) at /Users/pinskia/
src/local3/gcc/gcc/cp/parser.c:6541
#1139 0x00053100 in cp_parser_statement (parser=0x424b6c40, in_statement_expr=0x0) at /Users/
pinskia/src/local3/gcc/gcc/cp/parser.c:6115

-- 


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


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

* [Bug c++/10349] testsuite failure in g++.dg/parse/stack1.C
       [not found] <bug-10349-222@http.gcc.gnu.org/bugzilla/>
@ 2006-01-10 12:35 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-01-10 12:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from ebotcazou at gcc dot gnu dot org  2006-01-10 12:35 -------
Not really a GCC problem.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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



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

end of thread, other threads:[~2006-01-10 12:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030408155600.10349.ghazi@caip.rutgers.edu>
2003-05-26  9:07 ` [Bug target/10349] [Sparc64/Solaris] testsuite failure in g++.dg/parse/stack1.C dhazeghi@yahoo.com
2003-05-26 12:08 ` ebotcazou@gcc.gnu.org
2003-12-29 22:49 ` [Bug optimization/10349] " pinskia at gcc dot gnu dot org
2004-01-01  7:10 ` ghazi at caip dot rutgers dot edu
2004-01-01  7:12 ` ghazi at caip dot rutgers dot edu
2004-01-01  7:13 ` pinskia at gcc dot gnu dot org
2004-01-01  7:16 ` pinskia at gcc dot gnu dot org
2004-01-01  8:02 ` ghazi at caip dot rutgers dot edu
2004-01-01  8:17 ` ghazi at caip dot rutgers dot edu
2004-01-01  8:25 ` pinskia at gcc dot gnu dot org
2004-01-01 16:17 ` ghazi at caip dot rutgers dot edu
2004-01-01 16:26 ` ebotcazou at gcc dot gnu dot org
2004-01-01 16:31 ` pinskia at gcc dot gnu dot org
2004-10-27  3:50 ` [Bug c++/10349] " pinskia at gcc dot gnu dot org
2004-11-28 21:10 ` pinskia at gcc dot gnu dot org
     [not found] <bug-10349-222@http.gcc.gnu.org/bugzilla/>
2006-01-10 12:35 ` ebotcazou 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).