* [Bug c++/20721] [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
@ 2005-04-01 19:22 ` nefercheprure at gmail dot com
2005-04-01 19:27 ` nefercheprure at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: nefercheprure at gmail dot com @ 2005-04-01 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nefercheprure at gmail dot com 2005-04-01 19:22 -------
Created an attachment (id=8509)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8509&action=view)
the preprocessed file that demonstrates the regression
g++ -v -c logger.cc produces this message:
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--with-system-zlib --disable-checking --disable-werror
--disable-libunwind-exceptions --enable-shared --enable-threads=posix
--disable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
/usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1plus -quiet -v -D_GNU_SOURCE
logger.cc -mno-sse2 -quiet-dumpbase logger.cc -mtune=pentiumpro -auxbase logger
-version -o /tmp/cc6VhQ7m.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/i686-pc-linux-gnu
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/backward
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include
/usr/include
End of search list.
GNU C++ version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
(i686-pc-linux-gnu)
compiled by GNU C version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0,
pie-8.7.6.6).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63198
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as -V
-Qy -o logger.o /tmp/cc6VhQ7m.s
GNU assembler version 2.15.90.0.1.1 (i686-pc-linux-gnu) using BFD version
2.15.90.0.1.1 20040303
it should report crossing of initialization of certain bool variables
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
2005-04-01 19:22 ` [Bug c++/20721] " nefercheprure at gmail dot com
@ 2005-04-01 19:27 ` nefercheprure at gmail dot com
2005-04-01 19:42 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: nefercheprure at gmail dot com @ 2005-04-01 19:27 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Known to fail| |3.4.3
Known to work| |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
2005-04-01 19:22 ` [Bug c++/20721] " nefercheprure at gmail dot com
2005-04-01 19:27 ` nefercheprure at gmail dot com
@ 2005-04-01 19:42 ` pinskia at gcc dot gnu dot org
2005-04-01 21:57 ` [Bug c++/20721] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-01 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-01 19:42 -------
There is at least an ICE on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid |
Known to fail|3.4.3 |
Known to work|3.4.2 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
` (2 preceding siblings ...)
2005-04-01 19:42 ` pinskia at gcc dot gnu dot org
@ 2005-04-01 21:57 ` pinskia at gcc dot gnu dot org
2005-04-01 21:57 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-01 21:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-01 21:57 -------
Reduced testcase for the accepts invalid, I will then reduce the ICE on the mainline soon (note you have
some other invalid code in there):
bool f();
void g(int i)
{
if (i) goto bad;
bool a = f();
bad:
;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |3.4.3 4.0.0
Known to work| |3.4.0 3.4.2
Last reconfirmed|0000-00-00 00:00:00 |2005-04-01 21:57:11
date| |
Summary|[regression from 3.4.2 to |[3.4/4.0/4.1 Regression]
|3.4.3] crossing of a |crossing of a initialization
|initialization left |left undetected on goto
|undetected on goto |
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
` (3 preceding siblings ...)
2005-04-01 21:57 ` [Bug c++/20721] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-04-01 21:57 ` pinskia at gcc dot gnu dot org
2005-05-19 17:44 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-01 21:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-01 21:57 -------
: Search converges between 2004-10-26-161001-trunk (#611) and 2004-11-03-014001-trunk
(#612).
: Search converges between 2004-10-28-004002-3.4 (#106) and 2004-11-01-004001-3.4 (#107).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
` (4 preceding siblings ...)
2005-04-01 21:57 ` pinskia at gcc dot gnu dot org
@ 2005-05-19 17:44 ` mmitchel at gcc dot gnu dot org
2005-07-22 21:17 ` pinskia at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
7 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
` (5 preceding siblings ...)
2005-05-19 17:44 ` mmitchel at gcc dot gnu dot org
@ 2005-07-22 21:17 ` pinskia at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
7 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.5 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto
2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] crossing of a initialization left undetected on goto nefercheprure at gmail dot com
` (6 preceding siblings ...)
2005-07-22 21:17 ` pinskia at gcc dot gnu dot org
@ 2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
7 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:21 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=20721
^ permalink raw reply [flat|nested] 12+ messages in thread