public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails
@ 2006-02-06 5:20 pinskia at gcc dot gnu dot org
2006-02-06 5:20 ` [Bug c++/26114] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-06 5:20 UTC (permalink / raw)
To: gcc-bugs
/Users/pinskia/src/gcc/local/gcc/gcc/testsuite/g++.dg/init/ctor4.C:11: warning:
non-static reference 'int& bar::a' in class without a constructor
--
Summary: [4.2 Regression] g++.dg/init/ctor4.C fails
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
@ 2006-02-06 5:20 ` pinskia at gcc dot gnu dot org
2006-02-06 5:41 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C fails pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-06 5:20 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
2006-02-06 5:20 ` [Bug c++/26114] " pinskia at gcc dot gnu dot org
@ 2006-02-06 5:41 ` pinskia at gcc dot gnu dot org
2006-02-06 5:48 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-06 5:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-06 05:41 -------
FAIL: g++.old-deja/g++.jason/overload34.C (test for excess errors)
Excess errors:
/Users/pinskia/src/gcc/local/gcc/gcc/testsuite/g++.old-deja/g++.jason/overload34.C:5:
warning: non-static reference 'int& X::flag' in class without a constructor
overload34.C fails the same way.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2 Regression] |[4.2 Regression]
|g++.dg/init/ctor4.C fails |g++.dg/init/ctor4.C and
| |g++.old-
| |deja/g++.jason/overload34.C
| |fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
2006-02-06 5:20 ` [Bug c++/26114] " pinskia at gcc dot gnu dot org
2006-02-06 5:41 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C fails pinskia at gcc dot gnu dot org
@ 2006-02-06 5:48 ` pinskia at gcc dot gnu dot org
2006-02-06 11:50 ` hp at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-06 5:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-06 05:48 -------
Likewise for p11110.C:
FAIL: g++.old-deja/g++.mike/p11110.C (test for excess errors)
Excess
errors:/Users/pinskia/src/gcc/local/gcc/gcc/testsuite/g++.old-deja/g++.mike/p11110.C:16:
warning: non-static reference 'conatiner& user::_c' in class without a
constructor
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2 Regression] |[4.2 Regression]
|g++.dg/init/ctor4.C and |g++.dg/init/ctor4.C and
|g++.old- |g++.old-
|deja/g++.jason/overload34.C |deja/g++.jason/overload34.C
|fails |and g++.old-
| |deja/g++.mike/p11110.C fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-02-06 5:48 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails pinskia at gcc dot gnu dot org
@ 2006-02-06 11:50 ` hp at gcc dot gnu dot org
2006-02-06 15:02 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-02-06 11:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hp at gcc dot gnu dot org 2006-02-06 11:50 -------
Confirmed for mmix-knuth-mmixware, cris-axis-elf and cris-axis-linux-gnu,
passes with 110520, fails with 110613.
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hp at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-06 11:50:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-02-06 11:50 ` hp at gcc dot gnu dot org
@ 2006-02-06 15:02 ` pinskia at gcc dot gnu dot org
2006-02-12 20:45 ` jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-06 15:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-06 15:02 -------
*** Bug 26129 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-02-06 15:02 ` pinskia at gcc dot gnu dot org
@ 2006-02-12 20:45 ` jsm28 at gcc dot gnu dot org
2006-03-03 18:16 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-02-12 20:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2006-02-12 20:45 -------
Passed with revision 110539, fails with 110584.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-02-12 20:45 ` jsm28 at gcc dot gnu dot org
@ 2006-03-03 18:16 ` pinskia at gcc dot gnu dot org
2006-03-30 1:06 ` janis at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-03-03 18:16 -------
Caused by:
+2006-02-03 Lee Millward <lee.millward@gmail.com>
+
+ * typeck.c (string_conv_p): Pass appropiate
+ OPT_Wxxxx values when calling warning().
+ (build_array_ref, cxx_mark_addressable): Likewise.
+ (check_return_expr): Likewise.
+
+ * init.c (perform_member_init): Likewise.
+ (sort_mem_initializers, emit_mem_initializers): Likewise.
+
+ * class.c (check_field_decls): Likewise.
+ (warn_about_ambiguous_bases): Likewise.
+
+ * decl.c (pop_label, poplevel): Likewise.
+ (duplicate_decls, grok_op_properties): Likewise.
+ (start_preparsed_function, finish_function): Likewise.
+
+ * name-lookup.c (pushdecl_maybe_friend): Likewise.
+ (pushdecl_maybe_friend): Likewise.
+
+ * parser.c (cp_parser_warn_min_max): Likewise.
+ (cp_parser_cast_expression): Likewise.
+
+ * method.c (lazily_declare_fn): Likewise.
+ * cvt.c (convert_to_void): Likewise.
+ * mangle.c (finish_mangling): Likewise.
+ * cp-gimplify.c (gimplify_expr_stmt): Likewise.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-03-03 18:16 ` pinskia at gcc dot gnu dot org
@ 2006-03-30 1:06 ` janis at gcc dot gnu dot org
2006-04-13 6:42 ` lmillward at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-03-30 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from janis at gcc dot gnu dot org 2006-03-30 01:06 -------
The patch that Lee checked in removed checks for extra_warnings before the
calls to warnings with OPT_Wextra in typeck.c and class.c. If those checks are
restored then the five test cases listed in this PR and in 26115 pass. There's
still a bug that Lee's code exposed, but putting the conditions back will let
the tests pass again. Sorry, I don't have a fully-tested patch and am about to
be out of touch for over a week.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-03-30 1:06 ` janis at gcc dot gnu dot org
@ 2006-04-13 6:42 ` lmillward at gcc dot gnu dot org
2006-04-17 19:36 ` janis at gcc dot gnu dot org
2006-04-19 21:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2006-04-13 6:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from lmillward at gcc dot gnu dot org 2006-04-13 06:42 -------
Removing those conditionals was meant to be submitted in a follow up to the
patch i originally posted as suggested by Andrew Pinski. They must have gotten
mixed in accidentally when I committed to OPT_Wxx cleanup patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-04-13 6:42 ` lmillward at gcc dot gnu dot org
@ 2006-04-17 19:36 ` janis at gcc dot gnu dot org
2006-04-19 21:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-04-17 19:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from janis at gcc dot gnu dot org 2006-04-17 19:36 -------
Subject: Bug 26114
Author: janis
Date: Mon Apr 17 19:35:56 2006
New Revision: 113010
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113010
Log:
PR c++/26114, c++/26115
* typeck.c (cxx_mark_addressable): Restore check for extra_warnings.
* class.c (check_field_decls): Ditto.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/typeck.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
` (9 preceding siblings ...)
2006-04-17 19:36 ` janis at gcc dot gnu dot org
@ 2006-04-19 21:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-19 21:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-04-19 21:57 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-04-19 21:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-06 5:20 [Bug c++/26114] New: [4.2 Regression] g++.dg/init/ctor4.C fails pinskia at gcc dot gnu dot org
2006-02-06 5:20 ` [Bug c++/26114] " pinskia at gcc dot gnu dot org
2006-02-06 5:41 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C fails pinskia at gcc dot gnu dot org
2006-02-06 5:48 ` [Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails pinskia at gcc dot gnu dot org
2006-02-06 11:50 ` hp at gcc dot gnu dot org
2006-02-06 15:02 ` pinskia at gcc dot gnu dot org
2006-02-12 20:45 ` jsm28 at gcc dot gnu dot org
2006-03-03 18:16 ` pinskia at gcc dot gnu dot org
2006-03-30 1:06 ` janis at gcc dot gnu dot org
2006-04-13 6:42 ` lmillward at gcc dot gnu dot org
2006-04-17 19:36 ` janis at gcc dot gnu dot org
2006-04-19 21:57 ` 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).