Bug 38491 - excessive note generation
Summary: excessive note generation
Status: RESOLVED DUPLICATE of bug 38445
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2008-12-11 21:29 UTC by David Binderman
Modified: 2008-12-12 10:06 UTC (History)
4 users (show)

See Also:
Host: suse-linux-x86_64
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
C source code (15.57 KB, text/plain)
2008-12-11 21:30 UTC, David Binderman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2008-12-11 21:29:05 UTC
I just tried to compile the package geotiff-1.2.5-0.pm.1
with the GNU C++ compiler version 4.4 snapshot 20081205.

The compiler appears to get into a long or possibly infinite loop.

gcc -c -fstack-protector -Wall -fPIC -DCSV_DATA_DIR=\"/usr/share/epsg_csv\" -I. -I.    ./geo_print.c./geo_print.c: In function 'GTIFImport':
./geo_print.c:492: warning: dereferencing pointer 'sptr' does break strict-aliasing rules
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here
./geo_print.c:481: note: initialized from here

and so on for at least 16 million lines.

Preprocessed source code attached. Flags -c -O2 -Wall required.
Comment 1 David Binderman 2008-12-11 21:30:17 UTC
Created attachment 16890 [details]
C source code
Comment 2 Richard Biener 2008-12-12 10:06:13 UTC

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