This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug web/49109] New: bugzilla's patch viewer sometimes hides file headers
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 May 2011 15:30:53 +0000
- Subject: [Bug web/49109] New: bugzilla's patch viewer sometimes hides file headers
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49109
Summary: bugzilla's patch viewer sometimes hides file headers
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikpe@it.uu.se
When a PR entry links to a patch, then depending on which link to that patch
you follow, the view you get may or may include all relevant file headers.
Test case:
1. Point your browser to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743#c3.
2. Click on the "attachment 24233" link
(http://gcc.gnu.org/bugzilla/attachment.cgi?id=24233&action=diff).
3. Notice how the side-by-side view lists 4 diff hunks but only one file header
(cpuid.h).
4. Now click on the "Raw Unified" link near the top of the page
(http://gcc.gnu.org/bugzilla/attachment.cgi?id=24233&action=diff&context=patch&collapsed=&headers=1&format=raw).
5. Again notice that there are 4 hunks but only one file header.
6. Go back to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48743.
7. Clink on the "Proposed patch" link in the 4th entry in the Attachments list
(http://gcc.gnu.org/bugzilla/attachment.cgi?id=24233).
8. Notice how a file header for driver-i386.c now appears between the 1st and
2nd diff hunks.
The bug is that the driver-i386.c file header is omitted from the views seen in
steps 3 and 5.